Q: on scipy probplot user defined distribution function
Hello folks, How can one specify our own (user made) probability distribution function to scipy.stats.probplot ? Can it be done is the pdf used is not in a closed form function (meaning that the random drawings comes from a numerical procedure)? Salut, Sergio
Sergio, I haven't looked at scipy's probplot function in detail lately. But I think that as long as <dist>.pdf, .cdf, and .ppf work on arrays, you should be fine. [shameless plug warning] Here's an example of using different distributions with the mpl-probscale package: https://matplotlib.org/mpl-probscale/tutorial/closer_look_at_viz.html#using-... -Paul On Mon, Jul 2, 2018 at 11:40 AM Sergio Rojas <sergio_r@mail.com> wrote:
Hello folks,
How can one specify our own (user made) probability distribution function to scipy.stats.probplot ?
Can it be done is the pdf used is not in a closed form function (meaning that the random drawings comes from a numerical procedure)?
Salut,
Sergio _______________________________________________ SciPy-User mailing list SciPy-User@python.org https://mail.python.org/mailman/listinfo/scipy-user
participants (2)
-
Paul Hobson
-
Sergio Rojas