Rfast (version 1.7.3)

MLE of the Beta distribution: MLE of the Beta distribution

Description

MLE of the Beta distribution.

Usage

beta.mle(x, tol = 1e-09)

Arguments

x
A numerical vector with proportions, i.e. numbers in (0, 1) (zeros and ones are not allowed).
tol
The tolerance level up to which the maximisation stops.

Value

A list including: A list including:

Details

Maximum likelihood estimation of the parameters of the beta distribution is performed via Newton-Raphson. The distribution and hence the function does not accept zeros.

See Also

diri.nr2,

Examples

Run this code
x <- rbeta(1000, 1, 4)
system.time( for(i in 1:1000) beta.mle(x) )
beta.mle(x)

Run the code above in your browser using DataLab