Dear all,
I would appreciate your advice regarding the appropriate analysis of a longitudinal dataset in Stata.
I have a cohort of 221 patients with repeated DXA Z-score measurements obtained at irregular follow-up times, resulting in 2,373 observed Z-score measurements. To standardize follow-up at annual intervals (as required for a publication), I linearly interpolated Z-scores between consecutive observed measurements, producing an anniversary-year dataset with 4,498 observations from 197 patients. Patients with only one observed measurement could not be interpolated and were therefore excluded from the anniversary-year dataset.
I am fitting the following mixed-effects model:
mixed z_score c.anniv_year##(i.z_sitespine1hip2radius3 i.gender1female i.splenectomy1yes i.n370s_homozygous1yes i.eversmoked i.typetype11type30 c.interval_symptom_tx c.zimran_score c.ert_date1 c.ageatthestartoftreatment c.anniv_bmi c.vitamind_anniv ib2.erttype1alglucerase2velagluceras c.ukg i.bisphosphonatesanniv_year0no1yes) || subject_id: c.anniv_year, covariance(unstructured) reml dfmethod(kroger)
My question concerns statistical inference. Since many of the Z-scores were created by deterministic linear interpolation rather than being directly observed, I am concerned that treating all anniversary-year observations as regular measurements may underestimate uncertainty.
I initially wondered whether mi estimate should be used, but I understand that mi estimate is intended for multiple imputation rather than deterministic interpolation
Could you please advise:
Thank you very much for your time and assistance
Best,
Oana
I would appreciate your advice regarding the appropriate analysis of a longitudinal dataset in Stata.
I have a cohort of 221 patients with repeated DXA Z-score measurements obtained at irregular follow-up times, resulting in 2,373 observed Z-score measurements. To standardize follow-up at annual intervals (as required for a publication), I linearly interpolated Z-scores between consecutive observed measurements, producing an anniversary-year dataset with 4,498 observations from 197 patients. Patients with only one observed measurement could not be interpolated and were therefore excluded from the anniversary-year dataset.
I am fitting the following mixed-effects model:
mixed z_score c.anniv_year##(i.z_sitespine1hip2radius3 i.gender1female i.splenectomy1yes i.n370s_homozygous1yes i.eversmoked i.typetype11type30 c.interval_symptom_tx c.zimran_score c.ert_date1 c.ageatthestartoftreatment c.anniv_bmi c.vitamind_anniv ib2.erttype1alglucerase2velagluceras c.ukg i.bisphosphonatesanniv_year0no1yes) || subject_id: c.anniv_year, covariance(unstructured) reml dfmethod(kroger)
My question concerns statistical inference. Since many of the Z-scores were created by deterministic linear interpolation rather than being directly observed, I am concerned that treating all anniversary-year observations as regular measurements may underestimate uncertainty.
I initially wondered whether mi estimate should be used, but I understand that mi estimate is intended for multiple imputation rather than deterministic interpolation
Could you please advise:
- Is there any recommended way in Stata to account for the additional uncertainty introduced by deterministic linear interpolation when fitting a mixed-effects model?
- Is using reml dfmethod(kroger) considered sufficient for this setting, or is there another recommended approach?
- Should I I fit the mixed model using only the original observed measurements and compare it with the interpolated mixed model?
Thank you very much for your time and assistance
Best,
Oana

Comment