##### Get underlying function from Kernel Density Estimation
 Get underlying function from Kernel Density Estimation jpython Unladen Swallow Posts: 4 Threads: 2 Joined: Dec 2019 Reputation: 0 Dec-04-2019, 11:02 PM Hi everyone, There are several libraries that allow us to estimate a probability density function using Kerndel Density Estimation. My question is how I can see the estimated function, not as a plot but as a formula/equation. I hope you understand what I mean. Best regards, jpython Reply scidam Posts: 818 Threads: 1 Joined: Mar 2018 Reputation: 111 Dec-04-2019, 11:51 PM (This post was last modified: Dec-04-2019, 11:53 PM by scidam.) There is no simple representation of such formula. You are likely looking for a simple one. You can find explanation about kde-estimations at Wikipedia. So, kde-estimation is a function defined as a sequence of calculations (these calculations are hard to perform manually, but easy to do with help of the computer), it is a computational procedure. If you want to get a "convenient" formula as an estimation of pdf, you can look at parametric probability density estimations, e.g. fit a normal distribution, or fit a mixture of normal distributions (using mixture of known distributions might be very flexible, if you want to handle non-normally distributed data). Reply jpython Unladen Swallow Posts: 4 Threads: 2 Joined: Dec 2019 Reputation: 0 Dec-05-2019, 08:22 AM (Dec-04-2019, 11:51 PM)scidam Wrote: There is no simple representation of such formula. You are likely looking for a simple one. You can find explanation about kde-estimations at Wikipedia. So, kde-estimation is a function defined as a sequence of calculations (these calculations are hard to perform manually, but easy to do with help of the computer), it is a computational procedure. If you want to get a "convenient" formula as an estimation of pdf, you can look at parametric probability density estimations, e.g. fit a normal distribution, or fit a mixture of normal distributions (using mixture of known distributions might be very flexible, if you want to handle non-normally distributed data). Hi Scidam, I am able to use the methods you mentioned, but only to evaluate the the probability density function at a certain point. I woul like the formula in mathematical notation. Is this possible? Reply jpython Unladen Swallow Posts: 4 Threads: 2 Joined: Dec 2019 Reputation: 0 Dec-05-2019, 11:23 AM (Dec-05-2019, 08:22 AM)jpython Wrote: (Dec-04-2019, 11:51 PM)scidam Wrote: There is no simple representation of such formula. You are likely looking for a simple one. You can find explanation about kde-estimations at Wikipedia. So, kde-estimation is a function defined as a sequence of calculations (these calculations are hard to perform manually, but easy to do with help of the computer), it is a computational procedure. If you want to get a "convenient" formula as an estimation of pdf, you can look at parametric probability density estimations, e.g. fit a normal distribution, or fit a mixture of normal distributions (using mixture of known distributions might be very flexible, if you want to handle non-normally distributed data). Hi Scidam, I am able to use the methods you mentioned, but only to evaluate the the probability density function at a certain point. I woul like the formula in mathematical notation. Is this possible? My apologies, I did not read your post carefully. I did look briefly into parametric probability density estimations but again I was not able to print the underlying function it uses to do the estimation. Reply

 Possibly Related Threads… Thread Author Replies Views Last Post How do I create these Kernel functions in Python for Gaussian Process Regression? Shivam18 0 449 May-20-2020, 03:04 PM Last Post: Shivam18 inserting something into probability density SchroedingersLion 1 603 Jan-06-2020, 09:15 AM Last Post: Gribouillis How to get the probability density function of my data set jpython 1 575 Dec-04-2019, 12:49 PM Last Post: Larz60+ finding the integral of probability density function Staph 3 844 Aug-11-2019, 09:19 AM Last Post: buran MatPlotLib 2d plot of current density? ruben 0 643 May-13-2019, 06:47 AM Last Post: ruben How to check for nested dataframe density? python_newbie09 0 805 Aug-27-2018, 07:34 PM Last Post: python_newbie09 Plot Probability Density of an Histogram Python_TLS 1 1,098 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