SY1
01-03-2011, 06:14 PM
Hi there!
I am using Stata for the first time and fumbling through. I am comfortable performing a logistic regression and producing odds ratios, but now I want to divide my population by one of my variables and then perform the regression. For example, I have a binary variable and I want to do the regression for only those people who responded 'yes' to that variable, then separately for those who responded 'no'. Can anyone give me some guidance on this. I hope it makes sense!!!
Thanks in advance!
I am using Stata for the first time and fumbling through. I am comfortable performing a logistic regression and producing odds ratios, but now I want to divide my population by one of my variables and then perform the regression. For example, I have a binary variable and I want to do the regression for only those people who responded 'yes' to that variable, then separately for those who responded 'no'. Can anyone give me some guidance on this. I hope it makes sense!!!
Thanks in advance!