Hi,
I have problem to put average MAE from rolling forecast into table
because of type of scalar, matrix and string problem.
I would like to know how to code them.
Help me please
How to code for putting average MAE from rolling forecast into table
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
How to code for putting average MAE from rolling forecast into table
- Attachments
-
- make table (1).prg
- (1.07 KiB) Downloaded 430 times
-
- make table.wf1
- (336.45 KiB) Downloaded 346 times
-
- make table.jpg (324.84 KiB) Viewed 4402 times
Last edited by chairake on Sun Dec 16, 2018 11:09 pm, edited 1 time in total.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to code for putting average MAE from rolling forecast into table
Easiest way for you is probably to just add the numbers and divide (i.e. calculate the mean manually).
Re: How to code for putting average MAE from rolling forecast into table
Thank you for your reply EViews Gareth but I have ever try
the way as your recommend.
by @sum(.......)/7
zresult_{%n}(10,2) = @sum(@mae({%n}_r{!m}f,{%n}))/7
but the program tell the error that
Scalar sent to function which operates on a matrix in
"ZRESULT_{%N}(10,2) = @SUM(@MAE(BMIX_E_R1F,BMIX_E))/7".
Because i don't understand truly about type of object and how to manage them.
How can I solve the problem.
the way as your recommend.
by @sum(.......)/7
zresult_{%n}(10,2) = @sum(@mae({%n}_r{!m}f,{%n}))/7
but the program tell the error that
Scalar sent to function which operates on a matrix in
"ZRESULT_{%N}(10,2) = @SUM(@MAE(BMIX_E_R1F,BMIX_E))/7".
Because i don't understand truly about type of object and how to manage them.
How can I solve the problem.
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: How to code for putting average MAE from rolling forecast into table
Just use + rather than a function.
Who is online
Users browsing this forum: No registered users and 1 guest
