These are the currently implemented distributions.
Name | univariateML function | Package | Parameters | Support |
---|---|---|---|---|
Cauchy distribution | mlcauchy |
stats |
location ,scale
|
R |
Gumbel distribution | mlgumbel |
extraDistr |
mu , sigma
|
R |
Laplace distribution | mllaplace |
extraDistr |
mu , sigma
|
R |
Logistic distribution | mllogis |
stats |
location ,scale
|
R |
Normal distribution | mlnorm |
stats |
mean , sd
|
R |
Beta prime distribution | mlbetapr |
extraDistr |
shape1 , shape2
|
(0,∞) |
Exponential distribution | mlexp |
stats | rate |
[0,∞) |
Gamma distribution | mlgamma |
stats |
shape ,rate
|
(0,∞) |
Inverse gamma distribution | mlinvgamma |
extraDistr |
alpha , beta
|
(0,∞) |
Inverse Gaussian distribution | mlinvgauss |
actuar |
mean , shape
|
(0,∞) |
Inverse Weibull distribution | mlinvweibull |
actuar |
shape , rate
|
(0,∞) |
Log-logistic distribution | mlllogis |
actuar |
shape , rate
|
(0,∞) |
Log-normal distribution | mllnorm |
stats |
meanlog , sdlog
|
(0,∞) |
Lomax distribution | mllomax |
extraDistr |
lambda , kappa
|
[0,∞) |
Rayleigh distribution | mlrayleigh |
extraDistr | sigma |
[0,∞) |
Weibull distribution | mlweibull |
stats |
shape ,scale
|
(0,∞) |
Log-gamma distribution | mllgamma |
actuar |
shapelog , ratelog
|
(1,∞) |
Pareto distribution | mlpareto |
extraDistr |
a , b
|
[b,∞) |
Beta distribution | mlbeta |
stats |
shape1 ,shape2
|
(0,1) |
Kumaraswamy distribution | mlkumar |
extraDistr |
a , b
|
(0,1) |
Logit-normal | mllogitnorm |
logitnorm |
mu , sigma
|
(0,1) |
Uniform distribution | mlunif |
stats |
min , max
|
[min,max] |
Power distribution | mlpower |
extraDistr |
alpha , beta
|
[0,a) |
This package follows a naming convention for the ml***
functions. To access the documentation of the distribution associated with an ml***
function, write package::d***
. For instance, to find the documentation for the log-gamma distribution write
The maximum likelihood estimator of the Lomax distribution frequently fails to exist. For assume κ→λ−1¯x−1 and λ→0. The density λκ(1+λx)−(κ+1) is approximately equal to λκ(1+λx)−(λ−1¯x−1+1) when λ is small enough. Since λκ(1+λx)−(λ−1¯x−1+1)→¯x−1e−¯x−1x, the density converges to an exponential density.
eps = 0.1
x = seq(0, 3, length.out = 100)
plot(dexp, 0, 3, xlab = "x", ylab = "Density", main = "Exponential and Lomax")
lines(x, extraDistr::dlomax(x, lambda = eps, kappa = 1/eps), col = "red")