Number generator from a power law distribution, given a mean, alpha and x range

2 visualizzazioni (ultimi 30 giorni)
Hi all,
I need to generate 300 numbers from a power law distribution with alpha 2.3 and mean 47, with lower bound 10, for a monte carlo simulation. I'd really appreciate any insights about how to do it.

Risposte (1)

Samatha Aleti
Samatha Aleti il 18 Lug 2019
Hi,
You can generate random numbers from power law distribution using the RANDRAW function which is in MATLAB File Exchange. Use ‘pareto’ (means power-law distribution) as distribution name. Here is the link to download and use the 'RANDRAW' Function

Categorie

Scopri di più su Probability Distributions and Hypothesis Tests in Help Center e File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by