powered by
Generic function for computing standard errors of non-zero regularized estimators
se(x, which, log=TRUE, ...)
A vector containing standard errors of non-zero regularized estimators.
a fitted model object.
which penalty parameter(s)?
if TRUE, the computed standard error is for log(theta) for negative binomial regression, otherwise, for theta.
arguments passed to methods.
Zhu Wang <[email protected]>
Zhu Wang, Shuangge Ma and Ching-Yun Wang (2015) Variable selection for zero-inflated and overdispersed data with application to health care demand in Germany, Biometrical Journal. 57(5):867-84.
zipath
data("bioChemists", package = "pscl") fm_zinb <- zipath(art ~ . | ., data = bioChemists, family = "negbin", nlambda=10, maxit.em=1) res <- se(fm_zinb, which=which.min(fm_zinb$bic))
Run the code above in your browser using DataLab