How to create datasets of longitudinal cohort studies.
make_data
Create simulated datasets.
check_bias
Fit Bayesian 3-level logistic model to assess bias of measure of association.
check_incidence
Fit Bayesian 3-level Poisson model to assess bias of measure of incidence
sample_stgy
Fit Bayesian 3-level logistic model to evaluate sampling strategies to correct for presence of bias of measure of association.
sample_incidence
Fit Bayesian 3-level Poisson model to evaluate sampling strategies to correct bias of incidence evaluation.