random number generation of zero-inflated count response
rzi(n, x, z, a, b, theta=1, family=c("poisson", "negbin", "geometric"), infl=TRUE)
numeric vector of zero-inflated count response
sample size of random number generation
design matrix of count model
design matrix of zero model
coefficient vector for x
, length must be the same as column size of x
coefficient vector for z
, length must be the same as column size of z
dispersion parameter for family="negbin"
distribution of count model
logical value, if TRUE, zero-inflated count response
Zhu Wang <zwang145@uthsc.edu>
random number generation of zero-inflated count response
Zhu Wang, Shuangge Ma, Ching-Yun Wang, Michael Zappitelli, Prasad Devarajan and Chirag R. Parikh (2014) EM for Regularized Zero Inflated Regression Models with Applications to Postoperative Morbidity after Cardiac Surgery in Children, Statistics in Medicine. 33(29):5192-208.
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.