Python Forum

Full Version: How to get the probability density function of my data set
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

This is my first post here so please be kind to me Smile

I have a data set that is a time-series of stock returns. I am able to plot the probability density function (PDF) using a library such as Matplotlib, however what I really want is the underlying function/formula.

Is this possible to get somehow? Surely the plot has used some kind of formula and I just want to see what that formula looks like.

Best regards,
jpython
the source code is available here: https://github.com/matplotlib/matplotlib
the documentation is very good and may answer your question