Learn R Programming

mpath (version 0.4-2.26)

meatReg: Meat Matrix Estimator

Description

Estimating the variance of the first derivative of log-likelihood function

Usage

meatReg(x, which, ...)

Value

A $$k \times k$$ covariance matrix of first derivative of log-likelihood function

Arguments

x

a fitted model object. Currently only implemented for zipath object with family="negbin"

which

which penalty parameter(s)?

...

arguments passed to the estfunReg function.

Author

Zhu Wang <zwang145@uthsc.edu>

Details

See reference below

References

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.

See Also

sandwichReg, breadReg, estfunReg

Examples

Run this code
data("bioChemists", package = "pscl")
fm_zinb <- zipath(art ~ . | ., data = bioChemists, family = "negbin", nlambda=10, maxit.em=1)
meatReg(fm_zinb, which=which.min(fm_zinb$bic))

Run the code above in your browser using DataLab