Hi,
I have the following formula : reg Outcome x1 x2 x1*x2, where x1*x2 is an interaction variable of x1 and x2. Both x1 and x2 are binary variables, Outcome is continuous variable.
How can I best test the significance between interaction variable x1*x2 and variable x1? I tried using test x1 + x1*x2=0 , but I'm not sure if this is the correct way to test it.
Thanks
I have the following formula : reg Outcome x1 x2 x1*x2, where x1*x2 is an interaction variable of x1 and x2. Both x1 and x2 are binary variables, Outcome is continuous variable.
How can I best test the significance between interaction variable x1*x2 and variable x1? I tried using test x1 + x1*x2=0 , but I'm not sure if this is the correct way to test it.
Thanks
Comment