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
Related Posts with Interaction term of a global variable list with a factor variable
Transform quarterly data to monthly data using interpolateHi all,
I have some trouble to transform quarterly data to monthly data. I try to use denton and lin…
Effect size of moderation/interaction in fixed effects modelDear list,
I wonder how to best calculate the effect size of an interaction term in a fixed effects …
Creating group IDs for geospatial event dataI have a dataset of certain events that I want to analyze based off of location. At the most granula…
bootstrap test.Dear All, I have this dataset
Code:
* Example generated by -dataex-. To install: ssc install datae…
geoinpoly with self made coordinates fileHello,
I have recorded the lat and lon coordinates for different rectangular areas. I have group th…
Subscribe to:
Post Comments (Atom)
0 Response to Interaction term of a global variable list with a factor variable
Post a Comment