[SciPy-User] sample from kernel density estimate

Alan G Isaac aisaac at american.edu
Tue Feb 2 10:23:10 EST 2010


I have a kernel density estimate from scipy.stats.gaussian_kde.
What's the best way to sample from it?  (Not from the underlying data.)

Thanks,
Alan Isaac



More information about the SciPy-User mailing list