Dear Eviews community,
Suppose I have a bunch of scalars named as mape_alpha, mape_bravo, mape_charlie which stores the mean absolute percentage error from 3 different models.
Is there a function or some code snippet which I can use to return the minimum of these bunch of scalars please?
Thanks!
find the minimum of a bunch of scalars
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13583
- Joined: Tue Sep 16, 2008 5:38 pm
Re: find the minimum of a bunch of scalars
Do you want the minimum value, or which of the scalar is the minimum value?
Either way, the best approach is probably to put them into a vector, and then either use @min or @imin
Either way, the best approach is probably to put them into a vector, and then either use @min or @imin
Who is online
Users browsing this forum: No registered users and 1 guest
