resplab / epicR

R package for the Evaluation Platform in COPD (EPIC), an agent-based whole-disease model for projection of health and economic outcomes and COPD interventions.
11 stars 11 forks source link

getting symptoms regression values and correlation matrix for random effects #64

Closed aminadibi closed 6 years ago

aminadibi commented 6 years ago

Need to recreate regression equations for symptoms and calculate covariance matrix for random effects of symptoms so we can account for correlations between them

aminadibi commented 6 years ago

Kate will give us 4 random effects. At the annual event, we update symptoms of patients. We need multivariate sampling in C code.

KateJohnson commented 6 years ago

I need to gets the EBestimates for each patient (COPD+non-COPD) for each symptom model. Then determine the covariance matrix of the EBestimates (4x4 matrix). Include age, sex, smoking status, pack-years and FEV1 as covariates in the models.