On 10 Mai, 16:36, "Yufeng " <
kthyuf...@gmail.com> wrote:
> Hello Meriam,
>
> I also have the same question as yours. I wonder have you got a solution on how to generate random numbers according to the tracated pareto distribution with your parameters?
>
> Please let me know. Thank you.
>
>
>
> "Meriam jabloun" wrote in message <hq7hu1$
sj...@fred.mathworks.com>...
> > 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.- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
Under
http://en.wikipedia.org/wiki/Pareto_distribution
take a look at the paragraph
Bounded pareto distribution / Generating bounded pareto random
variables.
Best wishes
Torsten.