Since I have to do this for every series in a database, I first group them together:
Code: Select all
group all *Code: Select all
table outputCode: Select all
for !i=1 to all.@count
output(!i,1)=@mean(all(!i)) 'Eviews flags this as an error
next
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Code: Select all
group all *Code: Select all
table outputCode: Select all
for !i=1 to all.@count
output(!i,1)=@mean(all(!i)) 'Eviews flags this as an error
next
Code: Select all
for !i=1 to all.@count
%sn = all.@seriesname(!i)
output(!i,1)=@mean({%sn})
next
Users browsing this forum: No registered users and 1 guest