I try to do forecasting estimation with panel data. I want to estimate GINI under the impact of covid 19 pandemics.
For that, I regress GINI coefficient of GDP, Health Expenditure and WPDI (= world pandemics discussion index).
My code:
forecast create, replace
xtreg GINI WPDI log_GDP log_HE, re
estimates store myforecast
forecast estimates myforecast
forecast solve, prefix(f_) begin(2010) end(2021)
FIRST PROBLEM: my data set is between 2010 and 2021. And I want to estimate the period between 2022 and 2034, (i.e., after 2022). However, this estimation gives result in the period 2010-21. Do not allow for expanding the time span.
For example when I use the command
forecast solve, prefix(f_) begin(2022) end(2034)
This command is not allowed.
SECOND PROBLEM: the results forecasted seem not to be accurate and correct. all forecasted results of GINI are obtained to be equal to approximately 31. However, there are many countries having gini coefficient fo 45 or above in the dataset.
How can run forecasting estimation correctly?
Thank you.
0 Response to Forecasting estimation with panel data.
Post a Comment