Seasonal graph variance

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

miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

Seasonal graph variance

Postby miorinnovo » Wed May 26, 2021 6:13 pm

The seasonal graph gives the average value for a series in each month/quarter. Is there a simple way to see the variance or standard deviation of those months/quarters?

Thanks

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

Re: Seasonal graph variance

Postby EViews Gareth » Wed May 26, 2021 6:23 pm

Code: Select all

show @meansby(y, @month) @stdevsby(y, @month)
Follow us on Twitter @IHSEViews

miorinnovo
Posts: 199
Joined: Sun Mar 01, 2015 5:01 pm

Re: Seasonal graph variance

Postby miorinnovo » Wed May 26, 2021 6:31 pm

That’s awesome. Thanks. But what if I want the standard deviations for only a sub sample? With the chart I can just change the sample and the mean changes. With this code when I change the sample and run again it gives the same result.

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

Re: Seasonal graph variance

Postby EViews Gareth » Wed May 26, 2021 7:28 pm

Enter the sample you want as a third argument.

Code: Select all

@stdevsby(y, @month, "2000 2020")
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 12 guests