Colleagues: Is anyone aware of a way to obtain all possible factorial interactions using factor variable notation and varlists? The objective is to obtain the results from this regression:
Code:
reg y x1##x2##x3
using varlists, e.g.
Code:
local xvars="x1 x2 x3"
It's possible to obtain two-way interactions via:
Code:
reg y (`xvars')##(`xvars')
But is there a way to simultaneously exploit the factor-variable operators and varlists to specify the desired regression command?

If not I might put this on the v.17 Wishlist. It would seem an easy thing to implement, e.g. something along the lines of
Code:
reg y ##(`xvars')
which, of course, does not work.