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?
convert 'n' rows of a variable to 'n' columnsHi, I would appreciate if I could get help with creating new variables from rows of an existing var…
Matching/merging Job seekers to job posts if they meet requirementsHello Everyone, Hope you all are well. I am looking to merge two datasets however, I want to match …
Changing variable labels for multiple variables at the same timeHello, I'd like to change label variables. My data contains 100 variables with label started number…
stteffects commandHello, I'm working on the survival analysis, using stteffects command (both LAC-IPWRA and WAC-IPWRA…
How could I handle the longitudinal (time-series) data? I provided an example below for an easy explanation for my question. I need to do survival anal…
Subscribe to:
Post Comments (Atom)
0 Response to interaction term with quadratic term?
Post a Comment