##### How to get the probability density function of my data set
 How to get the probability density function of my data set jpython Unladen Swallow Posts: 4 Threads: 2 Joined: Dec 2019 Reputation: 0 Dec-04-2019, 08:45 AM Hi, This is my first post here so please be kind to me 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 Larz60+ aetate et sapientia Posts: 9,613 Threads: 357 Joined: Sep 2016 Reputation: 416 Dec-04-2019, 12:49 PM 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 518 Jan-06-2020, 09:15 AM Last Post: Gribouillis Get underlying function from Kernel Density Estimation jpython 3 634 Dec-05-2019, 11:23 AM Last Post: jpython finding the integral of probability density function Staph 3 728 Aug-11-2019, 09:19 AM Last Post: buran MatPlotLib 2d plot of current density? ruben 0 568 May-13-2019, 06:47 AM Last Post: ruben How to check for nested dataframe density? python_newbie09 0 735 Aug-27-2018, 07:34 PM Last Post: python_newbie09 Draw Weibull distribution probability function based on Confidence interval farzadtb 1 1,514 Jul-31-2018, 03:21 PM Last Post: Vysero Plot Probability Density of an Histogram Python_TLS 1 997 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