Learn R Programming

WLinfer (version 1.2.0)

MLE_WL: MLE in weighed Lindley distribution

Description

MLE_WL returns maximum likelihood estimates of parameters. First, the estimate of phi is obtained from one dimensional non linear equation. Then, by plugging in the estimated phi, the estimate of lambda is easily obtained.

Usage

MLE_WL(y, init)

Value

A numeric vector of MLE for lambda and phi.

Arguments

y

a numeric vector of observations.

init

a initial value for estimate phi.

Details

These functions implement formulas given in Hyoung-Moon Kim. et al. (2020).

References

Hyoung-Moon Kim. and Yu-Hyeong Jang. (2020). New Closed-Form Estimators for Weighted Lindley Distribution. , submitted.

Examples

Run this code
data <- fail_fiber
mme <- MME_WL(data)
modified_mme <- MMEm_WL(data)
mle <- MLE_WL(data, mme[2])
mlec <- MLEc_WL(data)

rbind(mme, modified_mme, mle, mlec)

Run the code above in your browser using DataLab