Uses Newton-Raphson to estimate the parameters of the Lomax distribution.
Arguments
- x
a (non-empty) numeric vector of data values.
- na.rm
logical. Should missing values be removed?
- ...
lambda0an optional starting value for thelambdaparameter.reltolis the relative accuracy requested, defaults to.Machine$double.eps^0.25.iterlimis a positive integer specifying the maximum number of iterations to be performed before the program is terminated (defaults to100).
Value
mllomax returns an object of class univariateML.
This is a named numeric vector with maximum likelihood estimates for
lambda and kappa 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
Details
For the density function of the Lomax distribution see Lomax.
The likelihood estimator of the Lomax distribution is unbounded when mean(x^2) < 2*mean(x)^2. When this
happens, the likelihood converges to an exponential distribution with parameter
equal to the mean of the data. This is the natural limiting case for the Lomax
distribution, and it is reasonable to use mlexp in this case.
References
Kleiber, Christian; Kotz, Samuel (2003), Statistical Size Distributions in Economics and Actuarial Sciences, Wiley Series in Probability and Statistics, 470, John Wiley & Sons, p. 60
See also
Lomax for the Lomax density.
