Using the last observation in a series as a scalar

For questions regarding programming in the EViews programming language.

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

miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

Using the last observation in a series as a scalar

Postby miorinnovo » Tue Feb 09, 2016 8:30 am

Hi all,

I have a series and I'd like to take the last observation of that series, which will change over time, and use it in a simple multiplication. Eg series1 is 1,2,3,4. I want to program an equation so it'll find the number 4 and multiply it by other things. How might I do that?

Thanks!

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

Re: Using the last observation in a series as a scalar

Postby EViews Gareth » Tue Feb 09, 2016 9:43 am


miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

Re: Using the last observation in a series as a scalar

Postby miorinnovo » Tue Feb 09, 2016 10:19 am

Thanks Gareth


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests