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 the child's health whereas x2 is gender.
y is a dummy variable so this is a probit model.
im actually trying to capture non linear relationship and would it be necessary to include "the quadratic term interacted with the gender variable"
what if i dont?
and yes im using factor variables
Related Posts with higher polynomial
DID with Two Separate CohortsHi there, I am new to STATALIST so my apologies if this question has already been addressed. I am u…
Convert table to matrix and export as excel fileHi everyone, I am trying to convert this table to a matrix and export it as an excel file. Sorry, I…
diffrents values about swekness and kurtosis "with summv1, det" and "sktest v1"Good morning. Because the "summ v1, det" and "sktest v1" commands showed different values about swek…
Use of multiple imputation for missing values of binary outcome componentsDear Statalisters, I'm using Stata 17.0. I have a composite outcome: in particular, the 3 componen…
re-run the entire do file with different data (different years)Hello, I have written a do file with all the codes I need to conduct the tests I want for a year (a…
Subscribe to:
Post Comments (Atom)
0 Response to higher polynomial
Post a Comment