Hi Listers,
I want to make sure I am correctly interpreting my 2*3 interaction following a logistic regression. My predictors are sex (m vs. f) and task type (easy vs. medium vs. high) on completion rates (yes/no).
I find including the interaction term in my model does improve the fit using a likelihood ratio test so I would like to know what is going on. Male and easy are the reference in my anlalysis category as coded as 0. logistic pass i.sex##i..task
To compare females (to males) for each test type, I use the following:
logistic pass i.sex#i..task i.task
which a colleague pointed out is equivalent to:
lincom 1.sex_n+1.sex#0.task
lincom 1.sex_n+1.sex#1.task
lincom 1.sex_n+1.sex#2.task
Is this correct?
I am unsure why, in the lincom statement, only sex and the interaction term are included but not task - any explanation would be much appreciated.
Thanks,
Laura
Related Posts with 2x3 categorical interaction
3-Year Rolling Standard Deviations of ReturnsHey Community, for a paper at university I need a three year rolling standard deviation of returns.…
xtabond2 for System GMM code writing problemDear all, I am new to xtabond2 I don't know to write the proper codes for my study. I would like to…
Coefplot and spatial standard errors fromDear all, I am using x_ols to estimate spatial standard errors of multiple models. Now, I'd like to…
calculating percentages by household idHello, I want to create a variable that shows the % of increase in care by household. Below, you ca…
Additive indexHi dears, I have an issue in creating of an additive index. I have 11 variables that are normalized …
Subscribe to:
Post Comments (Atom)
0 Response to 2x3 categorical interaction
Post a Comment