简体   繁体   中英

Is there a Python equivalent to MATLAB's pearsrnd function?

I would like to generate random numbers with a given mean, variance, skewness, and kurtosis from the Pearson system. I can do this in MATLAB using "pearsrnd" -- does scipy, statsmodels, or any other package have a similar function?

Thanks in advance.

In the new version ( scipy >0.12.0 ), there is one: scipy.stats.pearson3 . http://docs.scipy.org/doc/scipy-0.13.0/reference/generated/scipy.stats.pearson3.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM