breadReg | R Documentation |
Generic function for extracting an estimator for the bread of sandwiches.
breadReg(x, which, ...)
x |
a fitted model object. |
which |
which penalty parameter(s)? |
... |
arguments passed to methods. |
A matrix containing an estimator for the penalized second derivative of log-likelihood function.
Typically, this should be an k x k matrix corresponding
to k parameters. The rows and columns should be named
as in coef
or terms
, respectively.
Zhu Wang <wangz1@uthscsa.edu>
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.
meatReg
, sandwichReg
data("bioChemists", package = "pscl") fm_zinb <- zipath(art ~ . | ., data = bioChemists, family = "negbin", nlambda=10, maxit.em=1) breadReg(fm_zinb, which=which.min(fm_zinb$bic))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.