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
IV regression and 2SLSIs okay to use one instrumental variable for 2SLS multiple regression? …
svy: logit command stuck on "(running logit on estimation sample)"Hi, I'm trying to run a set of svy: logit commands, but for some reason, including certain variables…
ID/ Index creationDear all, I would like to create country specific IDs. I have different ISOs for which I would like…
how to fix scales on stataHi, I am working on a project and I have 4 variables that go from 0-100, and I am trying to combine …
POLS, FE and REHello, I'm estimating a TFP growth convergence regression type model in a panel with 20 NUTS-2 regio…
Subscribe to:
Post Comments (Atom)
0 Response to Regressions: ommisions due to collinearity
Post a Comment