Dear Gretl Community,

Please take a look at this script:

<script>
Eval = fcstats(pib , pib_f)
scalar ME = Eval[1,1]
scalar MSE = Eval[2,1]
scalar MAE = Eval[3,1]
scalar MPE = Eval[4,1]
scalar MAPE = Eval[5,1]
scalar UTheil = Eval[6,1]
</script>

I'm trying to print the following information:

Mean Error (ME) = 0.02
Mean Squared Error (MSE) = 0.001 
Mean Absolute Error (MAE) = 0.03
Mean Percentage Error (MPE) = 0.5
Mean Absolute Percentage Error (MAPE) = 0.66
Theil's U = 1.75

Using the following command:

<script>
print "Mean Error = " ME
.
.
.
print "Theil's U = " UTheil
</script>

But it is not working. Any hints?

Best, 
Henrique C. de Andrade
Doutorando em Economia Aplicada
Universidade Federal do Rio Grande do Sul
www.ufrgs.br/ppge1  Mean Error (ME)
2  Mean Squared Error (MSE)
3  Mean Absolute Error (MAE)
4  Mean Percentage Error (MPE)
5  Mean Absolute Percentage Error (MAPE)
6  Theil's U