mlbeta: Estimates the parameter of the Beta distribution using...

Description Usage Arguments Details Value

View source: R/builtin_starts_estimation.R

Description

Uses stat::nlm to estimate the parameters of the Beta distribution.

Usage

1
mlbeta(x, start = NULL, type = c("none", "gradient", "hessian"))

Arguments

x

The data from which the estimate is to be computed.

start

Optional starting parameter values for the minimization. Passed to the stats::nlm function.

type

Whether a dedicated gradient or hessian should be passed to stats::nlm.

Details

For type, the option none is fastest.

Value

A named numeric vector with maximum likelihood estimates for shape1 and shap2.


JonasMoss/kdensity documentation built on March 20, 2018, 12:10 a.m.