powered by
The maximum likelihood estimate of shapelog and ratelog are calculated by calling mlgamma() on the transformed data.
shapelog
ratelog
mlgamma()
mllgamma(x, na.rm = FALSE, ...)
mllgamma returns an object of class
mllgamma
univariateML. This is a named numeric vector with maximum likelihood estimates for shapelog and ratelog and the following attributes:
univariateML
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
match.call
a (non-empty) numeric vector of data values.
logical. Should missing values be removed?
passed to mlgamma.
mlgamma
For the density function of the log normal distribution see Loggamma.
Hogg, R. V. and Klugman, S. A. (1984), Loss Distributions, Wiley.
Dutang, C., Goulet, V., & Pigeon, M. (2008). actuar: An R package for actuarial science. Journal of Statistical Software, 25(7), 1-37.
Loggamma for the log normal density.
mllgamma(precip)
Run the code above in your browser using DataLab