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
Interpretation of testparm after missing F valuesHi all, After adding clustered standard errors to my probit model, the F values were missing. After…
Correlation matrixHello, I would like to do the correlation matrix between variables P_1, P_5, P_10 P_15, F_1, F_5, F…
Simple for-dummies examples of using scons with StataDear Statalisters, I was wondering if anyone knew of or could share some simple "for-dummies" examp…
A small clarification!I produce here two codes with a slight difference that produce the same output. These codes are base…
-xtoverid- or Variable Addition Test (VAT)Dear community, after having found heteroscedasticity and autocorrelation in my panel data, I accou…
Subscribe to:
Post Comments (Atom)
0 Response to Fixed Effects: Variables Indexed by Country, Sector and Time
Post a Comment