Firth_WL | R Documentation |
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.
Firth_WL(y, init) Firth_WL_log(y, init)
y |
a numeric vector. |
init |
a vector of initial values for iterative algorithm designed to solve the modified likelihood equations. |
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.
A vector of corrected estimators lambda and phi.
Non-linear equations to be solved are derived in Kim and Jang (2020).
Hyoung-Moon Kim. and Yu-Hyeong Jang. (2020). New Closed-Form Estimators for Weighted Lindley Distribution. , submitted.
data <- fail_fiber Firth_WL(data,MMEm_WL(data)) Firth_WL_log(data,MMEm_WL(data))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.