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
add one variable from one dataset to another one: error variable V2 does not uniquely identify observations in the master dataHell everyone, I have a dataset with V2 - country code (in the codebook each country has a code so…
Individual time span reference per observationDear community, I have a dataset with about 3 million observations. Each observation has a time id,…
SUTVA assumption in endogenous treatment effect modelI have following model: eprobit y x, entreat(trtvar = x z) I suspect my treatment variable is endoge…
Var storage type is "byte", but presented as text in data editorHow do I see the assigned value to each text? …
Make an exception within a loopI'm using version 15 of stata, and I'm wondering if it is possible to make an exception within a loo…
Subscribe to:
Post Comments (Atom)
0 Response to Regressions: ommisions due to collinearity
Post a Comment