Creating datasets

How to create datasets of longitudinal cohort studies.

make_data

Create simulated datasets.

Checking presence of bias

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

Checking effect of improving diagnostic tests

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.