You are not logged in. You can browse but not post. Login or Register by clicking 'Login or Register' at the top-right of this page. For more information on Statalist, see the FAQ.
Presumably a variable identifying the returns, but if you are estimating a model with fixed effects, you should know what the fixed effects are for, right?
I don't know really how to handle all this... I am quite new on Stata.
I assume that my fixed effects are for my different countries. However I had create an "average" sheet fro those 13 different countries
Yes, it is what I did. I have 13 sheets, one per country, with 80 variables and 166 observations per variable (166 months).
I have gathered the 13 sheets in one --> each sheet below the other, which makes a lot of lines. and put a country identifier for each country.
Does it seem correct?
Hello Prof. Joao Santos Silva,
- My panel dataset has 12 years and 28 countries. Would that be suitable to estimate a quantile regression with fixed effects using the xtqreg?
- I am currently using the following command:
xtset iso_3 year
xtqreg l.energy l.GDP l.FDI, id(iso_3) q(0.25)
Is this the right code for my sample?
Thanks Prof. Joao Santos Silva
I estimated my model and the coefficient of my main variable is insignificant in the scale function, but it is significant in the location function.
Would this mean that my main variable does not change over the quantiles?
If a variable has a zero coefficient in the scale function, its effects do not vary across quantiles. However, having a statistically non-significant coefficient does not imply that it is zero; it may just be that it is not estimated precisely enough due to the small sample.
Dear Professor Joao Santos Silva, I am trying to use Quantile Regression with Fixed Effects in my research. My dataset consists of an unbalanced panel dataset with 320 observations across 5 years. The distinct number of entities are 117 while the minimum number of entities for any particular year is 45. When I run the regression using xtqreg "WARNING: 15% of the fitted values of the scale function are not positive". Would you be able to suggest why this is happening? Is it because of the size of the panel dataset? Thank you for your guidance.
I am afraid that with only 5 periods, you cannot reliably estimate a quantile regression with fixed effects. I suggest you try the "correlated random effects" approach.
Comment