1) Y= X1+ X1*X1+X2 + X1*X2 + (X2)*(X1*X1) i.e. adding not only the interaction with the low level X1 but also the interaction with the quadratic term X1*X1.
2) Y= X1+ X1*X1+X2 + X1*X2 i.e. just adding the interaction between X2 and the lower level of X1.
x1 is a continuous var whereas x2 is gender.
which is correct? or both are?
Related Posts with interaction term with quadratic term?
Lagged Variables: Difference between L.Variable and Variable[_n-1]Hi everyone, I try to understand the difference between the codes mentioned in the header. On my da…
memory issue: Stata uses more than it saysHi all, I hope youre all well. Ive got a bit of a funky problem on my hand. I am running paralle…
epctile command: how to get e(_N)Hi Statalist members, I have been running the used contributed epctile command to get the median va…
Bringing gen() into Margins, at()Hi guys, I am trying to work with counterfactuals using margins and I'm having a hard time includin…
New version of sdecode on SSCThanks as always to Kit Baum, a new version of the sdecode package is now available for download fro…
Subscribe to:
Post Comments (Atom)
0 Response to interaction term with quadratic term?
Post a Comment