Hi,
I am using Stata 14.0 and trying to obtain full interaction of my variable list with a factor variable. Is there an easy way Stata allows me to do this while using global variable lists?
Here is what I tried:
global lexppr lexpretprice lexpfraprice /// Expected output prices
global lcurrpr lretprice lfraprice /// Current output prices
probit mzmktpos i.lc##c.($lexppr $lcurrpr) i.lc##i.(malehead year)
Stata ran the regression but ignored the interaction of factor variable "lc" with my global variables : i.lc##c.($lexppr $lcurrpr). It did not give me an error message either.
Thanks for any help in advance,
Aakanksha
I am using Stata 14.0 and trying to obtain full interaction of my variable list with a factor variable. Is there an easy way Stata allows me to do this while using global variable lists?
Here is what I tried:
global lexppr lexpretprice lexpfraprice /// Expected output prices
global lcurrpr lretprice lfraprice /// Current output prices
probit mzmktpos i.lc##c.($lexppr $lcurrpr) i.lc##i.(malehead year)
Stata ran the regression but ignored the interaction of factor variable "lc" with my global variables : i.lc##c.($lexppr $lcurrpr). It did not give me an error message either.
Thanks for any help in advance,
Aakanksha
Comment