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-Python-Coding)
+--- Forum: Data Science (https://python-forum.io/Forum-Data-Science)
+--- Thread: How to get the probability density function of my data set (/Thread-How-to-get-the-probability-density-function-of-my-data-set)



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