Uses Newton-Raphson to estimate the parameters of the Lomax distribution.
mllomax(x, na.rm = FALSE, ...)
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:
model
The name of the model.
density
The density associated with the estimates.
logLik
The loglikelihood at the maximum.
support
The support of the density.
n
The number of observations.
call
The call as captured my match.call
a (non-empty) numeric vector of data values.
logical. Should missing values be removed?
lambda0
an optional starting value for the lambda
parameter.
Defaults to median(x)
. rel.tol
is the relative accuracy requested,
defaults to .Machine$double.eps^0.25
. iterlim
is a positive integer
specifying the maximum number of iterations to be performed before the
program is terminated (defaults to 100
).
For the density function of the Lomax distribution see
Lomax. The maximum likelihood estimate will frequently
fail to exist. This is due to the parameterization of the function which
does not take into account that the density converges to an exponential
along certain values of the parameters, see
vignette("Distribution Details", package = "univariateML")
.
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
Lomax for the Lomax density.
set.seed(3)
mllomax(extraDistr::rlomax(100, 2, 4))
Run the code above in your browser using DataLab