I am trying to build a model which will explore statin prescription (0/1), including a time point as a predictor (quarter0; quarter1), to see whether there is any significance in prescribing in the last financial quarter compared with the third quarter of 15_16. I would say a significant portion of my data is non-independent.
Stata forums are guiding me towards these two commands - logit and xtlogit:
('practice' is equal to a numerical version of 'usualgpsorganisationcode')
Will either of these models be able to account for the non-independent observations?
Or would a multilevel model be a better option in this scenario?
Thank you in advance for your time...awaiting a stata guru.
Vian
Stata forums are guiding me towards these two commands - logit and xtlogit:
Code:
logit statins sex i.age_cats i.ethnicity i.quarter ckdcoded diabetes ht, cluster(usualgpsorganisationcode)
Code:
xtlogit statins sex i.age_cats i.ethnicity i.quarter ckdcoded diabetes ht, i(practice)
Will either of these models be able to account for the non-independent observations?
Or would a multilevel model be a better option in this scenario?
Thank you in advance for your time...awaiting a stata guru.
Vian
Comment