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.
How can I export different tables to excel using different sheets?Hi, I'm having a hard time trying to export three different tabstats to three different excel sheets…
adding top 3 variables with the highest value out of 6 variables for each observationHi, I have 6 variables each having a range of values. For each observation I want to add the 3 vari…
How can I export different tables to excel using different sheets?Hi, I'm having a hard time trying to export three different tabstats to three different excel sheets…
Admetan | Forest plot formattingHello, I have a series of forest plots, which I need to edit further. An extract of the code for o…
to convert data into unique observationArray Hello, i am new to stata and i'm working on unbalanced panel. i have uploaded image of data.…
Subscribe to:
Post Comments (Atom)
0 Response to Forecasting estimation with panel data.
Post a Comment