Python Forum
How to get the probability density function of my data set
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to get the probability density function of my data set
#1
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
Reply
#2
the source code is available here: https://github.com/matplotlib/matplotlib
the documentation is very good and may answer your question
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  inserting something into probability density SchroedingersLion 1 2,064 Jan-06-2020, 09:15 AM
Last Post: Gribouillis
  Get underlying function from Kernel Density Estimation jpython 3 2,761 Dec-05-2019, 11:23 AM
Last Post: jpython
  finding the integral of probability density function Staph 3 3,595 Aug-11-2019, 09:19 AM
Last Post: buran
  MatPlotLib 2d plot of current density? ruben 0 2,171 May-13-2019, 06:47 AM
Last Post: ruben
  How to check for nested dataframe density? python_newbie09 0 1,958 Aug-27-2018, 07:34 PM
Last Post: python_newbie09
  Draw Weibull distribution probability function based on Confidence interval farzadtb 1 3,668 Jul-31-2018, 03:21 PM
Last Post: Vysero
  Plot Probability Density of an Histogram Python_TLS 1 2,853 Jun-28-2018, 06:19 AM
Last Post: scidam

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020