Re: PERT fit with curve_fit function

Robert Kern <[email protected]>
Newsgroups gmane.comp.python.scientific.devel
Message-ID <CAF6FJitz8aN9MTONvtAmGV6jcpMMJsX537nD=X7mNmBzYD6_Ew@mail.gmail.com>
On Tue, Dec 20, 2022 at 3:28 AM Kevin Sheppard <[email protected]>
wrote:

> If you want a fast method, you should consider a method of moments
> estimator.  You could use the mean, variance, and skewness of your data to
> exactly identify the parameters of the model.  These would lead to
> consistent estimates assuming that the model was correctly specified,
> although it will likely differ from maximum likelihood estimates when it is
> not.
>

I think you'll just run into the same problem.

https://en.wikipedia.org/wiki/Beta_distribution#Four_unknown_parameters

Consider data from a normal distribution which will have roughly 0 skewness
and 0 excess kurtosis. The formula for `alpha + beta` will basically divide
by 0 or otherwise create very large `alpha+beta` values, which was the
problem with the MLE fit.

-- 
Robert Kern

_______________________________________________
SciPy-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/scipy-dev.python.org/
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.