Mathematics · Article
Time series, dependence and forecasting
Determine what a time series can tell you about its next observation. Derive dependence, prediction and uncertainty from exact models, from lag filters and spectral analysis to state-space inference and irregular physical time.
Back to MathematicsAfter reading, you can
- Distinguish strict stationarity, covariance stationarity, and independence, and derive finite-sample dependence from the actual model.
- Construct stable causal and invertible filters, and derive their forecasts, covariance and finite-history limitations.
- Use projection, innovations and dependence-aware lag sums to compute estimates and prediction uncertainty.
- Translate lag covariance into spectral density and reason about finite periodograms, aliasing and cross-series coherence.
- Derive Gaussian state-space prediction, conditional updating, likelihood and the treatment of missing observations.
- Evaluate point and interval forecasts at their true origins, including shared trends, conditional variance and irregular physical time.
Predict from the information available at each time
An ordered record can have a constant mean and changing variance, or zero correlation and strong dependence. Those cases require different forecasts. We start by specifying time, stationarity and innovations, then derive what averages, differences, moving averages and autoregressions do to the observations. The same variance and covariance may be compatible with multiple joint laws or multiple generative descriptions.
Forecasts use a defined history. Linear projection, Wold innovations and the covariance of an average give results from second moments. A conditional distribution adds information about nonlinear prediction and prediction intervals. In the frequency domain, a periodogram describes the observed record, while a spectrum describes a declared stationary process. Downsampling and common forcing show why similar spectra or coherent signals leave some physical questions undecided.
State-space models connect a partly observed state to noisy measurements, with a precise update when new data arrive. We derive the filter, its likelihood and its response to missing measurements, and use exact transitions when sample spacing changes. Examples from physical sensors, biological observations and resource demand show where a forecasting model's premises enter. Later sections use shared trends, changing volatility and overlapping forecast errors to make those limits explicit.
Stationarity is a statement about a time law
Let X=(X_t) be real-valued on a common probability space, with t an integer. Strict stationarity means that for every finite list t_1,…,t_m and integer h, the joint law of (X_(t_1+h),…,X_(t_m+h)) equals that of (X_(t_1),…,X_(t_m)). Weak stationarity requires finite second moments, one constant mean μ, and a covariance Cov(X_(t+k),X_t)=γ(k) depending only on the displacement k. All equalities of laws are statements about specified random vectors, independent of how the process was recorded.
If a strictly stationary process has a finite second moment at one time, its one-time law is the same everywhere, so the second moment and mean exist and are constant. For any t,k, shift the pair (t+k,t) by −t to obtain the same law as (X_k,X_0). The product and centered product are integrable by Cauchy–Schwarz. Their expectations agree under the common law, so Cov(X_(t+k),X_t)=Cov(X_k,X_0). This proves weak stationarity under the stated moment condition.
For the reverse direction, take a sequence independent over all t, with X_t equal to a symmetric ±1 variable when t is even and standard normal when t is odd. Each mean is zero and each variance is one. Distinct times are independent, with covariance zero. Therefore γ(0)=1 and γ(k)=0 for k≠0, and the sequence is weakly stationary. The even-time probability of |X_t|=1 is one, whereas at odd times it is zero by continuity of the normal law. The one-time laws differ, so a shift by one already violates strict stationarity.
Even identical marginal laws do not certify strict stationarity. For example, pair X_(2j)=X_(2j+1)=Z_j with independent symmetric signs Z_j across j. All single-time laws are the same, but P(X_0=X_1)=1 and P(X_1=X_2)=1/2. This comparison also shows why weak stationarity checks covariance at every lag and every starting index, not only time-invariance of the marginal mean and variance. Strict stationarity on its own can hold with infinite second moments, in which case these covariance summaries are unavailable. Related reading: [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf). The source distinguishes shift-invariant joint laws from invariant first and second moments. The proof adds the finite-second-moment requirement and gives precisely scoped alternating-law and equal-marginal counterexamples.
Autocovariance is a positive semidefinite kernel
Write U_t=X_t−μ. The centered second moment γ(0)=E U_t² is finite. Symmetry of the product and a change of starting index give γ(−k)=E[U_(t−k)U_t]=E[U_(s+k)U_s]=γ(k) with s=t−k. Cauchy–Schwarz with the two equal second moments gives |γ(k)|≤γ(0). If X is measured in units x, both γ(k) and γ(0) are in x². For γ(0)>0, ρ(k)=γ(k)/γ(0) is dimensionless, even, has ρ(0)=1 and satisfies |ρ(k)|≤1.
For any real coefficients a_1,…,a_n and integer indices t_1,…,t_n, expand the squared centered linear combination to get E[(∑_i a_i U_(t_i))²]=∑_{i,j} a_i a_j γ(t_i−t_j)≥0. If the times are consecutive this symmetric matrix has constant diagonals, so is Toeplitz and positive semidefinite. The same reasoning covers repeated indices and any finite set of missing indices. Equality means this particular linear combination vanishes in L², and is entirely possible even when γ(0)>0.
If γ(0)=0 then E U_t²=0 for every integer t. Each U_t vanishes almost surely, and the union of the exceptional sets over this countable time domain is null. Thus the entire process equals the deterministic constant μ on one event of probability one. Its covariance is zero and its usual correlation normalization is undefined. A different constant-path case is X_t=Z for every t with Var(Z)>0. Then γ(k)=γ(0) at all lags and each finite covariance matrix has rank one. Conversely, γ(k)=γ(0) for every k forces E[(X_t−X_0)²]=0 for every t and therefore gives this random-constant form.
Positive semidefiniteness is a joint constraint across lags, stronger than the scalar bound. For instance, normalized lags ρ(0)=1, ρ(1)=1 and ρ(2)=−1 satisfy |ρ(k)|≤1 at those lags. Yet variance zero of X_1−X_0 and X_2−X_1 would imply X_2=X_0 almost surely, contradicting ρ(2)=−1. Equivalently the quadratic form at coefficients (1,−2,1) for the proposed three-time matrix is negative. This necessary kernel check says nothing by itself about independence or the full distribution. Related reading: [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf). Use a positive finite variance for normalized correlation. The covariance bound is two-sided, and positive semidefiniteness follows from the squared linear combination. A time-constant random level and a deterministic constant have different correlation domains.
What a linear filter preserves
Let (a_j) be a deterministic real two-sided sequence with ∑_(j∈Z)|a_j|<∞. Define finite approximations Y_t^(m)=∑_(|j|≤m) a_j X_(t−j). Weak stationarity and finite variance give the same finite norm ‖X_t‖₂ at every t. For m'>m the L² norm of the difference is at most ‖X_0‖₂∑_(m<|j|≤m') |a_j| by the triangle inequality. The tail tends to zero, so completeness gives an L² limit Y_t, with the same limit for other exhaustions by finite subsets. No independent-input premise is required.
Expectation is continuous in L² since |E Z|≤‖Z‖₂. Therefore E Y_t=μ∑_j a_j, the same mean at every time. For centered variables use U_t=X_t−μ. A covariance of limiting sums is the limit of their finite covariances: Cauchy–Schwarz bounds the error in the product expectation by the norm of each difference times a bounded L² norm for the other factor. Expanding both finite centered sums consequently gives Cov(Y_(t+k),Y_t)=∑_j∑_l a_j a_l γ_X(k−j+l).
Every summand magnitude is at most γ_X(0)|a_j a_l|, so the double series is absolutely summable with bound γ_X(0)(∑_j |a_j|)². This proves that changing summation order or taking the independent truncation limits has no effect, and that the covariance depends only on k. A filter can turn uncorrelated noise into correlated output by sharing input terms. The result only requires covariance stationarity; a finite set of linearly transformed observations is asserted to be Gaussian only where the full input Gaussian premise is supplied.
When a_j=0 for j<0, Y_t uses current and past X and has a version measurable with respect to the sigma-field of observations through t, using the L² limit of such variables. A two-sided coefficient sequence may have nonzero weights on X_(t+|j|), which require future observations relative to t when implementing that formula. It can be used for retrospective smoothing with the declared data boundary. Even for a causal infinite series, a finite starting record may omit old terms. The norm bound describes truncation error, and it does not manufacture missing values or show that parameters estimated using future data are available at the forecast origin. Related reading: [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf), [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). Finite moving averages motivate the covariance expansion. The proof establishes L² convergence and absolute double summation for the full two-sided coefficient class, and explains which terms are observable at the declared origin.
White noise may still be dependent
Let (Z_t) be independent standard normal variables on all integers and define X_t=Z_t Z_(t−1). The shift of any finite list of these products has the same law because it uses the same shifted product construction on an iid input. E X_t=0 by independence and E X_t²=E Z_t² E Z_(t−1)²=1. This gives mean zero and constant finite variance. The joint law of adjacent products still needs a separate calculation because an input is shared.
If k≥2 then X_(t+k) and X_t depend on disjoint independent sets and are independent. At k=1 their product is Z_(t+1) Z_t² Z_(t−1), whose expectation vanishes since each outside factor is centered and independent of the others. Negative lags give the same results by symmetry. Therefore all nonzero-lag covariances vanish and X_t is white noise in the finite second-moment sense. This definition does not require the time sequence to be independent.
For adjacent squares, independence of the three original normal variables gives E[X_t² X_(t+1)²]=E Z_(t−1)² E Z_t⁴ E Z_(t+1)²=3. The fourth moment follows from the standard normal density by integration by parts, E Z⁴=3 E Z². Both square means are one, so Cov(X_t²,X_(t+1)²)=2. If X_t and X_(t+1) were independent, the expectations of their integrable square functions would factor. The nonzero covariance proves dependence even though the ordinary autocovariance is zero.
By contrast, if the entire observed process is jointly Gaussian, every finite vector with diagonal covariance has characteristic function exp(i u·m−∑_j u_j² v_j/2), the product of its one-coordinate characteristic functions. This remains true for any zero-variance coordinates. Uniqueness gives independence of those finite coordinates, and hence of the process in the usual finite-subset sense. Merely checking a normal marginal or an autocovariance is inadequate. Adjacent products here exhibit a concrete nonlinear dependence that a covariance-only model cannot measure. Related reading: [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf), [Modeling a conditional variance](https://web.pdx.edu/~crkl/ec572/readings/Engle82.pdf). White noise has zero covariances only off the diagonal unless degenerate. Adjacent products are proved dependent through their squares. The independence consequence requires the full joint Gaussian premise.
Deterministic trend and random walk
Consider Y_t=a+bt+U_t where a,b are deterministic and (U_t) is weakly stationary with zero mean. Then E Y_t=a+bt and Cov(Y_t,Y_s)=γ_U(t−s). The trend is an additive deterministic part of the mean. If a,b are known, subtraction gives precisely U_t and keeps its covariance. If b≠0, Y_t itself is not weakly stationary because the mean moves with time, even though its variance does not.
On t≥0, define X_t=X_0+bt+∑_(i=1)^t ε_i with centered independent increments ε_i of common variance σ² and E X_0=a, Var(X_0)=v_0<∞, independent of the increments. Empty sums are zero. The mean is also a+bt. For s,t≥0 the centered product expansion has an initial v_0 contribution and one σ² for each index in the overlap of the two increment sums. All other terms have zero expectation by centering and independence. Thus Cov(X_t,X_s)=v_0+σ² min(t,s) and Var(X_t)=v_0+tσ².
Subtracting any deterministic sequence d_t leaves the variance at every time and the two-time covariance unchanged. A random walk with σ²>0 therefore remains nonstationary after deterministic detrending on the stated half-line, even if d_t removes its entire mean. If σ²=0 each centered increment vanishes almost surely, so the random part is the time-constant X_0−a and detrending can give a stationary law. This boundary illustrates why the nondegenerate-increment premise matters.
The lag difference ΔX_t=X_t−X_(t−1)=b+ε_t for t≥1 has constant mean b and white centered residuals. Differencing the trend-plus-stationary model gives b+(U_t−U_(t−1)), whose covariance is 2γ_U(k)−γ_U(k−1)−γ_U(k+1). So the operations answer distinct model assumptions, despite both processes having the same visible linear mean. In time units of one sample interval, b gives the expected increment per interval and σ² the squared increment units. A change in observation interval must be modeled before rescaling either. Related reading: [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf), [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The notes supply the fixed-start random-walk covariance and differenced-walk context. The proof also includes an independent random initial level and shows that deterministic subtraction leaves growing variance unchanged.
Differencing and the dependence it creates
Let B X_t=X_(t−1), Δ=1−B and Δ_S=1−B^S for a positive integer season S on the equally spaced integer grid. For a polynomial p(t) of degree d≥1 and leading coefficient a_d, p(t)−p(t−S) has leading term d S a_d t^(d−1), by expanding (t−S)^d. Constants vanish, so repeating a nonzero-lag difference d+1 times annihilates a degree-d trend. A fixed mean pattern satisfying r_t=r_(t−S) is annihilated by Δ_S in one pass, without assuming its values are random seasonal innovations.
The operators commute because each is a polynomial in B. Thus ΔΔ_S eliminates both a fixed period-S mean and a degree-one deterministic trend: Δ_S turns the trend into its constant seasonal increment and Δ removes that constant. On a finite record X_1,…,X_n, ordinary and seasonal differences first use rows 2 and S+1 respectively. The combined difference uses offsets 0,1,S,S+1, so begins at row S+2 if present. When S=1 the two middle offsets coincide and their coefficients add. Any padding rule or initial observations outside the record require their own declaration.
Take centered white noise ε_t of variance σ² and put V_t=ε_t−ε_(t−S). Its mean is zero and its covariance at lag k is σ²[2·1_(k=0)−1_(k=S)−1_(k=−S)]. To see this, expand E[(ε_(t+k)−ε_(t+k−S))(ε_t−ε_(t−S))]. Each product contributes σ² exactly when its time indices coincide, with signs given by the two difference coefficients. In particular the variance is 2σ² and each seasonal neighbor covariance is −σ². With S=1 this gives adjacent correlation −1/2 when σ²>0.
For a finite filter with weights c_j, the same expansion gives covariance σ²∑_j c_(j+k)c_j, with zero coefficients at unlisted indices. Applying that rule to ΔΔ_S identifies every shared-input covariance, including coincident offsets. Unnecessary differencing of white noise doubles its variance and introduces negative covariance at the differencing lag; independent input does not make the output independent. These formulas concern equally spaced data and equal input variances. A missing interval does not become an ordinary one-step difference merely because its two records are adjacent in a file. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). Ordinary differencing is the selected integrated-model context. The proof derives the polynomial and seasonal filters, their actual offset collisions and finite-record starts, and the new dependence caused by subtracting white noise.
Finite moving averages and the end of their covariance
Let X_t=μ+∑_(j=0)^q θ_j ε_(t−j) with θ_0=1, and let the innovations be centered white noise of variance σ². Then E X_t=μ. Expand the centered covariance at lag k≥0 and retain only pairs with t+k−j=t−i. They have j=i+k, giving γ(k)=σ²∑_(i=0)^(q−k) θ_(i+k)θ_i for k≤q. There are no such pairs for k>q, and γ(−k)=γ(k). This includes γ(0)=σ²∑ θ_j² and the immediate cutoff when q=0.
For a forecast at time t, now suppose the innovations are independent over time and their history through t is known, with information sigma-field generated by that history. In the expression for X_(t+h) with h≥1, the terms whose time indices satisfy t+h−j≤t are measurable at the forecast origin. Each future innovation has conditional mean zero by independence. Therefore the conditional mean is μ+∑_(j=h)^q θ_j ε_(t+h−j), where the sum is empty when h>q. A larger information set is allowed only if it preserves the required future conditional laws.
The forecast error is the sum ∑_(j=0)^(min(q,h−1)) θ_j ε_(t+h−j) of future terms. They are independent of the known history and pairwise uncorrelated with common variance, so the conditional MSE is σ²∑_(j=0)^(min(q,h−1)) θ_j². It reaches the unconditional variance once h>q. For Gaussian independent innovations the conditional error has the corresponding Gaussian distribution; with general innovations only the relevant finite sum law and its moments follow.
Only the shared innovation contributes to covariance at lag one. All larger lags use disjoint uncorrelated innovations. Invertibility separately asks whether the lag polynomial can be inverted by a stable one-sided filter.
| Quantity | Exact result |
|---|---|
| Variance | 5 |
| Lag-one covariance | 2 |
| ACF at lags 0…4 | [1, 2/5, 0, 0, 0] |
| Invertibility of 1+θz | Invertible; when θ=0 the factor is constant |
| Lag-factor zero and second-order scope | The lag-factor zero is z=−2, outside the unit circle. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| theta | 1/2 |
| v | 4 |
Observed values through t are linear combinations of past innovations, but knowing those combinations can be weaker than knowing the innovation history. Taking a conditional expectation with respect to observed data then replaces known-history terms by their observed-data conditional expectations. A valid invertible causal representation can recover the innovations from an infinite observed past, with a separate finite-record initialization error. A covariance cutoff gives no such recovery on its own, and a claim of independence beyond lag q additionally requires disjoint sets of independent innovations. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf), [Finite prediction and innovations](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/10.pdf). The finite MA covariance and cutoff follow from overlapping innovations. The conditional forecast additionally needs independent future shocks and known innovation history. The proof separates that forecast from one based only on observations.
Two MA(1) descriptions of the same covariance
Consider a real MA(1) X_t−μ=ε_t+θ ε_(t−1), with σ²=Var(ε_t)>0 and centered white innovations. The covariance is γ(0)=σ²(1+θ²), γ(1)=σ²θ and zero at |k|>1. For m≥0 form S_m(t)=∑_(j=0)^m (−θ)^j(X_(t−j)−μ). Expanding the observation terms cancels every interior innovation, leaving ε_t+θ(−θ)^m ε_(t−m−1). The squared L² norm of the remainder is σ² |θ|^(2m+2).
If |θ|<1, this tends to zero and the coefficient sequence is absolutely summable. The infinite causal filter recovers ε_t in L² and can be defined measurably from the infinite past of X. A finite record only justifies the stated remainder for the corresponding finite sum. At |θ|=1 this particular remainder has variance σ² at every m. An exact absolutely summable causal inverse with unit constant coefficient would require coefficients b_j satisfying b_j+θ b_(j−1)=0 by cancellation of the white-noise basis, so b_j=(−θ)^j; these are not summable at the boundary. That conclusion does not rule out all other limiting methods of prediction.
For θ≠0 choose θ'=1/θ and an innovation variance σ'²=θ²σ². Direct substitution gives σ'²(1+θ'²)=σ²(1+θ²) and σ'²θ'=σ²θ. Higher-lag covariances still vanish. The mean is unchanged. With independent Gaussian innovations in each construction, each finite observed vector is jointly Gaussian with this same mean and covariance, so the two observed laws coincide. For non-Gaussian innovations even independence and the same covariance supply no general equality of finite-dimensional laws.
When 0<|θ|<1 the reciprocal has |θ'|>1, and conversely when |θ|>1. Choosing the invertible member fixes the representation within this reciprocal pair and supports the stated causal forecast. When θ=0 no finite reciprocal is needed and the direct innovation is observable. At θ=±1 the pair coincides at the nonsummable boundary. If σ²=0 all centered outputs vanish and the covariance identifies no θ. Distinguishing these cases prevents treating the coefficient of a noninvertible generative description as a past-observed innovation recovery rule. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The selected MA inverse is geometric. The proof gives its exact finite-history remainder, the reciprocal variance, the joint Gaussian equality of laws and the unit-modulus and zero-variance boundaries.
The causal stationary AR(1)
Write X_t=a+φ X_(t−1)+ε_t with |φ|<1, centered independent innovations of common variance σ², and μ=a/(1−φ). The series Y_t=∑_(j≥0) φ^j ε_(t−j) defines an L² random variable. The variance of a finite tail is σ² times the corresponding sum of φ^(2j), which tends to zero. Rearranging this convergent causal series gives Y_t=φ Y_(t−1)+ε_t. Then X_t=μ+Y_t solves the affine recurrence. The causal construction makes Y_(t−1) measurable in past innovations and independent of ε_t.
For k≥0, the only surviving cross-products in E[Y_(t+k)Y_t] match innovation indices. Their coefficient product is φ^(i+k)φ^i for i≥0, so γ(k)=σ² φ^k/(1−φ²), and γ(−k)=γ(k). The variance is v=σ²/(1−φ²), and negative φ gives alternating signs at odd lags. The weakly stationary solution uses only the common means and variances plus independence. For iid innovations the whole finite-dimensional law is shift-invariant as well, by taking limits of shifted finite series with identical laws.
To prove uniqueness for solutions driven by the same innovations, suppose a finite-variance weakly stationary solution X'_t has the given recurrence on the integers. Its mean solves μ'=a+φ μ', so μ'=μ. Iterating backwards m steps gives X'_t−μ=∑_(j=0)^(m−1) φ^j ε_(t−j)+φ^m(X'_(t−m)−μ). The L² norm of the last term is |φ|^m times the constant stationary standard deviation, hence tends to zero. The limit is the same causal series without requiring independence as an extra uniqueness premise. Equality in L² at each integer time gives simultaneous equality almost surely by countability.
For a one-sided process seeded at time zero, an independent initial state of mean m_0 and variance v_0 gives mean μ+φ^t(m_0−μ) and variance φ^(2t)v_0+σ²∑_(j=0)^(t−1)φ^(2j). Weak stationarity requires the complete stationary second-order conditions, achieved by m_0=μ and v_0=v under independence of the future innovations. With iid innovations, using the actual causal-solution marginal and independent future shocks gives strict stationarity. Choosing this mean and variance alone does not specify that marginal. When σ²=0 the stationary causal solution is the constant μ, and the usual correlation is then undefined. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The stable causal AR(1) autocovariance follows from geometric overlap. The proof gives its signed extension, stationary uniqueness on the declared clock and the precise initial-law requirements for weak or strict stationarity.
Forecasting several steps from an AR(1)
Assume the state X_t is observed exactly and follows X_t=a+φ X_(t−1)+ε_t. Let F_t describe the actual history available for forecasting, containing X_t and no future information about the centered innovations. Require the future innovations to be mutually independent and independent of F_t, with common variance σ². Iteration gives X_(t+h)=φ^h X_t+a∑_(j=0)^(h−1)φ^j+∑_(j=0)^(h−1)φ^j ε_(t+h−j) for a positive integer horizon h. The formula holds for any real φ at finite h.
The conditional mean is the first two terms of the iteration. If φ≠1 it may be written μ+φ^h(X_t−μ) with μ=a/(1−φ). For |φ|<1 that μ is the stationary mean; the algebra alone assigns no stationarity at other coefficients. If φ=1 the mean is X_t+ah. The conditional error is the remaining weighted sum of future innovations. Expanding its square and using zero cross terms gives σ²∑_(j=0)^(h−1)φ^(2j), or σ²(1−φ^(2h))/(1−φ²) when |φ|≠1 and hσ² when |φ|=1.
At h=0 the mean is the observed state and its conditional error is zero. For 0≤|φ|<1, the forecast mean approaches μ and the error variance approaches the stationary variance with known parameters. In the Gaussian innovation case the conditional forecast law is normal with this mean and variance, degenerating at zero variance. For other innovation laws, the weighted sum is the exact error distribution under the declared independent innovations. A Gaussian interval based solely on its variance has no exact coverage statement in general.
Unrolling the autoregression gives a forecastable part and a signed linear sum of future innovations. Uncorrelated innovations eliminate cross terms in the unconditional error variance. White noise alone does not establish a conditional mean or variance given nonlinear history.
| Quantity | Exact result |
|---|---|
| Selected horizon | 3 |
| Best linear forecast | 3/2 |
| Unconditional forecast error variance | 21/16 |
| Stationary variance | 4/3 |
| Persistence coefficient φⁿ at n=h | 1/8 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| phi | 1/2 |
| v | 1 |
| m | 1 |
| x | 5 |
| h | 3 |
If the state is measured with error, iterating the recurrence calls for the conditional state estimate and its remaining uncertainty, not simply substituting a noisy reading for X_t. If parameters are fitted from the observed training record, the formula with their estimates is a plug-in model prediction. Parameter error and model selection can change realized coverage, even if the innovations are normal under the true law. The independence assumptions and units of these variances refer to the model's time increments. Future-fitted coefficients do not define a prospective forecast from F_t. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf), [Point forecast loss and Gaussian prediction intervals](https://otexts.com/fpp3/toolbox.html#prediction-intervals). The proof iterates the known conditional law and sums the squared innovation coefficients. The cited forecasting discussion gives interval context. It does not include parameter uncertainty in the lesson's conditional formula.
Lag roots and causal autoregressions
Let the centered autoregression be A(B)Y_t=ε_t with A(z)=1−∑_(j=1)^p φ_j z^j, real coefficients, and all roots strictly outside the closed unit disk. Remove any trailing zero terms to find the degree r. Factoring over the complex numbers gives A(z)=∏_(i=1)^r(1−λ_i z) with |λ_i|<1; repetition and complex conjugates are included. Each reciprocal factor has coefficients λ_i^j for j≥0 and absolute coefficient sum 1/(1−|λ_i|). The product reciprocal has coefficients ψ_j given by finite convolution of these one-sided sequences, with ∑_(j≥0)|ψ_j|≤∏_i(1−|λ_i|)^−1. Constant A uses an empty product equal to one.
Multiplying the convergent series by A gives the coefficient identity A(z)∑ ψ_j z^j=1 on the unit disk, equivalently coefficient convolution with the unit sequence. The real coefficients of A make the ψ_j real, either by conjugate pairing or the coefficient recurrence. Let the innovations be centered white noise of finite variance. The filter construction gives the L² causal solution Y_t=∑ ψ_j ε_(t−j) and its stationary covariance. Filtering this sum by the finite coefficients of A uses the same coefficient convolution and gives ε_t. With iid innovations the causal solution is also strictly stationary.
Conversely any stationary finite-variance solution W to A(B)W=ε has sup_t‖W_t‖₂ finite. Apply the absolutely summable filter ψ(B) to both sides. All the sums may be reordered in L² because A is finite and the sum of the norms is bounded by sup_t‖W_t‖₂ times the absolute coefficient sums. Coefficient convolution reduces the left side to W_t and the right side to the causal solution. This proves uniqueness for the same innovation sequence without requiring a separate Gaussian hypothesis, positive variance or simple real roots.
For the noncentered equation A(B)X_t=c+ε_t, the stationary mean is μ=c/A(1), which exists since z=1 is excluded from the roots. This premise is a condition on lag-polynomial zeros z, whereas the λ_i are reciprocal roots. Reversing them changes the stability rule. The inverse construction gives a stationary process on the whole integer grid. An arbitrary seeded initial state vector on a finite record needs a stated initial law and does not inherit that stationary claim merely because A passes the root test. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The notes state the root test and defer the proof. The lesson proves absolute summability by factoring reciprocal roots, including repeated and complex roots, and gives the L² inverse and stationary uniqueness.
Noncausal and unit-root boundary cases
For the centered recurrence Y_t=φY_(t−1)+ε_t with |φ|>1, assume centered independent innovations of common positive finite variance σ² on the whole integer line. Solve forward in the recurrence starting from time t+1: Y_t=φ^(−m)Y_(t+m)−∑_(j=1)^m φ^(−j) ε_(t+j). In any finite-variance stationary solution the norm of the terminal term tends to zero. The independent-square norm of the future shock sum converges, yielding the unique stationary finite-variance candidate Y_t=−∑_(j≥1) φ^(−j) ε_(t+j).
This series is valid in L² and gives a weakly stationary process by the covariance filter argument. For iid innovations it gives a strictly stationary process. Shifting the sum by one shows φY_(t−1)=−ε_t−∑_(j≥1)φ^(−j)ε_(t+j), hence the recurrence holds. The variance is σ²/(φ²−1). The immediate dependence test is Cov(Y_(t−1),ε_t)=−σ²/φ, because Y_(t−1) contains the term −φ^−1 ε_t and the remaining future shocks are orthogonal to ε_t. This nonzero result rules out independence from the past state.
At φ=±1 in a causal model, ε_t is independent of Y_(t−1). If the variance were a constant finite v, the variance equation would be v=φ²v+σ²=v+σ². Positive σ² makes it impossible. In fact with these independent shocks any bounded-second-moment centered solution on the whole line is impossible at unit modulus: iterate the recurrence m times and compare ‖Y_t−φ^mY_(t−m)‖₂, bounded by twice a uniform L² bound, to the weighted shock sum with norm σ√m. This contradiction does not need an independence premise between state and shock.
A finite record generated forward at |φ|>1 with independent innovations and initial state does not realize the stationary future-shock representation. For example its variance at t is φ^(2t)v_0+σ²∑_(j=0)^(t−1)φ^(2j), which grows for positive σ². The existence of a stationary algebraic solution is thus insufficient to justify causal forecasts. If innovation variance vanishes, the unit-modulus variance contradiction no longer applies, and the exact affine mean equation must also be checked. A nonzero drift with φ=1 cannot have a constant finite mean. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The selected discussion of stability is for the causal past-innovation representation. The proof constructs the stationary future-innovation solution, quantifies its failure of innovation independence and treats unit-modulus and zero-noise limits.
ARMA filters, invertibility and common factors
Let A(z)=1−∑_(i=1)^p φ_i z^i, M(z)=∑_(j=0)^q θ_j z^j with θ_0=1, and A(B)Y_t=M(B)ε_t for centered Y. If A has no zero in the closed unit disk, its causal inverse has absolutely summable coefficients. Multiplying by the finite M gives an absolutely summable impulse response Ψ(z)=M(z)/A(z). The causal filter Y=Ψ(B)ε gives the stationary L² solution for finite-variance white noise. Coefficient convolution verifies the equation and the inverse argument gives uniqueness among stationary finite-second-moment solutions for those innovations.
If M likewise has no zero in the closed unit disk, the same argument applied to M yields the causal recovery filter ε=(A/M)(B)Y with absolutely summable coefficients. Its product with Ψ equals one coefficient by coefficient, with L² convergence permitting associativity because the coefficient absolute sums and the stationary L² norms are bounded. The causal construction is a condition on A. Recovering shocks from observed current and past values depends on M too. A finite past truncation gives an approximate recovery, with a separate tail bound.
For k>q, multiply A(B)Y_(t+k)=∑_(j=0)^q θ_j ε_(t+k−j) by Y_t and take expectations. Each innovation index on the right is strictly after t, whereas the causal Y_t is the L² limit of combinations of innovations through t. All cross-expectations on the right vanish by whiteness and the limit bound. Thus γ(k)=∑_(i=1)^p φ_i γ(k−i) for k>q, using symmetry if some k−i are negative. For k≤q the overlapping innovation terms cannot be suppressed by that argument.
If A and M share a normalized factor D with D(0)=1, then the causal transfer ratio cancels D. For example A(z)=(1−0.4z)(1−0.2z) and M(z)=1−0.4z give exactly Ψ(z)=1/(1−0.2z). Driven by the same innovations this is the same process as the lower-order AR(1), with the same entire law. The written orders (2,1) therefore cannot be identified from the data in such a redundant description. Parameter identification requires a minimal model convention in addition to the conditions for stability and inversion. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The causal and inverse transfer ratios and factor cancellation agree. The printed boundary equation for h≤q drops a factor θ_j, while the large-lag recurrence remains correct. The proof uses the actual finite innovation products and does not adopt the defective sum.
Least-squares forecasting in a finite history
Let Y be the square-integrable quantity to predict and Z an m-vector of square-integrable predictors. Write μ_Y=E Y, μ_Z=E Z, Γ=Cov(Z,Z) and c=Cov(Z,Y) as a column vector. For any b, the optimal affine intercept is μ_Y−bᵀμ_Z because it makes the residual have mean zero. The resulting mean square loss is Var(Y)−2bᵀc+bᵀΓb. This is a convex quadratic with Γ positive semidefinite, and any Γb=c gives a minimum by completing the difference as (b−b_*)ᵀΓ(b−b_*).
A solution exists even if Γ is singular. For any v with Γv=0, the predictor combination vᵀ(Z−μ_Z) has zero second moment and hence equals zero almost surely. Then vᵀc=0, so c is orthogonal to the null space. The symmetry of Γ implies c belongs to its range. Any two solutions differ by a null vector and hence yield the same affine prediction almost surely. The residual is orthogonal to every centered predictor and the constant. This establishes uniqueness as a random variable on the actual predictor span, regardless of coefficient nonuniqueness.
If (Y,Z) is jointly Gaussian, the centered residual R=Y−μ_Y−bᵀ(Z−μ_Z) and Z are jointly Gaussian and have zero cross-covariance. Their characteristic function splits into the product of the residual and predictor characteristic functions, even if the covariance is singular. Thus R is independent of Z and E[R|Z]=0. The affine prediction equals E[Y|Z] and minimizes mean square risk among all measurable square-integrable functions of Z by the orthogonal expansion of the residual square.
Without the jointly Gaussian law, zero predictor covariance only gives orthogonality to their linear span. Let Z be standard normal and Y=Z². Then μ_Y=1, E[(Y−1)Z]=0 by symmetry, and the best affine forecast is the constant one with squared error expectation E Z⁴−1=2. The actual conditional mean given Z is Z² and is exact here. This example gives a visible difference between the two forecasting objects under a normal predictor marginal. It also shows why a covariance table alone cannot justify a Gaussian conditional forecast. Related reading: [Finite prediction and innovations](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/10.pdf), [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The nonsingular normal equations give context for the finite projection. The proof handles the singular predictor span and independence of the joint Gaussian residual, then gives a nonlinear conditional forecast where the affine forecast differs.
Yule–Walker equations and partial autocorrelation
For a centered causal AR(p), write X_t=∑_(j=1)^p φ_j X_(t−j)+ε_t where the innovation is centered, has variance σ²>0 and is orthogonal to all states through t−1. Multiplying by X_(t−k) for k≥1 and using stationarity gives γ(k)=∑_(j=1)^p φ_j γ(k−j). At k=0 the additional term is Cov(ε_t,X_t)=σ², so γ(0)=∑ φ_j γ(j)+σ². The first p equations form the symmetric Toeplitz normal system for predicting the current state from p lags.
The ordinary causal white-noise construction ensures positive definiteness on every finite collection of distinct times. If a nonzero linear combination picks a latest time t_* with coefficient a_*≠0, its component in the direction of ε_(t_*) is a_* ε_(t_*), orthogonal to the remaining earlier-time terms. Its variance is at least a_*²σ²>0. This establishes uniqueness of the finite lag coefficients, and the lag p forecast residual is ε_t. Redundant or zero innovation directions outside these hypotheses require the singular projection formulation.
For k≥1, project X_t and X_(t−k) onto the linear span of the shared intermediate values X_(t−1),…,X_(t−k+1). At k=1 this span is zero. Their residuals F and G have positive variance under the finite positive-definite premise. The lag-k partial autocorrelation is Cov(F,G)/(‖F‖₂‖G‖₂). The reversed order of a real stationary Toeplitz covariance preserves the relevant Gram and variance calculations, so the residual variances are equal. Regressing F on G gives the coefficient of X_(t−k) in the full k-lag projection, equal here to the partial autocorrelation.
When k>p, the span of intermediates contains the p states used by the autoregression. The residual of X_t after projection onto that span is exactly ε_t by orthogonality. The other residual G is a linear combination of earlier states, so its covariance with ε_t is zero. This proves the population cutoff. At k=p the last coefficient is φ_p, which may itself vanish for a lower effective order. Estimates from finite records need not display exact zeros, and interpreting a sample partial autocorrelation as a pure causal AR order requires an actual model assessment. Related reading: [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf), [Finite prediction and innovations](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/10.pdf). The correct partial correlation residualizes the intermediate observations, regardless of the mislabeled subscript in the notes. Positive-definite finite lag spans and innovation orthogonality prove the cutoff for the declared causal AR model.
Durbin–Levinson prediction recursion
Use centered observations with real stationary covariance γ, taking the Gram matrices through the size in question positive definite. Let a_(m−1,j) be the coefficients for predicting X_0 from X_−1,…,X_(−m+1), and let v_(m−1) be the residual variance. Set F=X_0−∑_(j=1)^(m−1) a_(m−1,j)X_(−j). By reversal of the Toeplitz Gram matrix the projection of X_(−m) onto the same intermediates has residual G=X_(−m)−∑_(j=1)^(m−1) a_(m−1,j)X_(−m+j). Both are orthogonal to the intermediates and have variance v_(m−1)>0.
The covariance of F and G is Cov(F,X_(−m)) since F is orthogonal to the intermediate projection. Expanding gives γ(m)−∑_(j=1)^(m−1) a_(m−1,j)γ(m−j). Put κ_m equal to this quantity divided by v_(m−1). The one new direction in the lag-m predictor span after removing intermediates is G, so the new forward residual is F−κ_m G. Its reversed counterpart is G−κ_m F because the two variances agree. The reflection coefficient is the same lag-m partial autocorrelation from the two residuals.
Expansion shows that the coefficient of X_(−m) in the new forward predictor is a_(m,m)=κ_m, and a_(m,j)=a_(m−1,j)−κ_m a_(m−1,m−j) for 1≤j<m. Its residual variance is v_m=Var(F)−2κ_m Cov(F,G)+κ_m² Var(G)=v_(m−1)(1−κ_m²). The initial step uses v_0=γ(0), no coefficients and κ_1=γ(1)/γ(0). Positive definiteness makes the two residuals linearly independent in L² and forces |κ_m|<1, so every stated next division is valid.
For merely positive semidefinite covariances, a zero v_m may mean there is already an exact linear predictor. When v_(m−1)>0 but |κ_m|=1, the variance update gives exactly that zero. A further step cannot divide by the zero residual variance to define a reflection coefficient. The projection onto the actual span still exists, with coefficients allowed to be nonunique. Near-zero estimated v_m raises a numerical conditioning issue rather than permission to change the model. Both v_m and γ are in squared observation units, and κ_m is dimensionless. Related reading: [Finite prediction and innovations](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/10.pdf). Selected slides give the last-coefficient and variance identities. The proof constructs the forward and reversed residuals, derives the coefficient recursion and identifies exactly when a zero residual ends the quotient formula.
Square-integrable innovations and Wold decomposition
Work in the real Hilbert space formed by the closed linear span of all centered X_t in L². Set H_t=closure span{X_s:s≤t} and H_*=∩_(t∈Z) H_t. The time shift on finite linear combinations preserves inner products by stationarity. It is well defined even when a combination vanishes in L², extends by continuity, and has the backward shift as inverse. It maps H_t to H_(t+1) and leaves H_* invariant. Thus the innovations U_t=X_t−P_(H_(t−1))X_t shift with time, and their common variance v is finite.
The orthogonal complement of H_(t−1) within H_t is spanned by U_t, with the zero vector allowed, since H_t is generated by adjoining X_t to H_(t−1). Innovations at different times are orthogonal. For any integer m≥1, successive orthogonal splittings give X_t=P_(H_(t−m))X_t+∑_(j=0)^(m−1) P_(span U_(t−j))X_t. When v>0 the jth projection is ψ_j U_(t−j) with ψ_j=E[X_t U_(t−j)]/v. Shift invariance makes the coefficient independent of t, and ψ_0=1.
As m increases, the H_(t−m) decrease. If w_m=P_(H_(t−m))X_t, then for l>m, ‖w_m−w_l‖₂²=‖w_m‖₂²−‖w_l‖₂² by nesting. The decreasing squared norms therefore make (w_m) Cauchy. Its limit belongs to every H_(t−m), hence to H_*. Moreover X_t−w_m is orthogonal to H_* for each m, so the limit is D_t=P_(H_*)X_t. Passing to the limit yields X_t=D_t+∑_(j≥0) ψ_j U_(t−j) in L². Orthogonal summation gives v∑ ψ_j²=Var(X_t)−Var(D_t), proving square summability.
If v=0 all the H_t coincide and X_t=D_t, so no coefficient is obtained by dividing by v. In general D_t is orthogonal to every U_s because H_*⊂H_(s−1). Projecting finite linear combinations from H_{t−1} onto H_* shows that the closed span of {D_s:s≤t−1} is H_* itself. This is the sense in which D_t is linearly determined by its own past, even if its paths are random. Orthogonality of U_t is a second-order property. Joint Gaussianity of the original process can make those innovations independent by Gaussian L² limits, while weak stationarity alone does not. Related reading: [Wold decomposition and spectral masses](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/16.pdf). The notes state Wold's decomposition and illustrate a predictable sinusoid. The proof derives decreasing past-span convergence, square summability and predictability from the deterministic component's own past. Orthogonal innovations need an additional premise for independence.
An innovations algorithm for a finite observed record
For centered square-integrable X_1,…,X_n, let H_{t−1} be the linear span of the preceding observations and e_t=X_t−P_(H_{t−1})X_t. Set d_t=E e_t². The residuals are pairwise orthogonal because e_s∈H_{t−1} for s<t. Induction from X_t=e_t+P_(H_{t−1})X_t shows that the positive-variance e_s with s≤t span the same space as the first t observations. This applies to arbitrary finite covariance matrices arising from observations and does not require stationarity.
The forecast from the first t−1 observations is ∑_(s<t,d_s>0) b_(t,s)e_s with b_(t,s)=Cov(X_t,e_s)/d_s. To form these covariances from the original covariance Γ, keep the expansions e_s=X_s−∑_(r<s,d_r>0) b_(s,r)e_r. Then Cov(X_t,e_s)=Γ_(t,s)−∑_(r<s,d_r>0) b_(s,r)Cov(X_t,e_r), a triangular calculation. Orthogonality gives d_t=Γ_(t,t)−∑_(s<t,d_s>0) b_(t,s)² d_s. A zero d_s means e_s=0 in L² and contributes no basis vector or divisor.
Let B be lower triangular with diagonal entries one and subdiagonal entries b_(t,s), assigning zero to coefficients of zero residuals. The expansion X=B e gives Γ=B diag(d) Bᵀ. When all d_s>0, multiplying each column of B by √d_s gives the ordinary lower-triangular Cholesky factor. For a singular covariance, the positive-d_s columns alone give a rectangular factor on the positive-rank span. The pivot at row s of each active column is √d_s with zeros earlier, so these columns are independent and their number equals the rank.
As an extreme case, if later observations are exact linear combinations of the earlier ones then the corresponding d_t are zero and the forecasts are exact. The algorithm continues with the existing span and the usual positive pivots only. Intercepts are included by centering each observation by its actual mean. If the entire finite vector is jointly Gaussian, the least-squares forecasts are conditional means and innovations with positive variance are independent. For a general covariance matrix the result is a least-squares prediction and a second-order factorization, without that stronger assertion. Related reading: [Finite prediction and innovations](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/10.pdf). Finite prediction in orthogonal innovation coordinates supplies the basis calculation. The proof gives the actual triangular covariance and positive-rank factorization, without dividing by a zero residual variance.
Innovations and information about the next observation
Let F be the sigma-field of available information and Y square integrable. For m=E[Y|F], the residual e=Y−m satisfies E[e|F]=0. For any bounded F-measurable g, the tower rule gives E[e g]=0. Truncating a square-integrable g and using Cauchy–Schwarz extends the equality to all of L²(F). Conversely a square-integrable residual orthogonal to all bounded F-measurable indicators has conditional mean zero by the defining integral property. This test uses the full available information.
For expanding histories F_{t−1}⊂F_t and an adapted square-integrable observation sequence, e_t=Y_t−E[Y_t|F_{t−1}] is F_t-measurable. At earlier time s<t the residual e_s is in L²(F_{t−1}), so E[e_t e_s]=0. It is orthogonal in time without implying a common variance or independence. A linear innovation only removes the closed linear span of earlier variables. The example Y=Z² with Z standard normal leaves the affine residual Z²−1, orthogonal to both one and Z but with E[Z²−1|Z]=Z²−1.
Even the full zero conditional mean permits a conditional variance varying across histories. Take an observable Z and an independent centered unit-variance variable ξ with E Z²<∞, then let Y=a(Z)+Zξ for a square-integrable a(Z). For F=σ(Z), the forecast is a(Z) and the residual is Zξ. Its conditional variance is Z², which is nonconstant when |Z| is nonconstant. The conditional variance is measured in squared output units. A model predicting only the conditional mean would leave this predictable difference in uncertainty.
For the adjacent-product white-noise process, conditioning on the full past of the underlying normal inputs gives conditional mean zero and variance Z_(t−1)². The mean remains zero on conditioning on the smaller observed-product past. Its variance given that observed past cannot be constant either: a constant conditional second moment would make the current square uncorrelated with the preceding square, contrary to their computed covariance of two. Which volatility expression is available depends on what was actually observed. Gaussian equality of linear and conditional means needs the joint Gaussian law on the variables being conditioned on. Related reading: [Finite prediction and innovations](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/10.pdf), [Modeling a conditional variance](https://web.pdx.edu/~crkl/ec572/readings/Engle82.pdf). Finite linear innovations and ARCH motivate distinct conditions on information. The proof uses the tower property for full conditional residuals and shows why orthogonality to a narrower span can leave predictable conditional mean or variance.
A dependent average has a different variance
For a centered weakly stationary process with autocovariance γ, let bar X_n=n^−1∑_(t=1)^n X_t. Expanding its square counts n−|k| pairs separated by each lag |k|<n. Thus Var(bar X_n)=n^−1[γ(0)+2∑_(k=1)^(n−1)(1−k/n)γ(k)]. The same variance holds if a common nonzero mean is added. The quantity has squared observation units. Replacing it by γ(0)/n requires the lag terms to cancel or vanish under the stated model.
If ∑_(k∈Z)|γ(k)|<∞, the bounded weights (1−|k|/n) on |k|<n tend to one at every fixed lag. Dominated convergence for the absolutely summable series gives n Var(bar X_n)→V=∑_k γ(k)≥0. In particular the sample mean is mean-square consistent. Negative correlations can lower V, and V=0 is possible. This limit yields a second-moment scale for the mean. Its derivation contains no distributional convergence step.
For a counterexample, take a time-constant A independent of all iid standard normals Z_t, with P(A=1)=P(A=2)=1/2. Set X_t=A Z_t. The process is strictly stationary with variance E A²=5/2 and zero nonzero-lag covariance. For every n, √n bar X_n has conditional law N(0,A²) because the standardized sum of the Z_t is standard normal and independent of A. Its unconditional law is the same fixed mixture for every n.
The exact covariance sum counts n diagonal entries and 2(n−h) off-diagonal entries at each positive lag. Its geometric limit gives the long-run variance of the scaled average, a different quantity from the chosen finite sample.
| Quantity | Exact result |
|---|---|
| Finite-sample mean variance | 33/32 |
| Variance benchmark v/n under zero cross-covariance | 1/2 |
| n times the finite variance | 33/8 |
| Long-run scaled-mean variance | 6 |
| All covariance terms weighted by pairs | [8, 6, 2, 1/2] |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| phi | 1/2 |
| v | 2 |
| n | 4 |
The mixture has variance 5/2 and fourth moment 3 E A⁴=51/2. A centered normal with variance 5/2 would have fourth moment 75/4, which differs. Thus the scaled sample means never approach that normal even though n Var(bar X_n) is exactly 5/2. This example makes a latent common scale visible without altering any nonzero-lag covariance. A normal approximation under dependence therefore requires additional structural conditions about the time law and a separate argument. Related reading: [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf), [Positive semidefinite lag-window estimation](https://www.nber.org/system/files/working_papers/t0055/t0055.pdf). The proof counts all lag pairs, then uses actual covariance summability to take the scale limit. The shared-scale Gaussian mixture has the same second-order law as white noise but no normal sample-mean limit.
What a sample autocovariance estimates
Let Y_t=X_t−μ with known stationary mean, |Y_t|≤M almost surely, and assume m-dependence in the sense that sigma-fields of observations in sets separated by more than m time steps are independent. Fix k≥0 and take n>k, so N=n−k. Define the known-mean estimate gammaHat_n(k)=n^−1∑_(t=1)^N Y_t Y_(t+k). Its expectation equals (1−k/n)γ(k) by stationarity. Dividing the same numerator by N gives exact unbiasedness at this lag, with a useful difference in conventions at the record edges.
For the variance put W_t=Y_t Y_(t+k). The products are bounded by M² and W_t,W_s are independent if |s−t|>m+k, because the two pairs' enclosing intervals are then separated by more than m. For other pairs the magnitude of their covariance is at most M⁴ by Cauchy–Schwarz. There are at most N[2(m+k)+1] such ordered pairs. Thus the divisor-n estimate has variance bounded by M⁴ N[2(m+k)+1]/n²; the divisor-N version has bound M⁴[2(m+k)+1]/N.
At each fixed k, the displayed bias tends to zero and either variance bound is O(1/n). Both estimators converge in L² to γ(k). For a fixed list of lags, convergence in probability holds jointly by summing the individual error probabilities. This reasoning uses the fixed-lag condition. Increasing lags change both the number of products and the maximum dependence distance, so these bounds cannot be applied as if their constants remained unchanged.
With an estimated mean use bar Y_n=n^−1∑_(t=1)^n Y_t. Replacing each Y by Y−bar Y changes a product by −bar Y(Y_t+Y_(t+k))+bar Y². For either chosen divisor the absolute change of its estimate is at most 2M|bar Y|+bar Y². The exact variance formula and zero covariances beyond m give E bar Y²≤(2m+1)M²/n. Since |bar Y|≤M, the change tends to zero in L². There is no claim of exact finite-n unbiasedness after this replacement, and both covariance estimates retain squared observation units. Related reading: [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf), [The Fourier scale of a time series](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/spectral.pdf). The covariance definitions and common-divisor sample formula provide the setting. The proof counts possible dependent pairs for a fixed lag under bounded m-dependence, and separately controls estimation of the mean.
A nonnegative estimator of long-run variance
For n real centered values z_1,…,z_n, extend z_t by zero outside 1,…,n. These may be data centered by a known or sample mean. Write gammaHat(h)=n^−1∑_(t=1)^(n−|h|) z_t z_(t+|h|) at |h|<n, and let 1≤L≤n. The Bartlett estimate is VHat_L=∑_(|h|<L)(1−|h|/L) gammaHat(h). The divisor is n for every lag. It must stay common when using this finite sum-of-squares argument.
Expand (nL)^−1 ∑_(s=2−L)^n (∑_(j=0)^(L−1) z_(s+j))². An ordered pair z_t z_u with |t−u|<L lies in exactly L−|t−u| contributing windows, because their starts satisfy max(t,u)−L+1≤s≤min(t,u). All these starts are in the displayed interval; more distant pairs never share a window. This gives exactly VHat_L including both edges. It proves nonnegativity. If each z_t is a vector, applying the identity after every constant linear projection proves the corresponding covariance matrix positive semidefinite.
Under bounded stationary m-dependent observations with known mean, E VHat_L is ∑_(|h|<L)(1−|h|/L)(1−|h|/n)γ(h). Only |h|≤m contribute, so this tends to V=∑ γ(h) for L→∞ with n→∞ and fixed m. The fixed-lag product counting bound also gives standard deviation at most M²√([2(m+|h|)+1]/n) uniformly within |h|<L. The L² triangle inequality after mean subtraction then bounds the standard deviation of VHat_L by (2L−1)M²√([2(m+L)+1]/n), sufficient when L³/n→0.
Sample centering changes each lag estimate by at most 2M|bar Y|+bar Y², hence the window estimate changes by at most (2L−1) times that expression. The bound on E bar Y² and |bar Y|≤M make the difference O(L/√n) in L², also tending to zero under the stated bandwidth condition. This proves consistency with possibly zero V, and leaves the finite estimate nonnegative. The rate here is a sufficient bound for bounded m-dependent data, not a necessary rate or a normal-limit proof for arbitrary dependent processes. Related reading: [Positive semidefinite lag-window estimation](https://www.nber.org/system/files/working_papers/t0055/t0055.pdf). The original tapered matrix uses 1−j/(m+1) and common sample divisor. The proof gives the finite zero-padding square identity and its bounded m-dependent consistency condition, with no reliance on the unselected general bandwidth theorem.
Autocovariance and spectral density
For a centered weakly stationary real process with ∑_(k∈Z)|γ(k)|<∞, define f(ω)=(2π)^−1∑_k γ(k)e^(−ikω) on the frequency circle −π≤ω≤π, with ω in radians per sample. Absolute summability gives uniform convergence of the continuous trigonometric polynomials. Covariance symmetry makes f real and even. The fixed 1/(2π) convention means γ(k)=∫_(−π)^π e^(ikω) f(ω) dω, proved by integrating term by term and using Fourier orthogonality.
To establish the sign, define f_n(ω)=(2π n)^−1 E|∑_(t=1)^n X_t e^(−itω)|². Expansion groups n−|k| terms at each lag and gives f_n=(2π)^−1∑_(|k|<n)(1−|k|/n)γ(k)e^(−ikω). Every f_n is nonnegative. Its uniform difference from f is bounded by 1/(2π) times the summable covariance sequence weighted by coefficient differences that tend to zero pointwise and are bounded by one. Hence f_n tends uniformly to f and f is nonnegative.
Taking k=0 in inversion gives ∫ f=γ(0), so total spectral mass equals the variance in squared observation units. White noise with variance σ² has constant density σ²/(2π), and zero variance yields identically zero f. Frequency band mass is expressed with respect to this angular measure. If physical time spacing is Δ, the variable changes to ω=Δ times angular frequency in physical time, with the corresponding change in density and integration width.
The measure f(ω)dω has the stated Fourier coefficients. Any other finite spectral measure on the circle with those coefficients agrees on all trigonometric polynomials and hence on continuous functions by their uniform density. It must therefore be the same measure and has no atoms. A time-constant centered random variable of positive variance illustrates the excluded case: all covariances are that variance and the spectral measure is a point mass at zero. Weak stationarity alone does not require summable covariance or an ordinary continuous density. Related reading: [Wold decomposition and spectral masses](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/16.pdf), [The Fourier scale of a time series](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/spectral.pdf). Convert cycles per sample to radians per sample before comparing densities. The proof uses the nonnegative finite Fourier quadratic forms, summability, inversion and uniqueness to obtain a continuous density without atoms.
The spectrum of a filtered time series
Use Y_t=∑_j a_j X_(t−j) with real coefficients and ∑|a_j|<∞. Suppose the input covariance γ_X is absolutely summable. The covariance expression γ_Y(k)=∑_(j,l) a_j a_l γ_X(k−j+l) gives ∑_k |γ_Y(k)|≤(∑|a_j|)²∑_k |γ_X(k)| by absolute summation. Thus both densities are continuous under the same Fourier normalization, and their series and the following changes of summation order are justified.
Define H(ω)=∑_j a_j e^(−ijω), which converges uniformly. In the Fourier series for γ_Y set k'=k−j+l. The exponential gives one factor e^(−ijω) from j and one factor e^(ilω) from l, multiplying the Fourier series for γ_X. The coefficient sums therefore yield f_Y(ω)=H(ω) overline(H(ω)) f_X(ω)=|H(ω)|² f_X(ω). The means follow the separate multiplier ∑ a_j=H(0). Magnitude squared, rather than a signed amplitude, is the multiplier for spectral power.
For a stable causal ARMA model with lag polynomials A(z) and M(z), the impulse response has generating function M(z)/A(z), absolutely summable from the root condition. Substituting z=e^(−iω) gives H=M(e^(−iω))/A(e^(−iω)). White innovations of variance σ² have flat spectral density σ²/(2π), so the output density is σ² |M(e^(−iω))|²/[2π |A(e^(−iω))|²]. If this variance is zero the centered stable process is zero. Otherwise a numerator zero on the circle yields zero spectral density at that frequency under the nonvanishing denominator premise.
Stable A has no pole on the circle, though a denominator root close to the circle may create a peak if the numerator does not cancel it. A common polynomial factor contributes neither a pole nor a zero to the reduced transfer ratio where that reduction applies. A fitted periodogram peak is a sample statistic, not proof of a known pole, mode or causal mechanism. The continuous spectral formula uses the summable covariance premises; components with atoms and models with unit roots need their own treatment before reading this formula as a stationary density. Related reading: [The Fourier scale of a time series](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/spectral.pdf), [Causal autoregressions and invertible moving averages](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/arima.pdf). The filter's multiplier is squared magnitude. The proof justifies the double covariance sums and stable ARMA transfer ratio. A loose printed Fourier phase or numerical periodogram peak supplies no pole proof.
A finite periodogram is a noisy spectral measurement
For observations of a centered stationary series define I_n(ω)=(2π n)^−1 |∑_(t=1)^n X_t e^(−itω)|². Its expectation is (2π)^−1∑_(|k|<n)(1−|k|/n)γ(k)e^(−ikω) by counting time pairs. If the observed process has spectral density f with γ(k)=∫ e^(ikλ) f(λ)dλ, substitute this inverse formula into the finite sum. Then E I_n(ω)=∫_(−π)^π W_n(ω−λ) f(λ)dλ, where W_n(u)=(2π n)^−1 |∑_(t=1)^n e^(−itu)|². Fourier orthogonality gives ∫ W_n=1. The convolution is circular.
For iid N(0,σ²) observations with σ²>0 and an interior Fourier grid point ω_j=2πj/n, take j in 1,…,floor((n−1)/2). The real and imaginary parts of the Fourier sum are Gaussian linear combinations with coefficients cos(ω_j t) and −sin(ω_j t). The finite geometric sum at double frequency vanishes since 2j is not divisible by n. Using the double-angle identities, each coefficient vector has squared norm n/2, and their dot product is zero. Thus the two sums are independent N(0,nσ²/2).
Consequently I_n(ω_j)/(σ²/(2π)) is (G_1²+G_2²)/2 with independent standard normals G_1,G_2. A polar-coordinate integral of their joint density gives probability exp(−x) above x≥0, the exponential law of mean one. At zero and at the Nyquist frequency for even n, only a real component remains and the standardized squared normal has one degree of freedom. Negative frequencies mirror positive ones for real data. These boundaries should not be counted as extra independent interior ordinates.
The interior result holds for every n and permissible j, so each relative ordinate has variance one and a fixed nonzero chance of deviating from one by a prescribed positive tolerance. Even Gaussian white noise therefore gives a counterexample to consistency of unaveraged periodograms. The mean can be correct while the data statistic stays noisy. Smoothing or averaging changes both expectation and variance, and needs a stated frequency window and dependence assumptions. The result above concerns a centered process and the stated periodogram divisor. Related reading: [The Fourier scale of a time series](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/spectral.pdf). The cycle-normalized source periodogram converts by 1/(2π). The mean-subtraction identity excludes zero frequency. The proof derives its Fejér expectation and the exact exponential law at Gaussian interior Fourier frequencies.
Downsampling can hide the original frequency
Let Y_t=X_(Mt) for a fixed positive integer M. With a stationary input, E Y_t=E X_t and Cov(Y_(t+k),Y_t)=γ_X(Mk), so γ_Y(k)=γ_X(Mk). If γ_X is absolutely summable, the retained covariance sequence is summable as well. Use radians per retained sample for ω and the same 1/(2π) Fourier density convention on a 2π-periodic circle. Candidate output density g(ω)=M^−1∑_(j=0)^(M−1) f_X((ω+2πj)/M) is nonnegative and periodic.
Integrate e^(ikω)g(ω) over [0,2π]. In the jth integral set λ=(ω+2πj)/M so dω=M dλ and e^(ikω)=e^(ikMλ) because k and j are integers. The intervals for λ are consecutive pieces from 0 to 2π, so the sum gives ∫_0^(2π) e^(ikMλ) f_X(λ)dλ=γ_X(Mk). The Fourier coefficients determine the finite spectral measure, proving g=f_Y under the given continuous density conditions. For k=0 the same calculation preserves the total variance.
An input oscillation e^(iθt) becomes e^(iMθt) after retention. Input frequencies θ and θ+2πj/M agree at all retained indices because their phases differ by an integer multiple of 2π there. Real cosines give the same construction by taking real parts with a common phase. A uniform random phase makes a centered cosine weakly stationary, with line spectral masses rather than a density. Its retained frequencies give the same alias ambiguity. For a finite input spectral measure F_X, set T_M(θ)=Mθ modulo 2π and F_Y(E)=F_X(T_M^−1(E)). Then ∫e^(ikω)F_Y(dω)=∫e^(ikMθ)F_X(dθ)=γ_X(Mk), so uniqueness identifies this pushforward as the retained spectral measure. Masses at atoms mapped to the same frequency add.
If the original time spacing is Δ in physical time, the retained spacing is MΔ. The dimensionless angular frequencies are Δ times physical angular frequency for the input and MΔ times it for the retained grid. Frequencies spaced by 2π/(MΔ) in physical angular units coincide after downsampling, with additional sign symmetry for real cosines. A band limit or verified filtering model can remove some ambiguity before retention. The retained observations alone do not reveal which aliased branch supplied each contribution. Related reading: [Wold decomposition and spectral masses](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/16.pdf), [The Fourier scale of a time series](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/spectral.pdf), [Downsampling and the finite DFT alias identity](https://www.dsprelated.com/freebooks/mdft/Downsampling_Theorem_Aliasing_Theorem.html). The finite DFT analogy groups frequencies after sample retention. The lesson proves the stationary density alias sum by Fourier coefficients and describes spectral mass pushforward, keeping radians per original and retained sample distinct.
Cross-covariance, coherence and shared forcing
Let W_t=(Y_t,Z_t)ᵀ be centered and weakly stationary in the vector sense, and write Γ(k)=E[W_(t+k) W_tᵀ]. Swapping the two times gives Γ(−k)=Γ(k)ᵀ. In components γ_ZY(k)=γ_YZ(−k). When every entry sequence is absolutely summable, define F(ω)=(2π)^−1∑_k Γ(k)e^(−ikω). The series converges uniformly, and the reverse transpose identity gives a Hermitian matrix at every frequency. In particular F_ZY is the complex conjugate of F_YZ, with the sign of phase tied to the stated lag convention.
Let D_n(ω)=∑_(t=1)^n W_t e^(−itω). The matrix (2π n)^−1 E[D_n D_n*] is positive semidefinite because any complex test vector a gives the nonnegative quadratic form E|a*D_n|²/(2πn). Expanding by the lag pairs gives a weighted Fourier series with coefficients (1−|k|/n)Γ(k). Absolute summability implies uniform entrywise convergence to F. Positivity passes to the limit. Its diagonal entries are the individual power densities f_Y and f_Z.
The determinant of the positive semidefinite two-by-two matrix is nonnegative, so |F_YZ|²≤f_Y f_Z. Squared coherence is |F_YZ|²/(f_Y f_Z) when both powers are positive, and it lies in [0,1]. If either diagonal vanishes the cross term vanishes, and the ratio is undefined at that frequency without an additional convention. Cross-power has the product of the two observation units per angular frequency, while squared coherence is dimensionless.
For a shared forcing example take three independent white sequences U,η,ξ with variances v>0, r_Y≥0 and r_Z≥0, and let Y_t=U_t+η_t and Z_t=aU_t+ξ_t with nonzero a. The cross-power is av/(2π), and the squared coherence is a²v²/[(v+r_Y)(a²v+r_Z)], arbitrarily close to one when the private noise powers are small and equal to one if both vanish. The model equations have only the shared input as a common parent of both observations. This construction separates high joint spectral power from a causal effect of changing either observed series. Related reading: [Cross-spectra and coherence](https://www.stat.berkeley.edu/~bartlett/courses/fall2007/lectures/25.pdf). The defined cross-lag convention gives a Hermitian spectral matrix. In the source lagged example the cross-factor is linear in β. The proof gives the positive semidefinite matrix, zero-power branch and a shared cause with large coherence.
Exponential smoothing and the memory of initialization
Let ℓ_t=α Y_t+(1−α)ℓ_(t−1) for 0<α≤1 and t≥1. Set b=1−α and specify ℓ_0. Substitution through all earlier updates gives ℓ_t=b^t ℓ_0+α∑_(j=1)^t b^(t−j)Y_j, with a zero exponent giving weight one. The observation weights sum to 1−b^t. The remaining b^t is the initialization weight, so replacing it by silently renormalized observation weights would change the method.
For observations with constant mean μ and deterministic ℓ_0, the smoothed mean is μ+b^t(ℓ_0−μ). A perturbation of size d to a single Y_s changes ℓ_s by αd and ℓ_t by αd b^(t−s) for t≥s. The effect of initialization shares this same geometric decay. At α=1 the level equals the current observation and previous perturbations disappear after one update. If one separately allows α=0 the rule never updates and no such decay occurs.
If the observations are uncorrelated with common variance σ² and ℓ_0 is deterministic, Var(ℓ_t)=α²σ²∑_(j=0)^(t−1)b^(2j)=α²σ²(1−b^(2t))/(1−b²). For α>0 this tends to ασ²/(2−α). Independent random initialization of variance P_0 contributes the additional b^(2t)P_0. Correlated observations instead contribute the corresponding covariance cross terms. These are exact variances for the smoother under the stated observation laws.
All ℓ_t values use the same units as Y_t, while α,b are dimensionless. A smoother's variance under a constant mean and its transient impulse response do not derive a prediction law for a drifting latent level. For a known constant mean, that constant itself is the conditional forecast with independent future noise. Using ℓ_t as a forecast is appropriate only under the declared objective or a derived model. A varying level with process noise changes how the forecast should balance the recent observation and the accumulated past. Related reading: [Simple exponential smoothing and the initial level](https://otexts.com/fpp3/exponential-smoothing.html#simple-exponential-smoothing). The finite update retains the initial value and has a flat forecast for the stated method. The proof additionally derives the pulse response and variance under uncorrelated data and keeps the resulting smoother distinct from a latent-level model.
A linear state model can be stationary while measurements are noisy
Let x_t=A x_(t−1)+b+w_t and y_t=H x_t+d+v_t, with x_0 of finite second moment, zero-mean independent process and measurement noises, and covariance matrices Q and R. Take the innovations independent across times and of x_0, with fixed matrices. The state iteration is A^t x_0+∑_(j=0)^(t−1) A^j b+∑_(j=0)^(t−1)A^j w_(t−j). Its mean is A^t m_0+∑ A^j b. Independence eliminates all cross terms in the centered expansion, giving P_t=A^t P_0(Aᵀ)^t+∑_(j=0)^(t−1) A^j Q(Aᵀ)^j.
Equivalently P_t=A P_(t−1)Aᵀ+Q. For the observations, E y_t=H E x_t+d and Cov(y_t)=H P_t Hᵀ+R, by the independence of measurement noise from x_t. At lag k≥1 the centered future state has the term A^k(x_t−E x_t) plus independent later process noises. The stationary observation lag covariance is therefore H A^k P Hᵀ if the state variance is the stationary P. The noise R enters lag zero, which is one reason state covariance cannot be read directly from measurement covariance.
If the spectral radius of A is strictly below one, then for any r with ρ(A)<r<1 the powers satisfy ‖A^j‖≤Cr^j for a finite C. This follows by a finite Jordan decomposition: the polynomial factors of a block power are dominated by the exponential ratio r/|λ| greater than one, and nilpotent blocks vanish past their finite orders. Hence P=∑_(j≥0)A^jQ(Aᵀ)^j converges in norm, is positive semidefinite, and satisfies P=A P Aᵀ+Q by a shift of summation. The transient initial covariance term tends to zero.
If another matrix P' solves the same equation, their difference D obeys D=A^j D(Aᵀ)^j for each j. The norm bound forces D=0. The limiting state mean is (I−A)^−1 b from the same geometric series. Choosing a two-sided iid noise series with the causal stable filter gives a strictly stationary state, or the stationary mean and covariance give the second-order version under the corresponding noise premises. An arbitrary finite initialization still carries the displayed transient. All covariance products respect the coordinate units encoded by A and H. Related reading: [Exact time steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The discrete Lyapunov equation is the same covariance identity. The proof gives the state transient, uniqueness under a stable transition, and independent measurement noise as the source of the additional observation variance.
Kalman prediction and update from orthogonal projection
Take the fixed linear Gaussian state model with Gaussian initial x_0 and independent Gaussian w_t,v_t, allowing positive semidefinite covariances. Given observations through t−1, let m and P be the conditional mean and covariance of x_(t−1). The prediction is m^−=A m+b and P^−=A P Aᵀ+Q since w_t is independent. Before measuring y_t, the innovation ν=y_t−H m^−−d is centered conditional on this past, with S=H P^− Hᵀ+R and cross-covariance C=Cov(x_t,ν|past)=P^−Hᵀ.
On the positive-eigenvalue subspace of S define its inverse there, and set it to zero on the null space to form S^+. A null vector u of S has uᵀν=0 almost surely, so Cu=0. Hence K=C S^+ solves K S=C. The residual x_t−m^−−Kν has zero cross-covariance with ν, and the conditional joint law is Gaussian, so the residual and ν are conditionally independent. Therefore the posterior mean is m^+=m^−+Kν and its conditional covariance is P^+=P^−−K S Kᵀ. This derivation handles exact noiseless linear relations and duplicated observation directions.
The residual is also (I−KH)(x_t−m^−)−K v_t. Its terms before measurement are conditionally independent, giving the Joseph form P^+=(I−KH)P^−(I−KH)ᵀ+K R Kᵀ. Expanding this expression and using K S=C reduces it to P^−−K S Kᵀ. The Joseph expression shows positive semidefiniteness without relying on cancellation. If S=0 the observation is deterministic under the conditional law, K is zero and there is no stochastic correction. Data outside the support violate the assumed model and cannot be corrected by assigning an arbitrary inverse.
The dynamics propagate the old posterior estimate and covariance even with no observation. When present, an innovation is orthogonal to the previous linear information and gives a linear correction. The stated noise laws determine the gain. With jointly Gaussian state and observations the linear estimate also gives the Gaussian conditional mean. This figure uses only the stated second-order assumptions.
| Quantity | Exact result |
|---|---|
| Predicted mean / variance | (1, 1) |
| Innovation | 1 |
| Innovation variance | 2 |
| Applied gain | 1/2 |
| Retained mean / variance | (3/2, 1/2) |
| Joseph-form verification | (1−K)²P⁻+K²R = 1/2 |
| Scope of the state estimate | Linear orthogonal update. A conditional Gaussian interpretation requires the Gaussian model. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| a | 1/2 |
| Q | 1/2 |
| R | 1 |
| m | 2 |
| P | 2 |
| y | 2 |
With a fixed model, initial covariance and observation schedule, the covariance recursion is deterministic. The conditional distribution of each innovation given its past is the same N(0,S) for every history up to null sets, with S supplied by that time's recursion. Thus the innovation is independent of that past, which contains all earlier innovations. Factoring the joint law successively gives mutual independence, with unequal variances allowed. Adaptive selection or a misspecified state model does not supply this fixed-law justification. Gaussianity is what turns the orthogonal update into the full conditional update. Related reading: [Kalman prediction, missing observations and likelihood](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The selected ordinary filter uses an invertible S. The proof uses its actual positive-rank subspace, verifies the Gaussian residual and Joseph forms, and proves fixed-model innovation independence.
Innovation likelihood and missing observations
Let a fixed linear Gaussian model and its initial Gaussian law specify a finite observation sequence, with a predetermined schedule of actually measured coordinates. For an observed block at time t, predict its conditional mean from the preceding observed blocks. Let its dimension be d_t, innovation ν_t the residual, and conditional covariance S_t from the corresponding rows of the state and noise matrices. The block's conditional distribution is Gaussian, even when intermediate times had no scheduled measurement. The fixed initialized model determines these means and covariances completely.
If each observed-coordinate S_t is positive definite, its conditional Lebesgue density is (2π)^(-d_t/2)(det S_t)^−1/2 exp(−ν_tᵀS_t^−1ν_t/2). Multiplying the successive conditional densities gives the joint likelihood. Its logarithm is the sum of −[d_t log(2π)+log det S_t+ν_tᵀS_t^−1ν_t]/2 over measured times. The quadratic term is dimensionless. This also follows from the triangular transformation from observations to innovations, whose diagonal blocks are identities.
If an entire scheduled time is missing, first propagate the state mean and covariance to that time using the model prediction. No innovation arrives, so the posterior equals that prediction. The next time propagates from this updated forecast horizon. The missing time contributes a multiplicative one to the likelihood of the observed data, because the unobserved value is integrated out. For partial observation use only the observed rows and their covariance submatrix. A schedule determined by unrecorded values is informative missingness and requires an explicit selection model before using this simple factorization.
If an actual innovation covariance is singular, its Gaussian law lives on an affine subspace and has no ordinary density in the full observed-coordinate space. A subspace likelihood, when justified, must specify its support and common reference measure for comparing parameter values. One cannot merely replace the determinant by a product of nonzero eigenvalues and keep the full-space claim. The joint likelihood for each model uses that model's own initialized prediction errors and covariances. An all-missing fixed record contributes probability factor one in the observed-value likelihood. Related reading: [Kalman prediction, missing observations and likelihood](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The selected prediction error decomposition multiplies the actual conditional densities. The proof states the full-rank observation condition, dimensional normalizing terms, scheduled missing and partial observations, and the support issue for singular data.
A changing level yields a smoothing weight
For the scalar local-level model x_t=x_(t−1)+w_t and y_t=x_t+v_t take independent centered Gaussian noises with variances Q>0 and R>0. Let p_(t−1)≥0 be the posterior state variance. Prediction gives p_t^−=p_(t−1)+Q and the innovation has variance p_t^−+R. The gain K_t=(p_(t−1)+Q)/(p_(t−1)+Q+R) lies strictly between zero and one. The posterior variance is p_t=R(p_(t−1)+Q)/(p_(t−1)+Q+R)=F(p_(t−1)).
The steady equation p=F(p) reduces to p²+Qp−RQ=0. Its unique nonnegative solution is p_*=(√(Q²+4RQ)−Q)/2, which is positive and below R since F maps nonnegative values into (0,R). To prove convergence, F'(p)=R²/(p+Q+R)² is at most [R/(Q+R)]²<1 for p≥0, so the mean value theorem gives |p_t−p_*|≤[R/(Q+R)]^(2t)|p_0−p_*|. This covers every nonnegative initialization without a stationarity assumption on x_0.
The limiting gain K_*=(p_*+Q)/(p_*+Q+R)=p_*/R follows directly from the fixed point. The mean update can be written m_t=(1−K_t)m_(t−1)+K_t y_t because the predicted level is m_(t−1). If the covariance is initialized at p_*, the gain is constant and this recursion equals exponential smoothing with α=K_*. Otherwise the finite-time weights change with t. The ratio of the two positive noise variances determines the gain, and both variances use squared level units.
The underlying level is a random walk, not a stationary state. With an independent finite-variance x_0, Var(x_t)=Var(x_0)+tQ and Var(y_t)=Var(x_0)+tQ+R. A convergent conditional estimation variance is compatible with those growing marginal variances. The proof of a positive steady covariance and strict contraction uses Q,R>0. A missing block propagates variance without a measurement update and changes this fixed-step recursion. Related reading: [Kalman prediction, missing observations and likelihood](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Simple exponential smoothing and the initial level](https://otexts.com/fpp3/exponential-smoothing.html#simple-exponential-smoothing). The local-level gain is derived from the scalar posterior fixed point. Its convergence uses positive process and measurement variances. A steady filtering covariance is compatible with moving marginal observation variance.
Optimal point forecasts and predictive probabilities
Let F be the information at the forecast origin and let Y have a finite second moment. With m=E[Y|F] and any square-integrable F-measurable forecast a, expand (Y−a)² around m. The conditional cross term is zero because E[Y−m|F]=0. Therefore E[(Y−a)²|F]=Var(Y|F)+(m−a)². The unique squared-loss minimizer up to null events is m. The conditional variance is the irreducible squared loss under the stated model and information.
For absolute loss it suffices that E|Y| is finite. At an information state with conditional distribution F_Y(u), for b>a the difference in expected absolute losses at b and a is ∫_a^b [2F_Y(u)−1]du. To derive it, integrate the slope of |Y−u| in u between the endpoints, and use Fubini on the bounded slope. A point mass at u does not affect that integral. This shows that the loss decreases before the median set and increases afterward. Precisely a with F_Y(a−)≤1/2≤F_Y(a) minimizes the risk. A whole interval may minimize it, and the lower conditional half-quantile gives a measurable choice by the usual rational-threshold construction.
Under a known conditional Gaussian law with mean m and strictly positive conditional variance s², standardization makes (Y−m)/s a standard normal under the conditional law. The centered interval with endpoints m±z_(1−α/2)s then has conditional coverage 1−α for 0<α<1, where z_q is the standard normal q-quantile. If s²=0, the conditional observation equals m almost surely and the singleton interval has coverage one. Predictive standard deviation has observation units, and the quantile coefficient is dimensionless.
Each optimality and interval statement is relative to the conditional distribution supplied at the origin. A plug-in mean and variance from an estimated model need not equal the true conditional moments. Estimated parameters, structural breaks and dependent forecast origins change evaluation of coverage in observed data. A forecast may be precise about a regime assumed by the model while performing poorly when that regime changes. A coverage assessment requires the prospective information and actual predictive outcomes, with the dependence between evaluation points accounted for. Related reading: [Point forecast loss and Gaussian prediction intervals](https://otexts.com/fpp3/toolbox.html#prediction-intervals). The applied reading identifies the mean and median for different losses and uses Gaussian quantiles. The proof supplies conditional minimization with ties, a measurable median selection, the degenerate branch and the limits of model-based coverage.
Rolling evaluation and overlapping forecast errors
At rolling origin t, form a forecast of X_(t+h) using only data and fitted inputs available at t. For X_t=X_(t−1)+ε_t with centered iid increments of variance σ², the known-law forecast at horizon h≥1 is X_t. Its error e_t=∑_(j=1)^h ε_(t+j) has mean zero and MSE hσ². Each error has this same law even though nearby errors share future shocks. A retrospective evaluation can calculate it only when the target at t+h has actually been observed.
For lag k, the two error sums have max(h−|k|,0) shared shock indices. Cross-products of distinct shocks vanish in expectation, so Cov(e_t,e_(t+k))=σ² max(h−|k|,0). The exact variance of the mean over n consecutive origins is σ²/n times [h+2∑_(k=1)^(min(h−1,n−1))(1−k/n)(h−k)]. At fixed h, multiplying this variance by n and letting n grow gives h²σ². Treating the errors as independent gives hσ²/n and omits the overlap entirely.
The mean squared error score is another average. If the increments have a finite fourth moment, split any two error sums into the common sum C and independent private sums. Given C their squares are independent with conditional means C² plus the respective private variances. So the covariance of squared errors is Var(C²), equal for m shared shocks to 2m²σ⁴+m(E ε⁴−3σ⁴) by expanding the fourth power. It vanishes when there are no shared shocks. The variance of an average of squared scores uses these covariances, not those of the signed errors. With only a second moment the variance of a squared score might be infinite.
The h-step error sums future innovations with coefficients φ^{h−j}. With two forecast origins separated by d, only absolute times common to both sums contribute, because innovations at distinct times are uncorrelated.
| Quantity | Exact result |
|---|---|
| First / later error weights | [1/4, 1/2, 1] / [1/4, 1/2, 1] |
| Covariance contributions at shared times | [1/2, 2] |
| Covariance | 5/2 |
| Variance of either error | 21/4 |
| Correlation | 10/21 |
| Implication of disjoint innovations | Zero covariance follows from whiteness; independence needs more. |
| Shared absolute innovation times | +2, +3 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| phi | 1/2 |
| v | 4 |
| h | 3 |
| d | 1 |
For an estimated forecasting rule, reproduce the training sample and fitting procedure actually available at each origin. Choose model or tuning parameters on earlier data, or use a separate validation layer with the whole selection process included. A fit informed by X_(t+h) cannot be evaluated as an origin-t forecast. Other dependence can come from estimating a common parameter or from repeated regimes, so the overlap identity is exact only for the declared known-law random-walk errors. Record h in samples or physical duration and keep horizons and missing target availability explicit. Related reading: [Time series cross-validation at a rolling origin](https://otexts.com/fpp3/toolbox.html#time-series-cross-validation), [Stationarity and lag covariance](https://www.stat.berkeley.edu/~ryantibs/timeseries-f23/lectures/dependence.pdf). Rolling origins use only prior observations. The proof independently counts common increments, derives the average error variance and gives the separate fourth-moment calculation for squared errors. Fitting and selection need their own prospective assessment.
Incremental predictability and the causal limit
In L² let M and N be closed linear prediction spaces with M⊂N, typically both containing constants. For Y∈L², denote the orthogonal projections by P_M Y and P_N Y. The decomposition Y−P_M Y=(Y−P_N Y)+(P_N Y−P_M Y) is orthogonal because the second term is in N. Therefore the reduction in minimum mean squared error from adding the predictors of N is ‖P_N Y−P_M Y‖₂²≥0. It is zero precisely when the forecasts coincide in L².
For one new regressor Z, put Z*=Z−P_M Z. If E[(Z*)²]>0, the part added to the old forecast is b Z* with b=E[(Y−P_M Y)Z*]/E[(Z*)²]. This follows by minimizing the residual quadratic in the one new orthogonal direction. The risk reduction is the squared numerator divided by E[(Z*)²]. If Z*=0, it adds no direction and there is no new coefficient to identify. This is a statement about the selected information spaces, and can change if an omitted variable is observed.
For a common-driver model let U_t, η_t and ξ_t be independent centered sequences with each sequence iid over time. Set Z_t=U_t+η_t and Y_(t+1)=aU_t+ξ_(t+1) for a≠0, with Var(U_t)=v>0 and Var(η_t)=r. The previous Y's and any previous Z's are independent of U_t and the two fresh noises used here. Their closed linear span and the constant give a zero forecast for Y_(t+1). Adding Z_t gives coefficient av/(v+r) and risk reduction a²v²/(v+r)>0, by the direct covariance and variance.
In the model equations the next Y depends on U and its own noise, with no dependence on Z once U is given. Changing the measured proxy Z at the same U does not change that equation. It is predictive because U was omitted. If U_t itself were available, the best linear forecast would already contain aU_t and the residual part of Z contributes no further improvement. This construction gives the observational effect under explicit structural equations. Prediction with a narrower information set alone does not identify a causal effect. Related reading: [Finite prediction and innovations](https://www.stat.berkeley.edu/~bartlett/courses/153-fall2010/lectures/10.pdf), [Cross-spectra and coherence](https://www.stat.berkeley.edu/~bartlett/courses/fall2007/lectures/25.pdf). Projection onto a larger linear span reduces risk by the squared new component. The proof gives a shared-driver model in which that gain is observable without a direct dependence of the outcome equation on the proxy.
Cointegration separates a shared trend from a spread
Let X_t=X_0+∑_(j=1)^t ε_j be a centered-increment random walk with variance σ²>0 per step and independent initial value of finite variance. Let (e_t,u_t) be centered and jointly weakly stationary with finite second moments, independent of X. Write Y_t=X_t+e_t and Z_t=β X_t+u_t with β≠0. For s,t≥0 let C_X(s,t)=Var(X_0)+σ² min(s,t). Then Cov(Y_s,Y_t)=C_X(s,t)+Cov(e_s,e_t), Cov(Z_s,Z_t)=β² C_X(s,t)+Cov(u_s,u_t), and Cov(Z_s,Y_t)=β C_X(s,t)+Cov(u_s,e_t).
The variances of both levels grow with t, so a deterministic adjustment to their means cannot make either weakly stationary. The linear spread S_t=Z_t−βY_t=u_t−βe_t removes the shared random trend exactly. Its autocovariance at lag k is γ_u(k)+β²γ_e(k)−β[γ_ue(k)+γ_eu(k)] using the defined lag convention. It is weakly stationary under the residual premises. If the residuals are mutually independent white noise, this is their combined variance at lag zero and zero elsewhere.
To see a simple spread adjustment, take a construction with spread S_t=ρ S_(t−1)+η_t, |ρ|<1, in its stationary causal law with centered independent innovations. Keep X and e independent of this spread and set Z_t=βY_t+S_t. In the level representation u_t=βe_t+S_t is jointly stationary with e_t. The changes satisfy ΔZ_t−βΔY_t=−(1−ρ)S_(t−1)+η_t. At time t−1 the spread is observed and the future η_t has conditional mean zero in this model, so the predictable change in the spread offsets a fraction of its deviation.
The coefficients compare levels in compatible units, with β converting Y units to Z units if needed. Removing a random trend by combining series is different from subtracting a deterministic time regression or fitting a high sample correlation. The proof establishes stationarity of this exact combination under its model. It does not identify β from a finite record or extend the conclusion to arbitrary pairs of nonstationary levels. If the shared innovation variance is zero, the growing-variance argument no longer supplies nonstationary levels. Related reading: [Cointegration and error correction](https://users.ssc.wisc.edu/~behansen/718/EngleGranger1987.pdf). The selected article defines cointegration by a lower integration order of a combination. The proof constructs a stationary spread and its simple correction with finite contemporaneous moments. It makes no general representation or estimation claim.
Conditional variance and ARCH
Let X_t=√(a+b X_(t−1)²) Z_t with a>0, b≥0 and iid innovations Z_t with E Z=0, E Z²=1 and κ=E Z⁴<∞. Assume b√κ<1. With S_t=X_t², the squared recurrence is S_t=a Z_t²+b Z_t² S_(t−1). Define S_t=a∑_(j≥0)b^j∏_(l=0)^j Z_(t−l)². Each term is nonnegative and its L² norm is a√κ (b√κ)^j by independence, so the series converges both in L² by summability of the norms and almost surely to a finite sum by its finite mean.
The shifted series solves the recurrence exactly by reindexing, including b=0 with just the first term. Reconstruct X_t as √(a+b S_(t−1)) Z_t. Since the construction is a shift of the same function of iid noise, it is strictly stationary. Future innovations are independent of the noise history through t. Let m=E S_t and q=E S_t². Independence of Z_t from S_(t−1) gives m=a+bm and q=κ(a²+2abm+b²q). Thus m=a/(1−b) and q=κ(a²+2abm)/(1−κb²). The hypotheses ensure both denominators are positive.
The conditional mean of X_t given the past is zero, and its conditional variance is a+b S_(t−1). Thus the levels are uncorrelated at nonzero lags. The centered squares instead satisfy E[S_t−m|past]=b(S_(t−1)−m). Iterating this identity gives Cov(S_(t+k),S_t)=b^k(q−m²) for k≥0. For any h≥1, the conditional mean of X_(t+h) given the noise history through t is zero and its conditional variance is m+b^h(S_t−m). The same quantity conditions on the observed history when X_t is observed and fresh shocks remain independent.
The variance update squares the shock, so its sign does not enter. Taking expectations under a finite-variance stationary regime forces E[h]=ω+αE[h]. The next conditional value remains finite at the stated shock even when that stationary equation has no positive finite solution.
| Quantity | Exact result |
|---|---|
| Base variance | 1 |
| Squared-shock contribution | 2 |
| Next conditional variance | 3 |
| Finite stationary second moment | Available under a stationary law with the stated variance normalization |
| Stationary unconditional variance | 2 |
| Variance at zero shock | 1 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| omega | 1 |
| alpha | 1/2 |
| shock | 2 |
The construction requires a finite innovation fourth moment and the stated sufficient stability bound, whereas the second-moment fixed equation alone cannot justify the fourth-moment calculation. Parameter a has squared observation units, b is dimensionless and the squared-series covariance has fourth-power units. If b=0 or S_t is constant, the conditional variance is constant. Otherwise zero level autocovariance is compatible with changing conditional variance and positive squared-series dependence. The model proof does not assert that all series with a flat level spectrum have this volatility law. Related reading: [Modeling a conditional variance](https://web.pdx.edu/~crkl/ec572/readings/Engle82.pdf). The original introductory pages give the conditional variance equation and Gaussian example. The proof establishes stationary construction and squared-series covariance under its explicit innovation fourth-moment bound. It does not require normally distributed innovations for those identities.
Forecasting on an irregular physical clock
Consider an exactly observed stationary Gaussian Ornstein–Uhlenbeck process Y_s with mean μ, physical-time correlation decay κ>0 and covariance v e^(−κ|s−u|), with v≥0. In the diffusion parametrization v=σ²/(2κ). Take known observation time s and a subsequent specified time s+Δ with Δ≥0. Put r=e^(−κΔ). The residual η=Y_(s+Δ)−μ−r(Y_s−μ) is centered Gaussian and has variance v(1−r²) from expanding its variance.
For any u≤s, the covariance of η with Y_u is v e^(−κ(s+Δ−u))−r v e^(−κ(s−u))=0. Joint Gaussianity then makes η independent of any finite vector of observations through s, and hence of their generated history by the cylinder event argument. Thus the transition conditional on the actual exact last observed value y is Gaussian with mean μ+r(y−μ) and variance v(1−r²). When Δ=0 or v=0, this formula gives the respective deterministic transition. A covariance formula for a non-Gaussian process alone would not establish this independent residual law.
Across consecutive gaps Δ_1 and Δ_2, write r_i=e^(−κΔ_i). Centering at μ and substituting the first transition into the second gives coefficient r_2 r_1 and innovation r_2 η_1+η_2. The second residual is independent of the history including the first. Its sum variance is r_2² v(1−r_1²)+v(1−r_2²)=v(1−r_1² r_2²). Since r_2 r_1=e^(−κ(Δ_1+Δ_2)), composing both transitions gives exactly the single transition for the total elapsed time.
If an intermediate scheduled reading is unavailable and its absence supplies no information about the path, do not condition on an invented value there. Predict across the total elapsed gap with the composed variance. A shorter time interval instead changes r and the amount of process variation. The decay rate κ is in inverse physical time and σ in observation units per square root of physical time. Noisy measurements or a sampling rule that depends on hidden or future values change the conditioning problem, and the exact observed-state argument must be replaced accordingly. Related reading: [Exact time steps and stationary OU covariance](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf), [Kalman prediction, missing observations and likelihood](https://users.aalto.fi/~asolin/sde-book/sde-book.pdf). The exact OU transition uses actual elapsed physical time and has an independent Gaussian residual under the declared law. The proof composes both variance terms and handles an unobserved intermediate point and the degenerate boundaries.
Compare finite-lag dependence, forecasts, rolling prediction errors, filtering with missing data and conditional volatility. Exact calculations stay visible for each case.
Moving-average overlap ends after one lag
A positive lag-one covariance
Only the shared innovation contributes to covariance at lag one. All larger lags use disjoint uncorrelated innovations. Invertibility separately asks whether the lag polynomial can be inverted by a stable one-sided filter.
| Quantity | Exact result |
|---|---|
| Variance | 5 |
| Lag-one covariance | 2 |
| ACF at lags 0…4 | [1, 2/5, 0, 0, 0] |
| Invertibility of 1+θz | Invertible; when θ=0 the factor is constant |
| Lag-factor zero and second-order scope | The lag-factor zero is z=−2, outside the unit circle. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| theta | 1/2 |
| v | 4 |
Forecast variance approaches the stationary variance
Forecast relaxes toward the known mean
Unrolling the autoregression gives a forecastable part and a signed linear sum of future innovations. Uncorrelated innovations eliminate cross terms in the unconditional error variance. White noise alone does not establish a conditional mean or variance given nonlinear history.
| Quantity | Exact result |
|---|---|
| Selected horizon | 3 |
| Best linear forecast | 3/2 |
| Unconditional forecast error variance | 21/16 |
| Stationary variance | 4/3 |
| Persistence coefficient φⁿ at n=h | 1/8 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| phi | 1/2 |
| v | 1 |
| m | 1 |
| x | 5 |
| h | 3 |
Dependence can increase or decrease averaging uncertainty
Positive dependence increases the variance
The exact covariance sum counts n diagonal entries and 2(n−h) off-diagonal entries at each positive lag. Its geometric limit gives the long-run variance of the scaled average, a different quantity from the chosen finite sample.
| Quantity | Exact result |
|---|---|
| Finite-sample mean variance | 33/32 |
| Variance benchmark v/n under zero cross-covariance | 1/2 |
| n times the finite variance | 33/8 |
| Long-run scaled-mean variance | 6 |
| All covariance terms weighted by pairs | [8, 6, 2, 1/2] |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| phi | 1/2 |
| v | 2 |
| n | 4 |
A missing measurement skips the update, not the prediction
Noisy measurement makes a partial correction
The dynamics propagate the old posterior estimate and covariance even with no observation. When present, an innovation is orthogonal to the previous linear information and gives a linear correction. The stated noise laws determine the gain. With jointly Gaussian state and observations the linear estimate also gives the Gaussian conditional mean. This figure uses only the stated second-order assumptions.
| Quantity | Exact result |
|---|---|
| Predicted mean / variance | (1, 1) |
| Innovation | 1 |
| Innovation variance | 2 |
| Applied gain | 1/2 |
| Retained mean / variance | (3/2, 1/2) |
| Joseph-form verification | (1−K)²P⁻+K²R = 1/2 |
| Scope of the state estimate | Linear orthogonal update. A conditional Gaussian interpretation requires the Gaussian model. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| a | 1/2 |
| Q | 1/2 |
| R | 1 |
| m | 2 |
| P | 2 |
| y | 2 |
Rolling forecasts can share the same future innovations
Rolling errors share positive weighted innovations
The h-step error sums future innovations with coefficients φ^{h−j}. With two forecast origins separated by d, only absolute times common to both sums contribute, because innovations at distinct times are uncorrelated.
| Quantity | Exact result |
|---|---|
| First / later error weights | [1/4, 1/2, 1] / [1/4, 1/2, 1] |
| Covariance contributions at shared times | [1/2, 2] |
| Covariance | 5/2 |
| Variance of either error | 21/4 |
| Correlation | 10/21 |
| Implication of disjoint innovations | Zero covariance follows from whiteness; independence needs more. |
| Shared absolute innovation times | +2, +3 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| phi | 1/2 |
| v | 4 |
| h | 3 |
| d | 1 |
Conditional volatility responds to squared innovations
A positive innovation raises next volatility
The variance update squares the shock, so its sign does not enter. Taking expectations under a finite-variance stationary regime forces E[h]=ω+αE[h]. The next conditional value remains finite at the stated shock even when that stationary equation has no positive finite solution.
| Quantity | Exact result |
|---|---|
| Base variance | 1 |
| Squared-shock contribution | 2 |
| Next conditional variance | 3 |
| Finite stationary second moment | Available under a stationary law with the stated variance normalization |
| Stationary unconditional variance | 2 |
| Variance at zero shock | 1 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| omega | 1 |
| alpha | 1/2 |
| shock | 2 |
Worked examples
An AR forecast with known parameters
Let a stationary Gaussian AR(1) have mean 10, coefficient 3/5 and innovation variance 4. The current observation is 13. Derive its three-step conditional mean and variance, its stationary variance, and a two-sided 95% predictive interval under the stated model.
- Center the state at 10. At the current origin it equals 3 above its mean, and each forecast step multiplies a centered state by 3/5 before adding a mean-zero fresh innovation. The conditional centered expectation after three steps is (3/5)³·3=81/125. Adding 10 gives 10.648. The later noise terms average to zero under the conditional law.
- The three-step error is ε_(t+3)+(3/5)ε_(t+2)+(3/5)²ε_(t+1). Its variance is 4[1+9/25+81/625]=3724/625=5.9584. Each weight is squared because the cross terms vanish. This is a conditional variance after the current observation has been fixed.
- The stationary unconditional variance solves v=(9/25)v+4, so v=25/4=6.25. With a longer horizon the missing variance approaches this value from below. Using the marginal variance at horizon three would count a portion of state uncertainty that the exact current observation has already resolved.
- The conditional errors are jointly built from fresh Gaussian innovations, so the summed error is Gaussian. The exact interval is 10.648±z_0.975√(3724/625), approximately the stated endpoints. The square root has the units of the observation. This calculation treats the supplied mean, coefficient and innovation variance as known model parameters.
At three steps the forecast is 10.648 with variance 5.9584. The stationary variance is 6.25, and the central 95% predictive interval is approximately [5.86, 15.43].
Two moving averages with identical autocovariances
For Gaussian MA(1) with coefficient 1/2 and innovation variance 4, derive the covariance and autocorrelation, the reciprocal description, and the one-step forecast when the most recent recovered innovation is −1. Explain the role of invertibility in interpreting those innovations.
- Write the centered output as ε_t+ε_(t−1)/2. Its variance is 4(1+1/4)=5 because the two innovations are independent and centered. Consecutive outputs share one innovation with coefficient product 1/2, giving covariance 2. Disjoint innovation sets give zero covariance at all larger lags.
- With coefficient 2 and variance 1 the variance is 1+4=5, and the shared coefficient contribution to the lag-one covariance is 2. The rest still vanish. Both observed sequences are jointly Gaussian and centered, so their equal covariance functions imply equal finite-dimensional laws. Their underlying innovation descriptions need not be the same random variables.
- For the invertible coefficient 1/2, the past innovation is recoverable in L² by summing the geometric inverse over an infinite past. With that recovered value equal to −1, the next observation is a fresh centered shock plus (1/2)(−1). Thus its conditional centered mean is −1/2. If the model includes a nonzero mean, add it to this forecast.
- The ordinary causal inverse for the coefficient 2 has coefficients with increasing magnitudes, so it cannot be used to read that description's earlier shocks from the observed past. Forecast transfer must preserve the available observation law and filtration. A finite observed record uses a truncated recovery and carries a start correction.
The nonzero autocovariances are γ(0)=5 and γ(±1)=2, so ρ(1)=2/5. The reciprocal description has coefficient 2 and innovation variance 1. The centered one-step forecast under the invertible description is −1/2.
Differencing a trend and a seasonal cycle
For X_t=t+cos(pi t/2)+epsilon_t with centered iid unit-variance noise, calculate the mean and covariance after the four-step seasonal difference, and then after applying the one-step difference to that output. Identify the lags changed by the second filter.
- Subtracting X_(t−4) from X_t gives 4+ε_t−ε_(t−4). The cosine vanishes because its arguments differ by 2π. The noise part has coefficients 1 and −1 at offsets zero and four. Since each innovation has variance one, the variance is the sum of the squared coefficients, and only the lag-four pairs share a term.
- The ordinary difference now subtracts the previous seasonal difference. The mean increment of that difference is 4−4=0. Its centered output is ε_t−ε_(t−1)−ε_(t−4)+ε_(t−5). Thus it has weights (1,−1,−1,1) at offsets (0,1,4,5), with each offset appearing once.
- At lag one the offset pairs (0,1) and (4,5) contribute −1 each. At lag three the pair (1,4) contributes +1. At lag four the pairs (0,4) and (1,5) contribute −1 each, and at lag five (0,5) contributes +1. Squared weights sum to four at zero. Every unlisted nonzero lag lacks overlapping indices, so its covariance is zero.
- The second filter doubles the variance from two to four, changes the lag-four covariance and introduces lags one, three and five. Symmetry gives the same signed values at their negatives. For a record beginning at index one, the seasonal difference starts at index five and the combined one starts at six. Neither transform adds missing earlier measurements.
The seasonal difference has mean 4, variance 2, and covariance −1 at lags ±4. Applying the ordinary difference gives mean 0 and covariances 4 at zero, −2 at ±1 and ±4, and 1 at ±3 and ±5.
Precision of an autocorrelated mean
A stationary AR(1) has marginal variance 4 and coefficient 1/2. Derive the variance of a four-observation mean, compare it with iid observations of the same variance, and derive the long-run variance and effective-count comparison.
- The autoregressive covariance gives γ(k)=4·(1/2)^|k|. For four observations the nonzero lag covariances used in the mean are 2, 1 and 1/2. There are three unordered adjacent pairs, two at distance two and one at distance three.
- The variance of the sum is 4·4+2(3·2+2·1+1·1/2)=33. Dividing by the squared sample size gives 33/16. With independent observations of variance 4 the corresponding variance is 4/4=1. The extra dispersion is from the shared dynamic structure, not a different marginal variance.
- The long-run variance is γ(0)+2∑_(k≥1)γ(k)=4+8∑_(k≥1)(1/2)^k=12. Since the covariances are summable, a long sample mean has variance asymptotically 12/n. Using 4/n there would omit a factor tending to three.
- If an independent sample of size n_eff had variance 4/n_eff for its mean, matching 33/16 gives n_eff=64/33. This is a variance-equivalent number and need not be an integer. For large n the same comparison gives n_eff asymptotic to n/3. It does not create independent observations or a new likelihood.
The variance of the four-observation mean is 33/16, versus 1 at independent sampling. The long-run variance is 12, and the four observations have the variance of 64/33 independent observations with marginal variance 4.
Two-lag prediction and partial autocorrelation
A stationary process has covariances gamma(0)=4, gamma(1)=2 and gamma(2)=0. Compute its one-lag and two-lag least-squares forecast coefficients and error variances and the second partial autocorrelation. Verify the covariance matrices are nonsingular and give a process realizing these three covariances.
- Use the centered observations for the projections. The lag-one coefficient is γ(1)/γ(0)=1/2, and its residual variance is γ(0)−γ(1)²/γ(0)=4−1=3. The mean, if present, determines the corresponding affine intercept.
- The predictor Gram matrix for two lags has diagonal 4 and off-diagonal 2. Its right-hand covariance vector with the target is (2,0). The equations 4a+2b=2 and 2a+4b=0 yield a=2/3 and b=−1/3. Their residual variance is 4−[a·2+b·0]=8/3.
- Project both endpoint values out of the intermediate observation. Each endpoint loses coefficient 1/2 times that intermediate value and has residual variance 3. Their residual cross-covariance is γ(2)−γ(1)²/γ(0)=−1. The equal variances give partial correlation −1/3, also the last coefficient of the two-lag projection.
- The covariance matrices through size three have leading principal determinants 4, 12 and 32, so all these finite projections are nonsingular. A realization is X_t=ε_t+ε_(t−1) with iid centered innovations of variance 2. It gives exactly the three supplied lags and shows finite nonsingularity even at this MA inverse boundary.
The one-lag coefficient is 1/2 with error variance 3. The two-lag coefficients are (2/3, −1/3) with variance 8/3. The second partial autocorrelation is −1/3.
A moving average changes the spectral shape
For MA(1) with coefficient 1/2 and innovation variance 1, derive its spectral density and its values at zero and pi radians per sample. Integrate it to recover the marginal variance and compare the peak-to-trough ratio with white noise.
- The MA(1) transfer function with weights one and 1/2 is H(ω)=1+(1/2)e^(−iω). The input spectral density is 1/(2π) because the innovations have variance one and zero other autocovariances. Expanding |H|² gives 1+1/4+cos ω, so multiplication yields the stated density.
- At zero the two transfer terms have equal phase and |H(0)|²=(3/2)²=9/4. At π they have opposite phase and |H(π)|²=(1/2)²=1/4. Thus the ratio is nine. Its finite minimum shows this parameter does not remove even the highest discrete angular mode.
- Integrate f on [−π,π]. The cosine integrates to zero and the constant integrates to 5/4. This matches the time-domain variance 1²+ (1/2)² when the two contributing innovations are orthogonal. The density converts squared observation units to mass per radian per sample.
- White noise has a flat density and peak-to-trough ratio one when its variance is positive. The filtered spectrum has more power at low angular frequency, but that is a property of the declared model. A single noisy Fourier measurement does not establish a fitted moving-average factor.
The density is f(ω)=(5/4+cos ω)/(2π). It is 9/(8π) at zero and 1/(8π) at π, integrates to 5/4, and has a peak-to-trough ratio of 9.
An exact four-point periodogram
For a mean-zero record (1,0,−1,0), compute all four periodogram ordinates on the Fourier grid with the 1/(2 pi n) normalization. Recover the mean squared value by the discrete frequency sum and state the limitation of interpreting a single ordinate as a population peak.
- Index the record by t=0,1,2,3. At ω_j=2πj/4 the unnormalized Fourier sum is 1−e^(−i2ω_j)=1−(−1)^j, since only indices zero and two are nonzero. Thus the sums are 0,2,0,2. Starting the index at one instead only adds a unit-modulus factor to each sum.
- The periodogram divisor is 2πn=8π. The squared Fourier magnitudes are 0,4,0,4. Dividing gives the listed ordinates. The nonzero second occurrence is the angular frequency 3π/2, which is equivalent to −π/2 and mirrors π/2 for a real record.
- The grid spacing in radians per sample is 2π/4. Multiplying by the sum of all ordinates gives (2π/4)·(1/π)=1/2. This equals the record mean squared value (1²+0²+(−1)²+0²)/4. The calculation uses all the grid values with their actual spacing.
- The Fourier pattern describes this length-four sequence exactly. It does not establish two distinct physical oscillations or a population density peak. Even independent Gaussian white noise has noisy interior grid ordinates. Reliable inference uses a sampling model and enough information beyond this record.
At the four frequencies the periodogram values are 0, 1/(2π), 0 and 1/(2π). The discrete integrated value is 1/2.
Smoothing with a visible starting value
Start simple exponential smoothing at level 10 with gain 1/4 and then observe 14, 8 and 9 in order. Compute each filtered level and the last flat forecast. Give the weights of the initial value and the three observations and verify their sum.
- Each update uses one fourth of the new observation and three fourths of the last level. The first update gives (3/4)·10+14/4=11. The second gives (3/4)·11+8/4=41/4, or 10.25.
- The third update gives (3/4)·(41/4)+9/4=159/16, or 9.9375. Simple smoothing uses this last level as the flat forecast at positive horizons under that forecasting rule. It does not supply an uncertainty interval by itself.
- Unrolling the third update yields weight (3/4)³=27/64 on the initial value. The observation weights in time order are (1/4)(3/4)²=9/64, (1/4)(3/4)=12/64 and 1/4=16/64. The numerators sum to 64, so no renormalization is needed.
- These weights give the same exact answer on substituting the values 10,14,8,9. The most recent observation still has weight below the combined contribution of earlier data and initialization. The initial level remains part of the result even though it is not one of the three observations.
The filtered levels are 11, 10.25 and 9.9375, with last flat forecast 9.9375. The weights of the initial value and three observations are 27/64, 9/64, 12/64 and 16/64.
Filtering across an unobserved time step
In a scalar local-level model with mean-zero initial state estimate, posterior variance 2, process-noise variance 1 and observation-noise variance 4, observe 3 at time 1 and miss the scheduled observation at time 2. Derive the predictions, gains and posterior moments through time 2 and the observation forecast variance at time 3.
- Use the linear Gaussian local-level model from the preceding sections. Given the initial information, the initial state error and the subsequent process and measurement noises are independent centered Gaussian variables. Treat the time-2 observation gap as fixed independently of the state and noise paths. At time 1 the level prediction uses the mean-zero initial estimate and adds the process variance to the initial 2, giving state prediction variance 3. The observation variance is 3+4=7. The observed residual is 3, so the gain 3/7 gives a posterior mean of 9/7 and a posterior variance of (1−3/7)·3=12/7.
- At time 2 the state mean prediction remains 9/7 and the state variance prediction is 12/7+1=19/7. Had this scheduled measurement been available, its forecast variance would have been 19/7+4=47/7 and its gain 19/47. There is no realized measurement gain or innovation to apply.
- Under this schedule, the time-2 gap supplies no new information about the state, so the time-2 posterior moments equal the time-2 predictions. Propagating once more gives a time-3 state prediction variance of 26/7. Adding the independent measurement variance 4 yields an observation forecast variance of 54/7.
- The state and observation forecasts at time 3 both have mean 9/7 because neither process nor measurement noise has a mean shift. The measurement uncertainty is higher because it includes the current measurement noise. Substituting a zero observation at time 2 would supply false information and change both mean and covariance.
At time 1 the gain is 3/7, posterior mean 9/7 and posterior variance 12/7. Time 2 has mean 9/7 and variance 19/7 with no measurement update. The time-3 observation forecast variance is 54/7.
Overlapping errors in a rolling forecast
For a random walk with iid centered unit-variance increments and its known optimal three-step forecast, calculate the mean squared error and lag covariances of errors at adjacent and separated rolling origins. Compare the variance of the average of n such errors with the calculation that treats them as independent.
- The forecast at origin t is the observed level X_t because the next three increments have conditional mean zero. The forecast error is ε_(t+1)+ε_(t+2)+ε_(t+3). Its mean is zero and its variance and mean squared value equal three by independence and unit increment variance.
- The adjacent error shares the last two of these increments, and the error two origins later shares only the last. All unmatched cross-products have zero mean. Thus the lag-one covariance is two, lag-two is one, and separated windows at lags three and above have covariance zero. Negative lags give the same results.
- The variance of the sum of n errors has n diagonal terms of size three. There are max(n−1,0) unordered adjacent pairs and max(n−2,0) pairs two origins apart. Doubling their covariances gives the additional two terms in the numerator. For n≥2 the result simplifies to (9n−8)/n².
- Independence would give a variance of 3/n for this average, omitting the shared shocks. The actual variance tends to 9/n in the leading term at fixed horizon three. This computation concerns the mean of signed errors. A mean of squared errors has its own covariance and moment requirements.
The three-step error has MSE 3 and lag covariances 3, 2, 1, then zero. For n consecutive origins its mean has variance [3n+4 max(n−1,0)+2 max(n−2,0)]/n², versus 3/n under an independent-error calculation.
Removing the shared stochastic trend
Let Y_t=X_t+e_t and Z_t=2X_t+u_t, with a unit-variance-increment random walk X and independent centered white noises e and u of variances 1 and 4. Derive the covariance of the levels, a stationary spread and its variance. Explain the result of regressing away a deterministic trend instead.
- Let C(s,t)=Var(X_0)+min(s,t) for an independent initial level, taking Var(X_0)=0 if the starting value is fixed. The covariance of Y_s,Y_t is C(s,t)+1_(s=t). That of Z_s,Z_t is 4C(s,t)+4·1_(s=t). The cross-covariance of Z_s,Y_t is 2C(s,t), because the independent residuals make no contribution across series.
- Subtracting twice the observed Y from Z cancels the common X at the same time. The result is u_t−2e_t, with independent terms of variances four and four, so the spread has variance eight. Off-zero-lag covariances vanish by whiteness and independence of the noise sequences.
- The spread therefore has constant mean zero and a stationary covariance sequence. If the white noises are iid in time, it is also strictly stationary. Its squared units are the squared Z units after the factor two converts Y units. The growing variances of the levels should not be used as the spread's uncertainty.
- Any deterministic trend subtracted from either level changes its mean but leaves the corresponding C(s,t) term in the covariance unchanged. The variance still grows at rate one for Y and four for Z per sample. The spread construction removes a random shared component pathwise, which explains the different result.
The stationary spread is Z_t−2Y_t=u_t−2e_t with variance 8. The levels retain the growing random-walk covariance, which a deterministic trend adjustment does not remove.
Forecasting variance in an ARCH model
Let X_t=sqrt(4/5+X_(t−1)^2/5) times a fresh standard normal. Derive the stationary second and fourth moments, forecast the conditional variances one and two steps after X_t=3, and compute the lag-one squared-series covariance.
- For the standard normal innovation the second moment is one and fourth moment is three, so b√κ=√3/5<1 establishes the stationary fourth-moment regime. The second moment m solves m=4/5+m/5, giving m=1.
- The fourth moment q solves q=3[(4/5)²+2(4/5)(1/5)m+(1/5)²q]=3(24+q)/25. Hence q=36/11. The variance of the squared level is q−m²=25/11. These are stationary unconditional moments.
- At the stated observation, the next conditional variance is 4/5+9/5=13/5. For two steps the intermediate square is unobserved. By conditional expectation the variance at step two is 4/5+(13/5)/5=33/25. Both future conditional means are zero so the future second moments are variances.
- The conditional centered squared mean contracts by one fifth each step. Therefore the lag-one covariance is (1/5)(25/11)=5/11 in fourth-power units. The levels themselves are serially uncorrelated. Their changing conditional variance is visible in the squares despite the level covariance cutoff.
The stationary second and fourth moments are 1 and 36/11. After X_t=3 the one- and two-step conditional variances are 13/5 and 33/25. The lag-one covariance of the squares is 5/11.
Try it yourself
At even times take independent observations with equal probabilities at −1 and 1. At odd times use independent standard normal observations, with independence also across the two sets. Verify weak stationarity and disprove strict stationarity. Explain why a time-dependent variance would fail even weak stationarity.
Show the answer and reasoning
With unit-amplitude sign observations the process is weakly stationary and fails strict stationarity. More generally, the symmetric two-point law must have the same variance as the normal law for weak stationarity.
Write a centered symmetric two-point law as equal probabilities at −a and a for a>0. The even-time mean is zero and variance a². The odd-time standard normal mean is also zero and its variance is one. Since distinct observations are independent, all nonzero-lag covariances are zero. Weak stationarity requires the lag-zero covariance to be constant as well. Thus it holds exactly when a²=1 for the specified parity construction. For the unit sign version it gives the stationary covariance γ(0)=1 and γ(k)=0 at every nonzero lag. The even-time probability of lying at either −a or a is one, while the continuous normal assigns probability zero to those points. A one-step shift changes a one-time law and therefore also violates the strict stationarity requirement for every a>0. If a²≠1, the differing lag-zero variances also rule out weak stationarity even though all cross-covariances at distinct times still vanish. At unit amplitude, only the second-order requirements hold. This example separates known covariance from equality of marginal and joint laws.
For X_t=epsilon_t epsilon_(t−1) with independent standard normal inputs, derive its marginal variance, lag-one covariance and lag-one covariance of squares. Compare with a jointly Gaussian white-noise process.
Show the answer and reasoning
The marginal variance is 1 and the lag-one covariance is zero. The lag-one covariance of the squares is 2. A jointly Gaussian white-noise process has independent times.
Let ε_t be independent standard normals. The product X_t has mean zero from independence of its centered factors. Its second moment is E ε_t² times E ε_(t−1)², which is one. At lag one the product is ε_(t+1) ε_t² ε_(t−1), so the expectation is zero because either outside centered factor is independent of the others. The product of adjacent squares is ε_(t+1)² ε_t⁴ ε_(t−1)². Its expectation equals 1·3·1=3, using the standard normal fourth moment, derivable by integration by parts. Each individual square mean is one, so the difference from the product of means is 3−1=2. Independence of adjacent observations would make their square functions independent and hence give zero square covariance, because the moments are finite. The actual covariance disproves this. For lags at least two, the original innovation sets are disjoint, so the product observations are independent at those separations. For jointly Gaussian white noise the covariance matrices of finite vectors are diagonal. Each joint Gaussian characteristic function factors into its marginal characteristic functions, giving independence. Normality of each underlying innovation in the product construction does not imply that the product process is jointly Gaussian.
Let X_t=A+epsilon_t with independent centered A and iid centered epsilon of positive variances. Derive the covariance, exact variance of the sample mean, and covariance of first differences. Explain what differencing removes.
Show the answer and reasoning
If the offset variance is a and the innovation variance is s², the covariance is a+s² at lag zero and a at all other lags. The mean variance is a+s²/n. First differences have variance 2s², covariance −s² at lags ±1, and zero otherwise.
Expand Cov(A+ε_(t+k),A+ε_t). The common A contributes a at every lag. The centered innovations contribute s² exactly when their indices agree, and the offset-innovation terms are zero by independence. This gives constant mean and the stated covariance sequence despite shared randomness. The sample mean is A plus the average of the independent innovations. The two parts are independent, so its variance is a+s²/n. It approaches a, not zero. More time observations average out the independent part under this model while leaving the randomly chosen offset of that realization. First differences cancel the same A in both terms and equal ε_t−ε_(t−1). The difference has squared coefficient sum two and hence variance 2s². Adjacent differences share one innovation with opposite signs, yielding covariance −s². Nonadjacent differences have disjoint noise indices and hence covariance zero. The differenced series can be weakly stationary even though the original mean retains nonvanishing uncertainty through A. Its differencing filter removes the covariance contribution at every lag from the constant offset, which is a spectral atom at zero. It also changes the covariance of the independent noise and cannot reconstruct the original level without a starting reference.
For centered independent unit-variance input, derive the lag covariance of Y_t=(X_t+X_(t−1)+X_(t−2))/3. Evaluate this filter’s response to a constant and to a period-three cosine.
Show the answer and reasoning
The covariance is (3−|k|)/9 for |k|≤2 and zero otherwise. The filter preserves a constant and sends a period-three cosine to zero.
Each Y_t is the sum of three consecutive inputs with coefficient 1/3. Its mean is zero. In the product Y_(t+k)Y_t, only matching input times survive because the inputs are independent and centered, with variance one for every matching term. The two length-three index lists have 3−|k| common entries if |k|≤2, and none otherwise. Each contributes (1/3)² to the covariance. In particular the variance is 1/3, lag-one covariance 2/9 and lag-two covariance 1/9. For a deterministic constant c the three weights sum to one, yielding output c. For a cosine of period three, write it as the real part of a phase times e^(i 2π t/3). Its multiplier is (1+e^(−i2π/3)+e^(−i4π/3))/3, which is zero because the three cube roots of unity sum to zero. The filter therefore reduces pointwise variance of white noise while sharing its inputs across output times. Its exact period-three cancellation concerns the declared regular observation grid. With a finite record there is no output using these three coefficients before three actual inputs have been supplied.
A causal AR(1) with independent centered innovations has mean zero, coefficient −1/2 and innovation variance 3. Derive the stationary covariance, one- and two-step forecasts from X_t=4, and both conditional error variances.
Show the answer and reasoning
The stationary covariance is 4(−1/2)^|k|. The forecasts from 4 at horizons one and two are −2 and 1, with error variances 3 and 15/4.
The stable autoregressive variance solves v=(−1/2)²v+3, giving v=4. Iterating the recurrence over a positive lag and using orthogonality of the future innovations with the earlier state gives γ(k)=(−1/2)^k v. Covariance symmetry adds negative lags. From the observed value 4 the next conditional mean is −(1/2)·4=−2 since the innovation has mean zero and is independent of this past. A second step multiplies the first forecast by −1/2 again, producing 1. This is the finite-horizon effect of the negative coefficient. The one-step error is the next innovation of variance 3. The two-step error is the next-but-one innovation minus half the next innovation. Independence eliminates the cross term, so its variance is 3+3/4=15/4. The alternating signs change the predictable means and odd-lag covariances. They do not make error variances negative because the individual weights are squared. An exact Gaussian prediction interval would need Gaussian innovations in addition to the stated means, variances and independence.
For X_t=2X_(t−1)+epsilon_t with centered iid unit-variance noise on the full integer time axis, construct the stationary future-innovations solution. Derive its variance and Cov(X_(t−1),epsilon_t) and explain why a causal forecast interpretation fails.
Show the answer and reasoning
The stationary solution is X_t=−∑_(j≥1)2^−j ε_(t+j), with variance 1/3 and Cov(X_(t−1),ε_t)=−1/2. The innovation in the recurrence is correlated with the previous state.
Rearrange the recurrence m steps forward to obtain X_t=2^−m X_(t+m)−∑_(j=1)^m 2^−j ε_(t+j). Under finite stationary variance and constant mean, the first term tends to zero in L². Independence and summability of the squared coefficients give the displayed future series. The series is an L² limit of the same shift-invariant filter at every time, so with iid input its finite-dimensional laws are stationary. Direct substitution shows 2X_(t−1)=−ε_t+X_t. The variance is the sum ∑_(j≥1)4^−j=1/3 by whiteness. In X_(t−1) the first term is −ε_t/2. Every other term has a distinct later index and is uncorrelated with ε_t. This gives covariance −1/2. It contradicts the assumption that ε_t must be an innovation independent of the past state of a causal forward forecast. The recurrence can be used forward from an independent seed, but that process has a growing variance rather than the stationary future-innovation law. Independent noise variables across different t alone do not establish their independence from a state that was constructed using future noise.
Find the causal impulse response of (1−B/2)^2 X_t=epsilon_t. Prove its summability, identify the repeated lag root, and calculate its first four impulse-response coefficients.
Show the answer and reasoning
The lag root is 2 with multiplicity two. The causal coefficients are ψ_j=(j+1)2^−j for j≥0, beginning 1, 1, 3/4, 1/2. Their absolute sum is 4.
Factor the lag polynomial as the two identical terms already displayed. In the lag variable z, 1−z/2 vanishes at z=2. Its reciprocal is the convergent geometric series ∑_(j≥0) 2^−j z^j for |z|<2. Taking the product of two copies gives coefficient ∑_(i=0)^j 2^−i 2^−(j−i)=(j+1)2^−j. The factors are absolutely summable at |z|=1, and the total sum is (∑_(i≥0)2^−i)²=4. This includes the polynomial factor j+1 coming from multiplicity. The coefficients for j=0,1,2,3 are 1,2/2,3/4,4/8. For centered white innovations with finite variance, convolution with these coefficients defines an L² stationary causal filter. Applying (1−B/2)^2 returns the innovations by the coefficient convolution identity. The repeated lag root is outside the closed unit disk. Its reciprocal determines the geometric decay of the impulse response, while multiplicity changes the prefactor. Treating it as a single root would give the wrong first-order coefficients and a different output covariance.
Analyze the stationary causal model (1−B/2)X_t=(1−B/2)epsilon_t with independent finite-variance innovations. Prove the reduced model and explain why the unreduced orders cannot be inferred from observing X alone.
Show the answer and reasoning
The stationary causal model reduces exactly to X_t=ε_t. The shared factor can be present in the written AR and MA polynomials without affecting the observed process.
Let D_t=X_t−ε_t. The stated equation gives D_t−D_(t−1)/2=0 on the full stationary domain, so D_t=2^−m D_(t−m) for any positive integer m. The L² norms of the D variables are uniformly bounded by the sum of the stationary norms of X and ε. Letting m grow makes ‖D_t‖₂ tend to zero. Thus D_t=0 almost surely, with simultaneous equality over integer time by countability. The same conclusion follows by the absolutely summable inverse of the common factor, applied to both sides of the L² equation. The written AR polynomial and MA polynomial are both 1−z/2. Their transfer ratio is identically one after cancellation, so the stationary law, covariance and all forecasts based on X are exactly those of the innovation process. Independence of the input gives independence of the reduced observations. Nothing measured on X separates this redundant pair of factors from an order-zero description. This does not justify cancelling arbitrary dynamic initial conditions in a finite uninitialized record. Here the stationarity and stable shared factor controlled the transient exactly.
Let the target be Z=X+epsilon with independent centered noise of finite variance and 0<Var(X)<infinity. Predict it using both X and 2X. Derive all least-squares coefficients, the unique predicted value and the residual variance.
Show the answer and reasoning
For finite-variance noise, all pairs of slopes satisfy b+2c=1 with intercept zero. All give forecast X and residual variance Var(ε).
An affine forecast of Z from X and 2X is a+bX+c(2X)=a+(b+2c)X. With E ε=0, optimizing the intercept centers the residual, so a=(1−b−2c)E X. The centered residual is (1−b−2c)(X−E X)+ε. Independence and centering make the two terms orthogonal. The squared risk after fitting the intercept is (1−b−2c)² Var(X)+Var(ε). Since Var(X)>0, the minimum occurs exactly on the line b+2c=1. Then a=0. The same slope line minimizes the no-intercept problem when the prediction is restricted to that form. For every such pair the predictor is X and the residual is ε itself, so the prediction is unique as a random variable. The singularity lies in the representation by two columns: the predictor covariance matrix is Var(X) times the rank-one matrix with rows (1,2) and (2,4). The calculation is an ordinary least-squares problem when the target and noise have finite second moments. If the centered noise has infinite second moment while X has a finite variance, subtracting any finite-norm affine combination leaves an infinite squared risk. The finite-risk conclusion uses the usual L² premise.
For a stationary causal AR(1) with coefficient phi of modulus less than one and positive innovation variance, derive the lag-one partial autocorrelation and prove that the lag-two partial autocorrelation is zero using explicit residuals.
Show the answer and reasoning
The lag-one partial autocorrelation is φ. At lag two the residuals after removing the middle observation are uncorrelated and have positive variance, giving partial autocorrelation zero.
Center the stationary AR(1) and write v=σ²/(1−φ²)>0. Its autocovariances at lags one and two are φv and φ²v. With no intermediate lag at lag one, the partial autocorrelation is the ordinary correlation φ. At lag two the middle variable is X_(t−1). Both endpoint regression coefficients on it are Cov(endpoint,middle)/v=φ. Thus F=X_t−φX_(t−1)=ε_t and G=X_(t−2)−φX_(t−1) are the forward and reversed residuals. Because G is a past linear combination, Cov(ε_t,G)=0 under the causal white-innovation construction. Directly its variance is v+φ²v−2φ(φv)=v(1−φ²)=σ², agreeing with the variance of F. The positive denominator gives partial correlation zero. The residual G is a backward projection error, not necessarily a newly independent shock relative to its own time direction. This argument proves the stated covariance cutoff for a population causal AR(1). Estimated partial autocorrelations can vary around zero even when the model holds.
Let X_t=A cos(pi t/2)+B sin(pi t/2), with independent centered A and B of the same positive variance. Derive its stationary covariance, its exact past predictor and the innovation variance. Identify the deterministic part in the L2 past-span sense.
Show the answer and reasoning
The covariance is v cos(πk/2) for v=Var(A)=Var(B). The exact predictor from the past is −X_(t−2), the innovation variance is zero, and the entire process is its linearly deterministic component.
Take expectations of the centered products. Independence of A and B removes the cross terms, leaving v[cos(π(t+k)/2) cos(πt/2)+sin(π(t+k)/2) sin(πt/2)]. The cosine difference identity reduces this to v cos(πk/2). All means are zero, so this is weak stationarity. At time t−2 both sine and cosine arguments are shifted by π from those at t. Their values change sign, giving X_t=−X_(t−2) identically. Thus any past that includes this lag gives an exact linear predictor, with residual zero. The same relation at successive two-step retreats expresses X_t as a signed value at an arbitrarily remote time. Therefore every X_t belongs to the intersection of the closed past spans. The deterministic projection in the L² decomposition equals X_t, and no positive-variance innovation coefficient is available. A and B still have positive variances, so these exact prediction relations do not make the paths nonrandom. Equal variances of the two components suffice for the covariance result. Strict stationarity would additionally require a joint law invariant under the quarter-turn of the coefficients.
For independent centered Gaussian coefficients A,B of the same positive variance, compare A cos(omega t)+B sin(omega t) with an equal-law coefficient pair at frequency pi−omega for 0<omega<pi/2. Prove the sampled-every-two distributions agree and the original covariance functions differ.
Show the answer and reasoning
For positive common coefficient variance v the retained laws agree, while the original lag-one covariances are v cos ω and −v cos ω. If v=0, both processes are the same zero process.
On times t=2n the second frequency gives angle (π−ω)2n=2πn−2ωn. The cosine equals cos(2ωn) and the sine equals −sin(2ωn). The entire retained second process can therefore be written with the first frequency and its sine coefficient sign reversed. The independent centered Gaussian pair has the same joint law after changing the sign of B. An equal-law pair for the second frequency consequently produces the same joint law of every finite list of even-indexed observations. The claim concerns the recorded law regardless of how the two coefficient pairs were coupled. The original covariance at lag k is v cos(k times the frequency), by expanding the two trigonometric components with equal variances and zero cross term. At lag one cos(π−ω)=−cos ω. Since 0<ω<π/2, the cosine is positive, so these covariances differ whenever v>0. The retained clock sees only the angles modulo 2π and the sign symmetry of real oscillations. With zero coefficient variance there is no spectral mass to distinguish in the first place. For the nonzero examples the spectra are line masses, and no continuous density or finite-record spectral estimation is needed for the equal-law conclusion.
Let Y_t=e_t+u_t and Z_t=e_(t−1)+v_t, where e,u,v are independent iid centered unit-variance sequences. Derive gamma_YZ(k)=Cov(Y_(t+k),Z_t), the cross-spectrum and the coherence. Explain the shared-noise mechanism.
Show the answer and reasoning
The only nonzero cross-covariance is γ_YZ(−1)=1. The cross-spectrum is e^(iω)/(2π), and squared coherence is 1/4, with coherence magnitude 1/2.
Y_(t+k) contains e_(t+k) and independent u_(t+k). Z_t contains e_(t−1) and independent v_t. The only possible nonzero cross term is the product of the e terms at the same time, so κ=Cov(Y_(t+k),Z_t) is one when k=−1 and zero otherwise. Under the convention f_YZ(ω)=(2π)^−1∑_k γ_YZ(k)e^(−ikω), the single negative lag gives e^(+iω)/(2π). Its reverse cross-spectrum is the conjugate. Reversing the lag convention would conjugate the displayed phase without changing the magnitude. Each individual series has variance 2 with no covariance at a nonzero lag, so f_Y=f_Z=2/(2π). The squared ratio of the cross-power magnitude to the two powers is [1/(2π)]²/[2/(2π)]²=1/4. Both powers are strictly positive, so the ratio is defined everywhere. The shared e enters one series a sample later than the other, while the u and v streams make independent contributions. This accounts for the phase and the coherence below one. The construction contains no direct effect of changing one observed series on the other at a fixed shared input.
For the record (1,−1,1) with known process mean zero and autocovariances divided by 3, compute the long-run variance estimates using only lag 1 with rectangular weights and with Bartlett weights. Explain why bounded-sample covariances do not make every lag weighting positive semidefinite.
Show the answer and reasoning
The lag-one rectangular estimate is −1/3. The Bartlett estimate is 1/3 when lag one is weighted by 1/2.
Use the known mean zero, not the observed sample mean. The terms at lag zero are all squared ones, so the divisor-three estimate is 1. The lag-one products are (1)(−1) and (−1)(1), giving −2/3. The symmetric negative lag has that same value. Truncating at lag one with both side weights one gives 1+2(−2/3)=−1/3. With Bartlett width L=2 the lag-one weight is 1−1/2=1/2, which instead yields 1+2(1/2)(−2/3)=1/3. One can verify the Bartlett value directly. Extend the record by zeros at both ends and form length-two moving sums starting at indices 0,1,2,3. They are 1,0,0,1. The sum of their squares is two, divided by 3·2=6, giving 1/3. Finite covariance identities do not force an arbitrary linear combination of the lags to be nonnegative. The Bartlett weights here have an exact square representation, whereas the abrupt rectangular truncation can discard terms needed for positivity. The estimates have squared observation units.
A conditional outcome is 0 with probability 3/4 and 8 with probability 1/4. Derive an optimal forecast under squared loss and under absolute loss, and calculate the expected losses at both proposed values.
Show the answer and reasoning
The squared-loss forecast is 2 and the absolute-loss forecast is 0. At forecasts 2 and 0 the expected squared losses are 12 and 16, and the expected absolute losses are 3 and 2.
The conditional mean is 0·(3/4)+8·(1/4)=2, which minimizes squared loss by the variance decomposition. At a=2 the losses are 4 and 36 with those probabilities, so the expected value is 3+9=12. At a=0 the squared losses are 0 and 64, giving expectation 16. More generally the conditional squared risk is 12+(a−2)², which also demonstrates uniqueness of the squared-loss optimum. The conditional distribution has probability 3/4 at zero. Its median is uniquely zero, since any forecast strictly above zero loses the left tail constraint and anything below zero loses the right tail constraint. Absolute-loss expectation at zero is 8/4=2. At forecast two, the absolute deviations are two and six, yielding (3/4)·2+(1/4)·6=3. The distinct minima result from the different loss functions for the same distribution. Squared loss is measured in squared outcome units, while absolute loss is measured in the original units.
For a one-step Gaussian forecast with conditional mean 5 and variance 9, derive the central 90% interval. Repeat for variance zero and explain why neither a confidence interval for the model mean nor a claim about a changed innovation law follows.
Show the answer and reasoning
The central 90% interval is 5±3z_0.95, approximately [0.065, 9.935]. For conditional variance zero the forecast value is 5 with probability one, and the interval is [5,5].
If the conditional variance is 9, the standard deviation is three in observation units. The standardized conditional variable (Y−5)/3 has a standard normal law, so the equal-tail cutoffs exclude probability 0.05 at each end. Their endpoints are 5±3z_0.95. With z_0.95 close to 1.645, this gives a half-width close to 4.935. The actual coverage claim of 90% belongs to the expression with the exact quantile, assuming the Gaussian conditional law and supplied mean and variance. If variance is zero, the square expectation of Y−5 is zero under the conditional law, so Y=5 almost surely. There is no standardization by zero. The singleton forecast interval has coverage one and hence meets a 90% coverage requirement, with unavoidable point-mass excess for that interval. These are predictive statements for a future observation with known conditional law. They quantify neither sampling uncertainty about an estimated mean nor coverage after changing the innovation distribution. A changed distribution with the same variance can have different conditional quantiles.
Let a centered iid sequence U_t of variance one drive X_t=U_t+eta_t and Y_t=U_(t−1)+epsilon_t, with independent centered unit-variance measurement noises. Compare predicting Y_t from its own past to adding X_(t−1), and then to observing U_(t−1). Interpret the incremental predictability.
Show the answer and reasoning
The own-past forecast is zero with MSE 2. Adding X_(t−1) gives the linear forecast X_(t−1)/2 with MSE 3/2. Observing U_(t−1) gives forecast U_(t−1) with MSE 1.
The earlier Y variables contain only driver values U_(s−1) for s<t and earlier measurement noises. Given mutual independence of the stated noise and driver variables across the relevant times, they contain no information about the fresh U_(t−1) and ε_t. Their conditional mean forecast is zero and Var(Y_t)=1+1=2. The lagged X measures the same driver through independent unit-variance noise. It has variance 2 and covariance one with Y_t, and is orthogonal to the own-past predictors. The best new linear coefficient is 1/2, giving risk 2−1²/2=3/2. Gaussianity would make this linear forecast the full conditional mean, but it is not required for the linear result. With U_(t−1) observed, conditioning gives E[Y_t|U_(t−1), past, X_(t−1)]=U_(t−1), because ε_t remains a centered independent term. The risk is then its variance one. The remaining part of X beyond the observed driver is independent noise and cannot improve that forecast. The predictive gain from the lagged X is mediated by information about U, which the own-past model omitted. In the structural equations Y uses U and its own noise, with no direct dependence on the proxy X. This explains how a useful lagged predictor can exist without a causal effect from the observed proxy.
A stationary Gaussian Ornstein–Uhlenbeck process has mean 0, marginal variance 4 and decay rate log(2) per hour. Given its exact current value 6, calculate the one-hour and two-hour forecast laws. Show how passing an unobserved midpoint combines two one-hour transitions and compare with a two-hour transition.
Show the answer and reasoning
The one-hour forecast is N(3,3) and the two-hour forecast is N(3/2,15/4), with the second argument denoting variance. Integrating across an unobserved midpoint gives the same two-hour law.
The decay rate is log(2) per hour, so the conditional coefficient after one hour is e^(−log 2)=1/2. With mean zero and current value six, the forecast mean is three. The variance is the stationary variance times 1−(1/2)², giving 4·3/4=3. After two hours the coefficient is (1/2)²=1/4. The direct conditional mean is 6/4=3/2 and the variance is 4(1−1/16)=15/4. These are conditional on the exact current observed state. Write the midpoint as (1/2)·6+η_1 with η_1 centered Gaussian of variance three. The next transition gives (1/2)[(1/2)·6+η_1]+η_2. The two residuals are independent under the exact Gaussian OU transition, so the final residual variance is (1/4)·3+3=15/4. A missing midpoint neither changes the physical two-hour gap nor supplies a value for conditioning. Under an uninformative missing schedule, integrating over that unknown reading recovers the direct law. An actual observation at the midpoint would instead give a one-hour future forecast conditioned on its observed value.
What to carry forward
- Constant covariance does not determine a joint law. White-noise observations can have dependent squares.
- Differencing changes covariance by changing which inputs a sample shares. A causal model uses the actual information from the past and present.
- Invertibility, stability and model order depend on the correct lag polynomials and any shared factors.
- Forecast errors and sample means retain covariance across times. An asymptotic variance calculation alone does not prove a normal limit.
- Angular frequency needs a consistent normalization. Retaining fewer samples can make distinct frequencies observationally identical.
- A filter's conditional estimation covariance, marginal state covariance and observation covariance answer different questions.
- A scheduled missing measurement changes what can be conditioned on. Propagate through the real elapsed time and apply an update only when data arrive.
- Loss, volatility and model assumptions determine forecast performance. Predictive association from a shared cause supplies no intervention effect by itself.
References
Sources for the concepts and teaching approaches in this article.
- Positive semidefinite lag-window estimationWhitney K. Newey and Kenneth D. WestPrimary · PDF
- Cointegration and error correctionRobert F. Engle and C. W. J. GrangerPrimary · PDF
- Modeling a conditional varianceRobert F. EnglePrimary · PDF
- Exact time steps and stationary OU covarianceSimo Särkkä and Arno SolinPrimary · PDF
Rob J. Hyndman and George Athanasopoulos3 sources
- Downsampling and the finite DFT alias identityJulius O. Smith IIIPrimary