mllomax | R Documentation |
Uses Newton-Raphson to estimate the parameters of the Lomax distribution.
mllomax(x, na.rm = FALSE, ...)
x |
a (non-empty) numeric vector of data values. |
na.rm |
logical. Should missing values be removed? |
... |
|
For the density function of the Lomax distribution see Lomax.
The likelihood estimator of the Lomax distribution may be unbounded. 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. See
vignette("Distribution Details", package = "univariateML")
for details.
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 |
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))
# The maximum likelihood estimator may fail if the data is exponential.
## Not run:
set.seed(5)
mllomax(rexp(10))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.