Uses Newton-Raphson to estimate the parameters of the Kumaraswamy distribution.
mlkumar(x, na.rm = FALSE, a0 = 1, rel.tol = .Machine$double.eps^0.25, iterlim = 100)
| x | a (non-empty) numeric vector of data values. |
|---|---|
| na.rm | logical. Should missing values be removed? |
| a0 | An optional starting value for the |
| rel.tol | Relative accuracy requested. |
| iterlim | A positive integer specifying the maximum number of iterations to be performed before the program is terminated. |
mlkumar returns an object of class univariateML. This
is a named numeric vector with maximum likelihood estimates for a and b and the following attributes:
modelThe name of the model.
densityThe density associated with the estimates.
logLikThe loglikelihood at the maximum.
supportThe support of the density.
nThe number of observations.
callThe call as captured my match.call
For the density function of the Kumaraswamy distribution see Kumaraswamy.
Jones, M. C. "Kumaraswamy's distribution: A beta-type distribution with some tractability advantages." Statistical Methodology 6.1 (2009): 70-81.
Kumaraswamy, Ponnambalam. "A generalized probability density function for double-bounded random processes." Journal of Hydrology 46.1-2 (1980): 79-88.
Kumaraswamy for the Kumaraswamy density.
#> [1] -96.06926