Good Morning.
I am trying to run a simple descriptive regression on a year-district (1964-2002, ~400 districts) panel:
reg Y Democracy##i.President i.Year i.District
Democracy = 0 if Year is in range 1970-1992,
Democracy = 1 if Year is in range 1964-1969 or 1993-2002
President = President A if Year in range 1964 - 1978
President = President B if Year in range 1979 - 2002
Both regimes go through autocratic and democratic periods, hence the interaction above. Democracy and President vars do not vary across districts (i.e. sample is one country).
Once I add Year FEs the interaction term (Democracy == 1 )*(President== President B) drops out, i.e. Democracy#i.President
It's not obvious to me where the collinearity occurs. Have also tried using areg and xtreg with the same result. Any diagnosis/solutions would be much appreciated.
Related Posts with Stata dropping interacting Time Period Covariates. Can't figure out why.
Exclusions in a loopHi everyone, just upfront: I am pretty new to Stata so please excuse certain rookie mistakes that mi…
execute from top doesn't workDear all, in the do file editor, the "tools / execute (do) from top" command doesn't work. I click …
Specifying a CorrelationSay I'd like to simulate academic data Code: clear * set seed 1066 cls matrix input mCorr = (1, .…
Dummy variable in random effects panel regressionDear Statalist members, I found answers to many of my Stata- or statistics-related questions before …
Problem with "Graph already exists" messageDear Statalist, I'm having problems with clearing graph memories even after using the "graph drop _…
Subscribe to:
Post Comments (Atom)
0 Response to Stata dropping interacting Time Period Covariates. Can't figure out why.
Post a Comment