Hello,
It was suggested that I use lrtest to compare a logistic regression model with an interaction term to an otherwise identical model without the interaction term. However, I am using survey data which lrtest is not compatible with.
Does it make sense to use a Wald test to test the significance of the interaction term after running the model? Or is this approach inappropriate for determining whether or not to include the interaction term for optimal model fit? The Wald test doesn't seem to give me any information that isn't already in the logistic regression output. If there is a more rigorous approach for comparing these models, I would like to try it.
Here is an example of my code:
Model 1:
Model 2:
Test:
Thank you!
Helena
It was suggested that I use lrtest to compare a logistic regression model with an interaction term to an otherwise identical model without the interaction term. However, I am using survey data which lrtest is not compatible with.
Does it make sense to use a Wald test to test the significance of the interaction term after running the model? Or is this approach inappropriate for determining whether or not to include the interaction term for optimal model fit? The Wald test doesn't seem to give me any information that isn't already in the logistic regression output. If there is a more rigorous approach for comparing these models, I would like to try it.
Here is an example of my code:
Model 1:
Code:
svy, subpop(include): logistic IRToneword langcomm ieducation
Code:
svy, subpop(include): logistic IRToneword langcomm ieducation c.langcomm#ieducation
Code:
testparm c.langcomm#ieducation
Helena
Comment