Dear statalist users,
I am running a regression in which I have 2 fixed effects: year and 2-digit SIC code. I made these fixed effects as follows:
sum fyear
local a=r(min)
local b=r(max)
forvalues i=`a'(1)`b'{
qui gen yeardum_`i'=0
qui replace yeardum_`i'=1 if fyear==`i'
}
sum SIC2
local a=r(min)
local b=r(max)
forvalues i=`a'(1)`b'{
qui gen sicdum_`i'=0
qui replace sicdum_`i'=1 if SIC2==`i'
}
Now, when I run the regression I get a note that my yeardum_2014 and yeardum_2019 have been omitted because of collinearity. What does this mean? Does this mean that all observations from 2014 and 2019 have been excluded or only the fixed effects for these years?
Hope someone knows.
Kind regards,
Sarah
Related Posts with Regressions: ommisions due to collinearity
Measuring women's empowerment: creating an index for psychological well being, social support and decision-making powerDear Statalisters, For my thesis I am working on a dataset in which empowerment is measured from th…
longitudinal analysis with measurements taken at different timesdear stata users, I'm dealing with a longitudinal dataset with measurements taken in different time…
Problem in duplicate case using HIES 2018-19My data has duplicate cases, I want to remove duplicate case if they report '2' as response in varia…
Bootstrap Maximum Likelihood Estimation_ time-seriesDear Statalist users, I would like to conduct a bootstrap maximum likelihood to estimate a linear t…
test Code: . xtnbreg collab_weight lie_dummy lmie_dummy umie_dummy hie_dummy crudeoil distance exp_good…
Subscribe to:
Post Comments (Atom)
0 Response to Regressions: ommisions due to collinearity
Post a Comment