Hi all,
I'm struggling with comparing coefficients between two logistic regression models. As I have read, this is not easy and even arbitrary in doing so. Instead of comparing coefficients I heard, read and thought about implementing interaction effects.
A short description of my research and what I would to do:
I have panel data from two years, 2004 and 2013 that is. The dependent variable en independent variables are set up exactly similar for both years. Hence, only the sample on which analyses will be conducted differ (although about 30% of the respondents that were present in 2004 are present in 2013 again). I have run two regression models, one for the data of 2004 and one on the data of 2013. Some conclusions can already be drawn, but what I would like to do is compare the effect of each coefficient (i.e. odds ratio) between the two years. I should be doing this by implementing interaction effects: each variable would make an interaction with a time-variable.
My question is how do I handle this?
I already have dummies for the time variables where
t2004 = 1 if year == 2004
t2013 = 1 if year == 2013.
I also creating some interactions but already got stuck on this the following variable is education which has 1 = low, 2 = medium and 3 = high. How do I make interactions with this variable?
gen age_y2004 = age_y * t2004
gen male2004 = male * t2004
gen registeredormarried2004 = registeredormarried * t2004
....
Do I also need to make these interaction with t2013?
Further, what to do once I have all these interactions. How do I incorporate them in my logistic regression analyses?
Help will be appreciated much!
Cheers.
I'm struggling with comparing coefficients between two logistic regression models. As I have read, this is not easy and even arbitrary in doing so. Instead of comparing coefficients I heard, read and thought about implementing interaction effects.
A short description of my research and what I would to do:
I have panel data from two years, 2004 and 2013 that is. The dependent variable en independent variables are set up exactly similar for both years. Hence, only the sample on which analyses will be conducted differ (although about 30% of the respondents that were present in 2004 are present in 2013 again). I have run two regression models, one for the data of 2004 and one on the data of 2013. Some conclusions can already be drawn, but what I would like to do is compare the effect of each coefficient (i.e. odds ratio) between the two years. I should be doing this by implementing interaction effects: each variable would make an interaction with a time-variable.
My question is how do I handle this?
I already have dummies for the time variables where
t2004 = 1 if year == 2004
t2013 = 1 if year == 2013.
I also creating some interactions but already got stuck on this the following variable is education which has 1 = low, 2 = medium and 3 = high. How do I make interactions with this variable?
gen age_y2004 = age_y * t2004
gen male2004 = male * t2004
gen registeredormarried2004 = registeredormarried * t2004
....
Do I also need to make these interaction with t2013?
Further, what to do once I have all these interactions. How do I incorporate them in my logistic regression analyses?
Help will be appreciated much!
Cheers.
Comment