Hi
I am using eviews6. My question is given two series x and y each with 2000 observations, how do i subtract y from x (x-y) only for observations from 1500 to 2000 and then sum all the differences?
Thanks
how to subtract part of two different series
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13603
- Joined: Tue Sep 16, 2008 5:38 pm
Re: how to subtract part of two different series
Code: Select all
smpl 1500 2000
scalar mysum = @sum(x-y)
Who is online
Users browsing this forum: No registered users and 1 guest
