Page 1 of 1

Average over a sample period

Posted: Fri May 07, 2021 4:44 pm
by krisgrinsh
Hi,

I would like to calculate the average of a series over three calendar years which will be applied to the fiscal year in question.

So for example, for the 2024-25 fiscal year I would like to calculated the average arithmetic GDP growth for 2022, 2023, 2024. My data is quarterly, starts in 1981 and ends in 2030.

Thank you for the assistance in advance!

Re: Average over a sample period

Posted: Fri May 07, 2021 5:20 pm
by EViews Gareth

Code: Select all

@movav(gdpgrowth, 12)
That will give you the average of the past 12 quarters (i.e. 3 years). Not sure if that is exactly what you want though.