Problems with @elem

For questions regarding programming in the EViews programming language.

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

jmontechiari
Posts: 3
Joined: Fri Jun 01, 2012 8:14 am

Problems with @elem

Postby jmontechiari » Sun Jun 03, 2012 4:16 pm

Hello,

I have 72 forecasts that I need to collect the 5th value.
The names of the series are in a table called "modelos" in the 3rd columm.
I'm using the following code:

%ser=modelos(!i,3)

!obs1=@elem(%ser,5)

I'm receiving the problem: String sent to a function which is expecting a series in "!OBS1=@ELEM("B7X5",5)"

Thanks.

Jorge Montechiari

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

Re: Problems with @elem

Postby EViews Gareth » Sun Jun 03, 2012 6:46 pm

use {%ser}


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests