Prev: Data Mining
Next: helpp
From: Meriam jabloun on
Hi,

I would like to simulate a truncated pareto distribution where the parameters are :

mean=6;
max=12.5;
shape=1.2;
scale=2.5;
location = tp_scale;

for the generation of random values, I use gprnd function

random_pareto = gprnd(tp_shape,tp_scale,tp_location);

But I didn't know how to use the mean and max to generate a truncated pareto values.

Need help,

Thank you.
 | 
Pages: 1
Prev: Data Mining
Next: helpp