Hi everybody,
I have panel data with a dependent variable for each city and repeated measures over time for cities (monthly measures, five years).
I've been using -mixed- like in the following example (Stata 13):
I'm only interested in fixed effects.
Now the issue is I have to assess the forecasting ability of my model and compare it to the empty model.
I would like to use 80% of my dataset to train the model and 20% to make out of sample forecasting. Can you suggest me how to do it in Stata?
And which measures should I consider to assess the goodness of fit of the forecasting? (AIC, BIC, Out of Sample MSE, or others?) Can you tell me how to compute these measures for the out of sample?
Thanks a lot!
I have panel data with a dependent variable for each city and repeated measures over time for cities (monthly measures, five years).
I've been using -mixed- like in the following example (Stata 13):
Code:
mixed DEPENDENT PREDICTOR1 PREDICTOR2 || CITY:, var ml
Now the issue is I have to assess the forecasting ability of my model and compare it to the empty model.
I would like to use 80% of my dataset to train the model and 20% to make out of sample forecasting. Can you suggest me how to do it in Stata?
And which measures should I consider to assess the goodness of fit of the forecasting? (AIC, BIC, Out of Sample MSE, or others?) Can you tell me how to compute these measures for the out of sample?
Thanks a lot!
Comment