Python Forum
How to get the probability density function of my data set - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: Data Science (https://python-forum.io/forum-44.html)
+--- Thread: How to get the probability density function of my data set (/thread-22944.html)



How to get the probability density function of my data set - jpython - Dec-04-2019

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


RE: How to get the probability density function of my data set - Larz60+ - Dec-04-2019

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