Hello,
I would be very grateful for some help. I have a data set with a sample size of 260. It is from an RCT where the control is coded as 1 and the intervention arm is coded as 2. The primary outcome is binary. I need to peform subgroup analysis on a range of baseline collected info e.g. sex, ethnicity, age (this is a binary variable <40 or >40) etc.
As the outcome is binary I am using logistic regression and the STATA command looks like this-
Logistic outcomevariable i.studyarm##i.sex
Is this correct? Does it make sense that the study arm is in the interaction in that way for a subgroup analyses? And how do I interpret the findings?
Many thanks!
I would be very grateful for some help. I have a data set with a sample size of 260. It is from an RCT where the control is coded as 1 and the intervention arm is coded as 2. The primary outcome is binary. I need to peform subgroup analysis on a range of baseline collected info e.g. sex, ethnicity, age (this is a binary variable <40 or >40) etc.
As the outcome is binary I am using logistic regression and the STATA command looks like this-
Logistic outcomevariable i.studyarm##i.sex
Is this correct? Does it make sense that the study arm is in the interaction in that way for a subgroup analyses? And how do I interpret the findings?
Many thanks!
Comment