The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Time series
Replies: 1   Last Post: Nov 22, 2012 2:08 PM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Derek Goring

Posts: 3,922
Registered: 12/7/04
Re: Time series
Posted: Nov 22, 2012 2:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Thursday, November 22, 2012 8:37:15 PM UTC+13, vaggelis wrote:
> Hello,
> I have a time series of hourly production of a PV.The time series has a 24-hour seasonality.
> How can i remove the seasonality so as to transform my Time series to a stationary TS??

Is the "seasonality" roughly constant from day to day?
If so, you can take the average over each hour to obtain the mean 24-hour cycle, then subtract it.
Assuming y is a column vector of data for an integer number of days:
ycyc=mean(y1,2); % This is the mean daily cycle
ycycall=repmat(ycyc,ndays,1); % Set up column vector of daily cycle
ystat=y - ycycall;

Date Subject Author
Read Time series
Read Re: Time series
Derek Goring

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.