2021-07-20
Data and code for reproducing the results in the article of "Zero-Inflated Poisson Models with Measurement Error in Response" by Qihuang Zhang and Grace Y. Yi.
Before implementing the code, R package GeneErrorMis is needed to be installed:
# install devtools if necessary
install.packages('devtools')
# install the GeneErrorMis package
devtools::install_github('QihuangZhang/GeneErrorMis')
# load
library(GeneErrorMis)
- Naive Method
- Section 6.1: Simulation 1
- Section 6.2: Simulation 2
- Section 6.3: Simulation 3
- Proposed Method
- External Validation: X_i is not available but W_i is available in validation data
- Internal Validation: Both X_i and W_i is available in validation data
Please cite the following publication:
*Zero‐inflated Poisson models with measurement error in the response. *
Zhang, Q. and Yi, G. Y. (2022)
Biometrics. https://doi.org/10.1111/biom.13657