Page 1 of 1

Creating an index

Posted: Mon Mar 23, 2015 10:44 am
by miorinnovo
I have a quarterly series. I'd like to use that quarterly series to create an index with a certain quarter equal to 100 and all other values are divided by the data in that quarter and multiplied by 100.. For example, if I index to 1995Q1 then i divided 1994Q4 by 1995Q1, etc.

Can someone tell em the easiest way to program that, please?

Re: Creating an index

Posted: Mon Mar 23, 2015 10:57 am
by EViews Gareth

Code: Select all

series idx = x/@elem(x, "1995q1")*100

Re: Creating an index

Posted: Mon Mar 23, 2015 11:04 am
by miorinnovo
Thank you again.

How can I repay you for all your help?

Re: Creating an index

Posted: Mon Mar 23, 2015 11:27 am
by EViews Gareth
Send cupcakes.