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?
Filling in years by groupHi, I have a dataset of the following form: Code: * Example generated by -dataex-. To install: s…
Regress individual and collective indicatorsHello STATA community! In my research I analyse how economy shapes public opinion (of social classes…
Help with lclogitHello Everyone, I have conducted a discrete choice experiment in multiple countries. Each participa…
Return Calculation for Panel DataDear Statalists, I am trying to calculate monthly returns for specific firms and would like to know …
regular expression to extract a part of a string variableDear Statalist Suppose I have a string variable Name that is formatted as Text1 (Text2) (Text3), ho…
Subscribe to:
Post Comments (Atom)
0 Response to interaction term with quadratic term?
Post a Comment