[R] Fitting Beta Distribution

peter dalgaard pdalgd at gmail.com
Fri Dec 22 18:00:12 CET 2017


Stop right there and rethink! The normalization factor depends on the parameter that you are maximizing over.

-pd

> On 21 Dec 2017, at 11:29 , Lorenzo Isella <lorenzo.isella at gmail.com> wrote:
> 
> In the code, dbeta1 is the density of the beta distribution for
> shape1=shape2=shape.
> In the code, dbeta2 is the same quantity written explicitly, without the
> normalization factor (which should not matter at all if we talk about
> maximizing a quantity).
> 

-- 
Peter Dalgaard, Professor,
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Office: A 4.23
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list