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
Why the logical in Stata of calculating missing observation is quite strangeToday I calculate Code: gen year1a=1 if yr <=ei +1 While ei=. and yr=1990, I saw the result of …
Add missing valuesHello, I have the following dataset: Code: * Example generated by -dataex-. To install: ssc inst…
how do do a rolling WLS in stataI would like to run a rolling regression in Stata, where in each window the weights of independent v…
Separating string variable with parenthesis and commasHello, I have variable that looks like Experience ('Santo Engineering', '2017-04-30', '2017-05-30'…
How to run a regression using weight by the number of children to each parentDear all, I want to examine the effects of children' s characteristics on their parent health outco…
Subscribe to:
Post Comments (Atom)
0 Response to collinearity when partitioning the whole sample into sub-group
Post a Comment