average of two series

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

houji
Posts: 19
Joined: Mon Mar 20, 2023 3:19 pm

average of two series

Postby houji » Thu Apr 30, 2026 9:07 am

Hi,

I would like to create a series X that is the average of a few other series (a,b,c, etc).

Is there a function in Eviews that would give me

Code: Select all

series x = average(a,b,c)
?

Thanks!

Houji

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

Re: average of two series

Postby EViews Gareth » Thu Apr 30, 2026 10:10 am

Code: Select all

group mygrp a b c series x = @rmean(mygrp)

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: average of two series

Postby startz » Fri May 01, 2026 6:46 am

Or

Code: Select all

series x = (a+b+c)/3


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests