Hi all,
I am running a regression using data on individuals from different countries. All variables vary across individuals and over time, except for one (call it x) which changes across countries and over time (i.e. it takes the same value for all individuals in a particular country and in a particular period). My regression includes as well country and time fixed effects using the factor notation "i.year i.country".
When I interact country and time to create a country-specific linear time trend (including the code "i.country##c.year" in place of "i.year i.country") Stata still gives me an estimate for the effect of x, which makes I assume it makes sense since x does not follow a linear trend over time. However, when interact country and time allowing for non-linear country-specific time trends (using the code "i.country##i.year"), Stata still gives me an estimate for the effect of x.
How is that possible? Shouldn't drop x because of collinearity with the country-specific time dummies? Any help with this is much appreciated!
Thanks,
Eduard
Related Posts with Help with understanding country-specific time trends
Merge monthly to spell dataI have two datasets, in one I have an ID and a month. The second is spell data with ID, start_date, …
Eigenvectors in Stata (mata) vs. MatlabHi everyone, maybe this is a very silly question and I am overlooking something very, very obvious. …
Expanding an observation to various rowsHi, I have a data set of a household survey with hhcode denoting the household code and migrant den…
analysing categorical data with very high of outcome of interestHello to all. we are looking at possibilities for further analysis of knowledge of Family planning (…
What causes the following error: data not spset r(459);copy http://www.stata-press.com/data/r15/homicide1990.dta ., replace copy http://www.stata-press.com…
Subscribe to:
Post Comments (Atom)
0 Response to Help with understanding country-specific time trends
Post a Comment