---

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

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

rende_deng
Posts: 2
Joined: Thu May 25, 2023 11:22 pm

---

Postby rende_deng » Wed May 31, 2023 8:41 pm

How can I create a new series that represents the annual sum of GDP for each quarter, given a quarterly GDP data series from 1981Q1 to 2023Q4? For example, the values from 1981Q1 to 1981Q4 should all be the sum of the GDP for the four quarters of 1981, and the value from 1982Q1 to 1982Q4 should be the sum of GDP for the four quarters of 1982.

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

Re: ---

Postby EViews Gareth » Wed May 31, 2023 9:07 pm

@sumsby(x,@year)
Follow us on Twitter @IHSEViews

rende_deng
Posts: 2
Joined: Thu May 25, 2023 11:22 pm

Re: ---

Postby rende_deng » Wed May 31, 2023 11:20 pm

thanks a lot


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 24 guests