Hi, I would like to ask for confirmation on whether my logic/codes for
Wald tests are correct.
Suppose I have a variable for age group with 3 categories and a variable for sex with 2 categories. I want to do an interaction term test for both categories. I believe I can use this
which also stands for:
I would also like to compare the significance for sex for each age group. I am currently using:
Is this technically sound and correct? I have searched in this forum for similar issues but haven't found a similar case to mine. Thanks in advance.
post-hoc
Suppose I have a variable for age group with 3 categories and a variable for sex with 2 categories. I want to do an interaction term test for both categories. I believe I can use this
Code:
testparm i.age#i.sex
Code:
test 1.age#1.sex 1.age#2.sex 2.age#1.sex 2.age#3.sex 3.age#1.sex
Code:
test 1.age#1.sex 2.age#1.sex test 1.age#1.sex 3.age#1.sex test 2.age#1.sex 3.age#1.sex