Tuesday, November 15, 2011

Tips - Stata: How to test significance of interactions of categorical variables

Tips - Stata: How to test significance of interactions of categorical variables

We have the model
   . webuse fvex
   . regress y i.sex##i.group age

We can test the overall significance of the sex#group interaction by typing
   . contrast sex#group

No comments: