650 likes | 762 Views
autocorrelation correlations between samples within a single time series. Neuse River Hydrograph. A) time series, d(t). d(t), cfs. time t, days.
E N D
autocorrelationcorrelations between samples within a single time series
Neuse River Hydrograph A) time series, d(t) d(t), cfs time t, days
high degree of short-term correlationwhatever the river was doing yesterday, its probably doing today, toobecause water takes time to drain away
Neuse River Hydrograph A) time series, d(t) d(t), cfs time t, days
low degree of intermediate-term correlationwhatever the river was doing last month, today it could be doing something completely differentbecause storms are so unpredictable
Neuse River Hydrograph A) time series, d(t) d(t), cfs time t, days
moderate degree of year-lagged correlationwhat ever the river was doing this time last year, its probably doing today, toobecause seasons repeat
Neuse River Hydrograph A) time series, d(t) d(t), cfs time t, days
1 day 3 days 30 days
Autocovariance = Autocorrelation x sdev^2 CFS2 1 3 30
Autocovariance of Neuse River Hydrograph The decay around 0 lag is like a composite or typical feature of the time series (a blend of the positive and negative excursions). Periodicities show up as repeating long-range autocorrelations.
Autocovariance of Neuse River Hydrograph symmetric about zero corr(x,y) = corr(y,x)
Autocovariance of Neuse River Hydrograph peak at zero lag a point in time series is perfectly correlated with itself
Autocovariance of Neuse River Hydrograph falls off rapidly in the first few days lags of a few days are highly correlated because the river drains the land over the course of a few days
Autocovariance of Neuse River Hydrograph negative correlation at lag of 182 days points separated by a half year are negatively correlated
Autocovariance of Neuse River Hydrograph positive correlation at lag of 360 days points separated by a year are positively correlated
Autocovariance of Neuse River Hydrograph repeating pattern A) B) the pattern of rainfall approximately repeats annually
Important Relation #1autocorrelation is the convolution of a time series with its time-reversed self. This is symmetric of course.
Important Relation #2Fourier Transform of an autocorrelationis proportional to thePower Spectral Density of time seriesRecall FT(a*b) = FT(a) x FT(b)
Summary rapidly fluctuating time series time narrow autocorrelation function lag 0 wide spectrum 0 frequency
Summary slowly fluctuating time series time wide autocorrelation function lag 0 narrow spectrum 0 frequency
scenariodischarge correlated with rainbut discharge is delayed behind rainbecause rain takes time to drain from the land
rain, mm/day time, days dischagre, m3/s time, days
rain, mm/day time, days rain ahead of discharge dischagre, m3/s time, days
rain, mm/day time, days shape not exactly the same, either dischagre, m3/s time, days
treat two time series u and v probabilistically p.d.f. p(ui, vi+k-1) with elements lagged by time (k-1)Δt and compute its covariance
just a generalization of the auto-covariance different times in different time series different times in the same time series
As with auto-correlation,two important properties #1: relationship to convolution #2: relationship to Fourier Transform
As with auto-correlationtwo important properties #1: relationship to convolution #2: relationship to Fourier Transform cross-spectral density
Examplealigning time-seriesa simple application of cross-correlation
central idea two time series are best alignedat the lag at which they are most correlated, which is the lag at which their cross-correlation is maximum
two similar time-series, with a time shift (this is simple “test” or “synthetic” dataset) u(t) v(t)
find maximum maximum time lag
In MatLab compute cross-correlation
In MatLab compute cross-correlation find maximum
In MatLab compute cross-correlation find maximum compute time lag
align time series with measured lag u(t) v(t+tlag)
solar insolation and ground level ozone (this is a real dataset from West Point NY) A) B)
solar insolation and ground level ozone B) note time lag
maximum C) time lag 3 hours