In Stata, I've recently found that when I use the same variable across multiple interaction terms in one regression model, Stata flags that variable for collinearity. For instance, running:
regress dep i.gender##c.age i.ethnicity##c.age
Flags the following message:
note: age omitted because of collinearity
Age is still included in the subsequent regression table, but twice, the first time with a coefficient, SE, etc. as one would expect, but then a second time saying omitted
.
I've done similar analyses many times before, but never had this (or at least never noticed it). It's jarring, because it goes without saying that age is collinear with itself. But that shouldn't matter, because it's not as though there are two variables called 'age' which I'm trying to enter simultaneously. It's very clearly one variable which I'm using in two interaction terms. Has anyone else come across this, and do they know a way of suppressing it?