Curve fitting of summed normal distributions

AI Thread Summary
The discussion focuses on fitting a dataset to a sum of normal distributions, specifically seeking robust methods to determine the parameters of these distributions. The user clarifies that this is not about convolution but rather maximizing a specific equation involving the parameters of the normal distributions. They mention a software tool, PeakFit, which may be relevant for this analysis and inquire about the methods it uses, suspecting Expectation-Maximization (EM) could be applicable. A paper addressing this problem using EM is also referenced as a potential resource. The goal is to accurately estimate the model parameters, including means, variances, and probabilities.
exmachina
Messages
42
Reaction score
0
Hi,

I have a dataset of a random variable whose probability density function can be fitted/modelled as a sum of N probability density functions of normal distributions:

<br /> F_X(x) = p(\mu_1,\sigma_1^2)+p(\mu_2,\sigma_2^2)+\ldots+p({\mu}_x,\sigma_x^2)<br />

I am interested in a fitting method can robustly determine the values of \mu_1,\sigma_1,\mu_2,\sigma_2, etc

Note this is NOT convolution of normal distributions.
 
Last edited:
Mathematics news on Phys.org
These folks have put a lot of time and thought into your problem

http://www.sigmaplot.com/products/peakfit/peakfit.php

and they have free 30 day trial evaluations.
 
Last edited by a moderator:
Interesting, any idea what method they use? Expectation-Maximization?
 
Edit: I guess in particular, this is the equation I'm trying to maximize, given an input vector:<br /> X = (x_1,x_2,...,x_n)<br />

Maximize:

<br /> \begin{equation}<br /> \prod_{j=1}^n\sum_{i=1}^k \frac{p_i}{\sqrt{2\pi} \sigma_i} \exp(-\frac{(x_j-\mu_i)^2}{2\sigma_i^2})<br /> <br /> Edit: I found a nice paper tackling this exact problem using EM.<br /> \end{equation}<br />

Subject to \sum_{i=1}^{k} p_i = 1

When I say maximize, I mean to find the model parameters \mu_i, \sigma_i, p_i
 
Last edited:
Thread 'Video on imaginary numbers and some queries'
Hi, I was watching the following video. I found some points confusing. Could you please help me to understand the gaps? Thanks, in advance! Question 1: Around 4:22, the video says the following. So for those mathematicians, negative numbers didn't exist. You could subtract, that is find the difference between two positive quantities, but you couldn't have a negative answer or negative coefficients. Mathematicians were so averse to negative numbers that there was no single quadratic...
Insights auto threads is broken atm, so I'm manually creating these for new Insight articles. In Dirac’s Principles of Quantum Mechanics published in 1930 he introduced a “convenient notation” he referred to as a “delta function” which he treated as a continuum analog to the discrete Kronecker delta. The Kronecker delta is simply the indexed components of the identity operator in matrix algebra Source: https://www.physicsforums.com/insights/what-exactly-is-diracs-delta-function/ by...
Thread 'Unit Circle Double Angle Derivations'
Here I made a terrible mistake of assuming this to be an equilateral triangle and set 2sinx=1 => x=pi/6. Although this did derive the double angle formulas it also led into a terrible mess trying to find all the combinations of sides. I must have been tired and just assumed 6x=180 and 2sinx=1. By that time, I was so mindset that I nearly scolded a person for even saying 90-x. I wonder if this is a case of biased observation that seeks to dis credit me like Jesus of Nazareth since in reality...
Back
Top