Calculation applied to all series in a group
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
Calculation applied to all series in a group
Is there a simple way to perform a simple arithmetic operation on all series in a group? For example, divide all series by 1000?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Calculation applied to all series in a group
Only with a for loop in a program.
Re: Calculation applied to all series in a group
OK. That's what I normally use. For example:
I thought there might be a simpler way.
Code: Select all
for !i = 1 to group01.@count
%var = group01.@seriesname(!i)
genr {%var} = {%var} / 1000
next
Who is online
Users browsing this forum: No registered users and 2 guests
