I am trying to run a regression for fixed effects specifications. The dependent variable is Volatility, which is indexed by country, sector and time. The explanatory variables are Openness and GDP. Openness is also indexed by country, sector and time, while GDP is only indexed by country and time. I attempted the following regression:
xtreg Volatility Openness GDP, fe
My preceding codes are as follows:
egen id = group(Country Sector)
xtset id Time
format Time %ty
The problem with this is that I am not sure how to index the variables appropriately in the regression. The result is that all coefficients are zero, except the constant. How should I index the variables? Thank you very much in advance!
Related Posts with Fixed Effects: Variables Indexed by Country, Sector and Time
foreach loopHello there, I have two variables, income of individuals from year 1968 to 2017 and their ages for t…
Shorten x axisHi everybody. Apologies for any newbie mistakes in my post, I'm new both to Stata and this forum. I…
Creating a three way graph with an unbalanced panelHi there, I am trying to create a graph that looks at a total firm value (y-axis), year (x-axis), w…
New version of parmest on SSCThanks once again to Kit Baum, new version of the parmest package (superseding last week's version) …
Mixed effects repeated measures model - not all variables measured at each time point.Hi everyone, hope you're all well. First post - so please let me know if I have missed anything fro…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed Effects: Variables Indexed by Country, Sector and Time
Post a Comment