Dear all.
I have tried computing the elasticity of interaction variable between factor and continuous vars according the to the example given by Vince Wiggins
Stata (14.1) reports: "levels of interactions not allowed"
This is the code I was trying (my data is a panel):
I used -dydx- for elasticity since my dep. var. is transformed into ln.
I don't know how else to compute the elasticities of my interaction terms.
Anat
I have tried computing the elasticity of interaction variable between factor and continuous vars according the to the example given by Vince Wiggins
HTML Code:
http://www.stata.com/statalist/archive/2013-01/msg00293.html
This is the code I was trying (my data is a panel):
Code:
areg lnprice c.scoreNL i.stars1 i.stars2 i.stars3 i.stars4 i.stars1#c.scoreNL i.stars2#c.scoreNL i.stars3#c.scoreNL i.stars4#c.scoreNL , absorb(city_code) vce(cluster city_code) , absorb(city_code) vce(cluster city_code) margins, dyex(stars1#c.scoreNL) at (stars1 ==1)
I don't know how else to compute the elasticities of my interaction terms.
Anat
Comment