Theil's U and Diebold Mariano Test HELP!

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

banana
Posts: 4
Joined: Fri Nov 01, 2013 10:40 am

Theil's U and Diebold Mariano Test HELP!

Postby banana » Fri Nov 01, 2013 10:57 am

Hello.
I am new to this forum and am not sure how to use it yet.

I need to
Compute the RMSE and Theil’s U for both ARMA (1,1) forecasts and a random walk forecast.
I need to figure out which forecast is best.

For RMSE my professor agreed this is correct

series fe_ar = inflation - fc_ar
series fesq_ar = fe_ar * fe_ar
scalar rmsfe_ar = @sqrt(@mean(fesq_ar))

Following the same format, how would I make a program for Theil's U and for Diebold Mariano Test?

Thank you!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13604
Joined: Tue Sep 16, 2008 5:38 pm

Re: Theil's U and Diebold Mariano Test HELP!

Postby EViews Gareth » Fri Nov 01, 2013 11:17 am

Look up the @RMSE and @THEIL functions in the EViews Command and Programming Reference. They will calculate both RMSE and THEIL for you.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests