[prev in list] [next in list] [prev in thread] [next in thread] 

List:       r-help
Subject:    Re: [R] Fitting Beta Distribution
From:       peter dalgaard <pdalgd () gmail ! com>
Date:       2017-12-22 17:00:12
Message-ID: AF4B9A5C-069F-47DA-8722-6AB3BB295D26 () gmail ! com
[Download RAW message or body]

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@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@cbs.dk  Priv: PDalgd@gmail.com

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic