indexing

For questions regarding programming in the EViews programming language.

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

mark
Posts: 37
Joined: Thu Mar 12, 2009 3:27 pm

indexing

Postby mark » Thu Aug 05, 2010 10:14 am

Greetings

I want to index a time series to a base period
How do you designate the base period in a "gern" command?

thanks

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

Re: indexing

Postby EViews Gareth » Thu Aug 05, 2010 10:18 am

Not sure I fully understand the question, but couldn't you just do something like:

Code: Select all

series gdpidx = gdp/@elem(gdp,"1990:5")*100
To index GDP by the value in May 1990


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests