Firth_WL: Firth's method for bias correction of estimators

View source: R/WL.R

Firth_WLR Documentation

Firth's method for bias correction of estimators

Description

Firth's method is bias correction option included in WL. Firth_WL and Firth_WL_log provides the bias corrected lambda and phi based on Firth's method.

Usage

Firth_WL(y, init)

Firth_WL_log(y, init)

Arguments

y

a numeric vector.

init

a vector of initial values for iterative algorithm designed to solve the modified likelihood equations.

Details

Firth_WL and Firth_WL_log returns a vector of estimates of parameters corrected by Firth's method which uses the modified likelihood equations. In case of weighted Lindley distribution, two non-linear equations should be solved since the solutions are not in closed form. To this end, R package nleqslv is used. To avoid poor local maxima, other estimators like MMEm or MLEc are recommended to be used as initial values.

Value

A vector of corrected estimators lambda and phi.

Background

Non-linear equations to be solved are derived in Kim and Jang (2020).

References

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

Examples

data <- fail_fiber
Firth_WL(data,MMEm_WL(data))
Firth_WL_log(data,MMEm_WL(data))


WLinfer documentation built on Sept. 2, 2022, 9:06 a.m.

Related to Firth_WL in WLinfer...