zigamma.mle: MLE of the zero inflated Gamma and Weibull distributions

View source: R/univariate.mle.R View source: R/univariate.mle.R

MLE of the zero inflated Gamma and Weibull distributionsR Documentation

MLE of the zero inflated Gamma and Weibull distributions

Description

MLE of the zero inflated Gamma and Weibull distributions.

Usage

zigamma.mle(x, tol = 1e-07)
ziweibull.mle(x, tol = 1e-07)

Arguments

x

A numerical vector with positive data and zeros.

tol

The tolerance value to terminate the Newton-Raphson algorithm.

Details

MLE of some zero inflated models is performed.

Value

A list including:

iters

The iterations required by the Newton-Raphson to estimate the parameters of the distribution for the non zero data.

loglik

The full log-likelihood of the model.

param

The parameters of the model.

Author(s)

Michail Tsagris.

R implementation and documentation: Michail Tsagris mtsagris@uoc.gr.

References

Sandra Taylor and Katherine Pollard (2009). Hypothesis Tests for Point-Mass Mixture Data with Application to Omics Data with Many Zero Values. Statistical Applications in Geneticsand Molecular Biology, 8(1): 1–43.

Kalimuthu Krishnamoorthy, Meesook Lee and Wang Xiao (2015). Likelihood ratio tests for comparing several gamma distributions. Environmetrics, 26(8):571-583.

See Also

zigamma.reg, gammapois.mle

Examples

x <- rgamma(200, 4, 1)
x[sample(1:200, 20)] <- 0
zigamma.mle(x)

Rfast2 documentation built on Aug. 8, 2023, 1:11 a.m.