I have gotten a result from fitting my data using(scipy.stats.rv_continuous.fit):
'exponweib': (10.92, 0.64,-0.91,2.816)
'genextreme': (-0.194, 10.92, 7.01),
'beta': (0.72,65.760,1.01999,862.270)
I want to sample from each distribution after creating it using these parameters using python. How do I do that?
Unpack the tuple into the rvs method, like so: stats.beta.rvs(*mle_tuple, size=10)
and so on
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.