Hi guys!
my basic model contains age term (age-40) to quatic of age term and corresponding interactions with my main variable, reflecting the coefficient when individual's 40 years old. It does work and is within expectations. However, when I partition the whole sample into 7 minor cohorts groups according the observations' ages, running the same code, indicating the age term is deleted automatically because of collinearity, and the coefficient of my main varibale becomes abnormal. If dropping the interaction terms, there will be some degree of unknow bias. Is there any solution to fix it?
Thanks a lot!
Related Posts with collinearity when partitioning the whole sample into sub-group
Difference in N of obs. in Cox modelHi, I have a problem regarding the difference in the number of observations between the Cox model a…
New package on SSC: esteta - estimate long-run effects using historical instrumentsWith thanks to Kit Baum for maintaining the SSC archive, I hereby announce the availability of the p…
xtreg how to see estimated coefficient for each obserevationDear Stata users, I'm using xtreg and need to generate a variable to give the estimated coefficient …
Plotting adjusted means as a bar graphHi, I am trying to plot the adjusted means (in the form of a bar graph as both predictors are categ…
List of values of variable by patient-IDDear stata-community, I would like to have a list of how many patients that has a certain age, but o…
Subscribe to:
Post Comments (Atom)
0 Response to collinearity when partitioning the whole sample into sub-group
Post a Comment