Hi,
I'm using Eviews 8. I have a lot of hourly data showing power demand for multiple years. I'd like to look at things like the average demand for each hour in a given month (eg the average of the hourly demand from 1 April to 30 April for 1am, 2am, 3am .... etc) or a season, or a year. I've read the data in as hourly data into Eviews, and I have the date-time, but now I can't figure out how to tell Eviews to show me an average over a set number of days. Can someone please help?
Averaging hourly data
Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Averaging hourly data
Create a new group containing @year @month @hour
Then open up your series, click on View->Descriptive Statistics->Stats by classification and then enter the name of the group in the series/group to classify by box.
If you only have data for one year you can drop the @year bit from the group.
Code: Select all
group g @year @month @hour
If you only have data for one year you can drop the @year bit from the group.
Re: Averaging hourly data
Thank you for the quick reply.
Re: Averaging hourly data
I worked out that if I reversed your order to @hour @month @year I could get the hours all nicely lined up next to each other, by month.
Re: Averaging hourly data
Can I graph this data within Eviews?
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Averaging hourly data
What do you mean?
Who is online
Users browsing this forum: No registered users and 1 guest
