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.
Related Posts with Forecasting estimation with panel data.
Loop a time-series regression to predict out-of-sample valuesHello there, I am quite new to Stata and after desperately searching for a solution in this forum I …
Fixed EffectIs there any difference in running multicollinearity, autocorrelation and heteroskedasticity test us…
Panel data and autocorrelationDo panel data need autocorrelation? …
How spatial panel data models deal with endogeneity problem?Hi everyone, I am looking for your suggestion about how to deal with endogeneity bias which comes f…
Non integer weights + summary statistics for population survey dataHi all, I am new to the world of STATA (and fairly new to epidemiology/biostats). I have been taske…
Subscribe to:
Post Comments (Atom)
0 Response to Forecasting estimation with panel data.
Post a Comment