Autocorrelation Created 2026-09-28 Updated 2026-10-14
The autocorrelation function of a real weakly stationary process with positive variance is its normalized autocovariance:It is dimensionless, with , , and by the Cauchy-Schwarz inequality. It is unchanged by replacing with for fixed . This makes autocorrelation useful when comparing records measured on different scales. The ACF is a property of the model; the sample autocorrelation function estimates it and will generally not reproduce theoretical zeros exactly.
An AR(1) with coefficient has autocorrelations at lags one through three. With these become : the same diminishing magnitude, alternating in sign. An MA(1) with instead has lag-one autocorrelation and zero at every higher lag. Equal numerical coefficients in an autoregressive model and a moving-average model do not mean equal dependence. See Bartlett, lecture 3: theoretical ACFs and prediction.
Theoretical autocorrelation: AR(1) with coefficients 0.7 and -0.7, compared with MA(1) with coefficient 0.7
. Details. The bars show exact model autocorrelations, not estimates from the illustrated sample paths in time series. The AR(1) retains a diminishing trace of a disturbance at arbitrarily large lags; the MA(1) stops sharing driving noise after lag one. A zero autocorrelation means uncorrelated random variables, and does not generally imply independent random variables. For a Gaussian process it does imply independence of the two coordinates.
There is a direct prediction interpretation. Among affine predictions based on just , the best linear predictor of is , with mean squared prediction error . Thus negative autocorrelation is also useful predictive information. A prediction using the whole observed past can do better; best linear prediction from a finite past describes that problem. Interpreting the affine prediction as a conditional expectation requires additional assumptions, such as a joint normal distribution.
Autocovariance Created 2026-09-28 Updated 2026-10-14
The autocovariance measures how two observations of the same stochastic process vary together. For a real weakly stationary process of mean , it isWeak stationarity removes dependence on the absolute time . Without it, the covariance function generally needs two time arguments. Lag zero is the variance, ; symmetry of real covariance gives . Positive values favor deviations from the mean in the same direction; negative values favor opposite directions. The units are the square of the observation units. See Bartlett, lecture 2: autocovariance examples.
For example, if with centered unit-variance white noise, expanding the product leaves only matching noise times. Thus , , and for . This MA(1) has a positive lag-one autocovariance because adjacent observations share one disturbance. Rescaling every observation by multiplies every autocovariance by , while leaving autocorrelation unchanged.
The autocovariance is useful beyond comparing pairs: it determines the variance of any finite linear combination of observations. For the sample mean ,Each separation occurs in pairs. For the preceding MA(1) and , this is , compared with for four uncorrelated random variables of the same variance. This is the finite-record counterpart of the long-run variance of a stationary process.
Autoregressive integrated moving average 2026-10-14
An ARIMA model applies an autoregressive moving-average model to the differenced process , where is the backshift operator. Differencing permits stochastic trends whose levels are not weakly stationary processes. A local random-walk level observed with independent measurement white noise has an ARIMA(0,1,1) representation, or a formal ARMA(1,1) equation with autoregressive coefficient one.
Autoregressive process of order one Created 2026-09-28 Updated 2026-10-14
An autoregressive process of order one obeyswhere is real and is centered white noise of variance . The zero-mean version is ; in the affine form , the stationary mean satisfies .
For , its unique weakly stationary process solution on all integer times is the causal time-series representationThe sum converges in the sense of mean-square convergence because . It is an infinite moving-average representation using only present and past driving noise. Weak white noise suffices for this second-order conclusion; strong white noise also gives strict stationarity. The autocovariance of an AR(1) process is , so its variance is and its ACF is . See Bartlett, lecture 5: AR(1) representation and causality.
The appeal of an AR(1) is that one coefficient expresses how a deviation persists. For , disturbances propagate with weights . For , these weights alternate sign. With , , and , the recursive forecasts of an autoregressive process give and one and two steps ahead. If , the stationary variance is , while the one-step forecast error variance is only . Under weak white noise these are best linear forecasts; independent driving noise also makes them conditional expectations given the observed past.
The condition describes a stationary causal solution, not every finite recursion with those coefficients. Starting from a prescribed value gives the transient in finite initialization of an AR(1) process. Nor is it a condition for all possible two-sided stationary solutions: when , noncausal stationary autoregression uses future driving noise. See stationary versus causal solution of a two-sided AR(1) equation for the boundary cases.
Cross-spectrum of two stationary time series 2026-10-14
For zero-mean real weakly stationary processes whose cross-covariances are summable, the cross-spectrum is the Fourier series of their lagged covariance, with the displayed convention. Reality gives , but the cross-spectrum need not be real or even. Exchanging the two series gives . The entries form a Hermitian spectral density of a stationary process matrix.
Existence of a time-series spectral density 2026-10-07
A weakly stationary process has a time-series spectral density precisely when its spectral measure of a stationary time series is absolutely continuous with respect to Lebesgue measure. Absolute summability of its autocovariances is sufficient and yields a continuous Fourier-series density. It is not necessary for existence; for a general integrable density, Fejér sums give an recovery formula.
Filter transfer function 2026-10-14
The transfer function is the filter generating function evaluated on the unit circle, with a sign convention matching the Fourier representation. Filtering a sinusoid of angular frequency multiplies its complex amplitude by . Its modulus is the filter gain; filtering a weakly stationary process multiplies its time-series spectral density by . Using the opposite Fourier sign conjugates the response for real coefficients and leaves that squared modulus unchanged.
Lag of a time series 2026-10-14
A lag of a time series is a separation between observation indices. In an equally spaced time series, lag compares observations three intervals apart: for hourly readings this is three hours, while for daily readings it is three days. Positive and negative lags describe the same separation in opposite directions. The autocovariance and autocorrelation of a real weakly stationary process are even functions of lag.
Linear innovation process Created 2026-10-06 Updated 2026-10-14
For a square-integrable time series, let be the closed linear span of its past. The innovation is orthogonal to every past linear observation. A causal invertible autoregressive moving-average model is driven by these innovations, which are weak white noise for a weakly stationary process.
Long-memory time series 2026-10-06
A weakly stationary process can have very slowly decaying autocovariance, for example with and . Its sample mean can require a normalization different from . Long memory is dependence over long lags, rather than a changing marginal distribution.
Moving-average process of order one Created 2026-09-28 Updated 2026-10-14
A moving-average process of order one has the formwith centered white noise of finite positive variance . Each disturbance enters the current observation with weight and the next observation with weight , then leaves the filter. It is a weakly stationary process for every real : the mean is and the autocovariance of an MA(1) process depends only on lag. Strong white noise additionally makes it a strictly stationary process. No restriction is needed for stationarity.
For a worked observation calculation, take , , and consecutive noise values , , . Then and ; the same disturbance appears in both. If , the variance is , the lag-one autocovariance is , and the lag-one autocorrelation is . All higher-lag autocorrelations vanish, as shown in autocorrelation.
An MA(1) is useful for brief dependence caused by overlapping disturbances or measurements. Its name refers to a weighted moving sum of noise; its weights need not be positive or sum to one, and it differs from the data smoother in seasonal extraction by a centred moving average. Under strong white noise, observations more than one interval apart depend on disjoint independent noise families and are independent. Under weak white noise, the same cutoff establishes only uncorrelated random variables.
Invertibility of a moving-average model is a separate question: can the specified driving noise be recovered by a stable linear filter of present and past observations? For an MA(1) the answer, with the absolutely summable filter convention, is exactly :Thus gives a stationary MA(1) that is not invertible in this sense. At it is still stationary, but the inverse coefficients are not absolutely summable. The case is simply shifted white noise. See Bartlett, lecture 5: MA(1) and stable invertibility.
Multivariate moving-average model 2026-10-14
A multivariate moving-average model filters vector white noise through fixed matrix coefficients. If the noise has zero mean and lag-zero covariance matrix , with all nonzero-lag cross-covariances zero, then the filtered process is a weakly stationary process. With the convention , its covariance matrix is , omitting terms outside the filter range. Positive and negative lags satisfy .
Noncausal stationary autoregression 2026-10-06
A weakly stationary process satisfying an autoregressive model can depend on future driving white noise. For with , the convergent in the sense of mean-square convergence solution is . Its autocovariance is . This is different from a causal time series.
Nonstationary process 2026-10-06
A process is nonstationary if some finite-dimensional distribution changes under a common time shift. With finite second moments, failure of a constant mean or variance, or failure of lag-only covariance, already rules out a weakly stationary process. A periodic mean or periodic variance can instead give a periodically correlated process.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 40 5 Solution Created 2026-10-03 Updated 2026-10-14
For a weakly stationary process with finite second moments, let and , independent of . If , its autocorrelation function is . Given observations , one usual sample autocovariance function isThe correlogram plots against lag . The partial autocorrelation function at lag is the correlation between and after linearly projecting each onto the intervening observations. Its sample version can be calculated by solving the Yule-Walker regression equationsthen taking the last coefficient . Equivalently, use the corresponding residual correlation from the sample regressions, with a consistent covariance convention.
For a minimal causal autoregressive model of order , the population partial autocorrelation function is zero after lag , while the autocorrelation function follows an exponentially decaying or damped oscillatory tail. For a moving-average model of order , its autocovariance and hence autocorrelation are zero after lag , because observations farther apart share no driving-noise terms; its partial correlations usually tail off. These order identification by autocorrelation cutoffs patterns suggest AR or MA candidate orders. Sample cutoffs are approximate and should be judged with sampling uncertainty and residual diagnostics; the familiar white-noise bands near are a null approximation, not universal confidence limits for a dependent series.
For the trend problem, write a symmetric estimator asReproducing arbitrary constant and quadratic trends requires and ; the linear-trend condition holds automatically by symmetry. These constraints follow by expanding for a trend . Thus , . Since the errors are uncorrelated and the estimator is unbiased, its mean squared error isThe strictly convex quadratic is minimized at , giving the five-point symmetric quadratic trend smootherThis weighted moving average allows negative coefficients; a convex average could not cancel the quadratic moment.
For three points, symmetry gives weights . Unbiasedness for every quadratic requires and , so the only solution is . Thus there is no nontrivial three-point quadratic-preserving smoother. The literal claim that there is no unbiased estimator at all is false, since is unbiased with error variance . This is the three-point quadratic reproduction forces the identity filter distinction.
For seasonal extraction by a centred moving average, use the additive decomposition , where has period and its values over one period sum to zero. An average covering a full period removes the seasonal component and approximately retains a slowly changing trend. If is odd, take the centred length- average; if is even, centre it by averaging two adjacent length- averages, giving half weights at the two endpoints. Subtract this trend estimate from the data, average residuals within each seasonal phase over different cycles, and centre the resulting phase estimates to sum to zero. For a multiplicative decomposition, use ratios and normalize the phase estimates to average one.
Successive moving averages compose by convolution of their weights. Even an initially uncorrelated noise series becomes correlated: for weights , the filtered noise has covariance . Further smoothing changes this covariance again and can turn random variation into apparently persistent patterns while obscuring genuine short-scale features. Spectrally, repeated use of a transfer function multiplies the spectrum by after applications, so repeated smoothing is not harmless repetition of the same estimate.
In simple exponential smoothing, choose and update . Iteration gives , so older observations receive exponentially decreasing weights. Forecast for every . This is appropriate for a locally stable level with no persistent trend or seasonality.
For a local linear trend, double exponential smoothing supplies level and slope. Holt's linear trend method usesAnother standard convention is Brown's double exponential smoothing: smooth twice with the same gain, and , then put , and forecast . These variants handle a nonseasonal trend; seasonal effects need separate modelling, and a long-horizon linear extrapolation assumes the current local slope persists.
Past exam of the mathematics course of the University of Cambridge 2003 iii Paper 43 6 Solution Created 2026-10-03 Updated 2026-10-14
For the usual causal, stable autoregressive moving-average model with zero-mean white noise, sufficient conditions for a stationary invertible representation areThe roots of and then lie outside the closed unit disc. For a minimal representation these are the usual causality and invertibility root criteria for an ARMA model. A genuinely minimal ARMA(1,1) additionally has nonzero coefficients and no cancellation ; if a coefficient vanishes the order is lower. Common factors can reduce the process to white noise, so inequalities on an unreduced representation should not be asserted as necessary for every reduced process. A noncausal stationary solution of an unstable autoregressive equation is a different representation, and does not give the requested innovation-based Wold coefficients below.
Using the backshift operator , write . The absolutely summable geometric series givesThus the Wold representation isIts coefficients are square-summable, so the series converges in mean square and defines a weakly stationary process. Invertibility makes the closed spans of past observations and past innovations equal. Since the current driving white noise is orthogonal to all past innovations, it is orthogonal to all past observations and is the linear innovation of this causal invertible process.
The spectral density of an ARMA process follows from the squared frequency response of the linear filter of a stationary time series:This displayed density uses the usual two-sided convention. For the one-sided spectral density used in Question 5, multiply it by two and restrict to .
Let and for . Orthogonality of the driving white noise gives for . HenceFor , separate the term and sum the remaining geometric series:Negative lags satisfy . With , interpret the lag-one factor as one and later powers as zero, recovering the MA(1) covariance.
To express prediction entirely through observations, invert the moving-average factor:The best linear predictor from the whole past is thereforeIndeed is orthogonal to the closed linear span of the past. For any other past-measurable linear predictor , the mean squared error decomposes as , establishing optimality and error variance . The result only uses second-order properties; identifying this linear predictor with a full conditional expectation requires stronger assumptions such as independent innovations or joint Gaussianity. In the cancellation case within the stable range, , the off-zero covariances and predictor vanish, and the spectrum is constant.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 40 1 a Solution Created 2026-10-03 Updated 2026-10-14
For a weakly stationary process with mean and nonzero variance, put and . The function is its autocorrelation function. For observations , one common sample autocorrelation function isA correlogram plots these estimates against lag; the population analogue plots .
The lag- partial autocorrelation function measures the correlation between and after removing their linear projections on the intervening observations. Its sample counterpart can be calculated by the Yule-Walker equations: solveand take , assuming the matrix is nonsingular. This defines a standard sample partial autocorrelation function.
For a minimal causal autoregressive model of order , the autocorrelation typically decays geometrically, possibly with damped oscillations, whereas the partial autocorrelation function is zero beyond lag : after those preceding values have been projected out, the innovation is orthogonal to older values. For a moving-average model of order , nonoverlapping sets of driving white noise give for ; its partial autocorrelation function generally tails off when the representation is invertible. Thus an ACF cutoff suggests an MA order; a PACF cutoff suggests an AR order. An ARMA model generally has neither cutoff. These are population properties; sample noise makes cutoffs approximate, so fitted residuals and uncertainty should also be inspected. Under independent white noise, fixed-lag sample correlations have approximate standard error , giving a rough diagnostic band rather than a universal simultaneous test.
Past exam of the mathematics course of the University of Cambridge 2004 iii Paper 40 1 b Solution Created 2026-10-03 Updated 2026-10-14
For a discrete-time weakly stationary process, the spectral density of a stationary process, when it exists, is a nonnegative function satisfyingIf , thenA general second-order stationary process has a spectral measure of a stationary time series, which need not have a spectral density: a centered random constant has an atom at zero. Thus the spectral density calculation below assumes that exists; the corresponding measure identity holds without that extra assumption.
Absolute summability of the filter coefficients gives mean-square convergence becauseConsequently the bilateral filtered process is well defined, with constant mean . Its covariance isThe sum is absolutely convergent, since and . It depends only on lag, proving weak stationarity of .
Insert the spectral representation and interchange summation and integration using absolute summability and the finite total spectral mass. For real coefficients,Therefore the spectral density transformation under a linear filter isFor a bilateral sequence, is guaranteed to converge on the unit circle. Its negative powers need not converge inside the disk: for example, makes the series diverge at . Only the unit-circle values are used here, so the unnecessarily broad domain printed for does not affect the proof.
Past exam of the mathematics course of the University of Cambridge 2005 iii Paper 47 1 Solution Created 2026-10-03 Updated 2026-10-14
A real weakly stationary process has finite second moments, a time-independent mean , and autocovariance function depending only on the lag. Use the angular-frequency conventionThe time-series spectral density is nonnegative and integrates to . The displayed Fourier series is ordinarily justified by . More generally, weak stationarity gives a spectral measure of a stationary time series, not necessarily a spectral density. If a spectral density exists without this summability, its Fourier inversion can be understood using Fejér sums, which converge in and at its Lebesgue points. Thus spectral density existence should not be inferred from weak stationarity alone.
A white noise process has mean zero and . Neither independence nor a normal distribution is needed for this second-order definition. Its autocovariance function is zero at nonzero lags, soFor a real absolutely summable filter , the series defining has mean-square convergence: its tails have norm at most . Its mean is , andThe sum is absolutely convergent, since by the Cauchy-Schwarz inequality. It depends only on , proving that the output is a weakly stationary process. Substitute the spectral integral for and interchange the sums and integral, justified by and . This givesBecause the coefficients are real, the two factors are complex conjugates. Hence the spectral density transformation under a linear filter isFor complex coefficients the same formula holds with the conjugate-covariance convention.
Applying this result to the order-two moving-average model yieldsEquivalently, its nonzero autocovariances are , and , together with .
For the order-one moving-average process, invert its filter by a geometric series. The required coefficients areThey are absolutely summable for . Direct cancellation giveswith mean-square convergence. Thus the inverse filter recovers exactly the original white noise process, including its variance; it is an invertible time-series representation.
