Hi I am working on a regression model with repeated measures, and my response variable is continuous. Each pair of physician-patient-drug is unique, but the physician may have several patients who are prescribed different medications. My dataset looks like this (My dataset contains approximately 15000 rows, approximately 15,000 patients are treated by around 150 physicians.) data drugs; input physician patient drug $ outcome age gender$; datalines; 1 1 a1 83.1 55 F 1 1 b5 76.2 55 F 1 1 b7 99.9 55 F 1 4 f2 2.7 82 M 2 4 a1 40.2 82 M 2 5 a2 88.1 65 M 3 6 c8 26.1 49 F 4 2 a1 23.3 89 F 5 3 b1 92.1 67 M 5 3 b2 92.4 67 M 6 7 e4 12.1 28 M 6 8 a2 5.1 73 M 6 8 b2 3.1 73 M 7 9 a2 98.9 79 M ; proc mixed data=drugs noclprint; class patient physician drug gender(ref="F") ; model outcome= gender age /solution outp=preddata ; repeated DRUG /subject=physician(patient) type=cs ; RUN; I am working on evaluating whether certain drugs are prescribed correctly, which will be my outcome measure. Do you believe the model is accurate? This is my first time working with this type of data. Thank you for your response. Teresa
... View more