Module 4 — Estimation, Likelihood, and Inference
Module 4 — Estimation, Likelihood, and Inference
Core question
How does a finite dependent vector identify model parameters, and how should its covariance structure enter estimation and uncertainty?
Learning outcomes
You will be able to:
- express conditional AR estimation as matrix least squares;
- derive Yule–Walker estimators from autocovariance equations;
- evaluate an exact Gaussian likelihood with Cholesky factors;
- connect the joint likelihood to the innovations likelihood;
- obtain curvature-based standard errors and state their limitations;
- diagnose a fitted model with residual covariance, not one scalar score.
1. Conditional AR estimation is regression
For an AR(),
stack observations :
Then
This is conditional least squares because the first observations are treated as fixed initial conditions. In R, qr.solve(X, y) or lm.fit(X, y) is preferable to forming .
2. Yule–Walker estimates second-order equations
For a stationary AR(), multiply the model by and take expectations. For :
The first equations are
Replacing population autocovariances by sample autocovariances gives
Moment and conditional estimators need not agree in a short sample. Their difference is evidence about finite-sample conventions, not automatically an error.
3. Exact Gaussian likelihood uses the whole covariance matrix
Suppose
The log likelihood is
Every term has a role:
| Term | Statistical meaning |
|---|---|
| fitted deterministic mean | |
| $\log | \Sigma_\theta |
| quadratic form | distance measured in covariance-adjusted units |
| normalising constant |
For an AR(1) with zero mean,
Near , this matrix becomes increasingly ill-conditioned. That is both a statistical boundary and a numerical warning.
4. Cholesky evaluation is the stable route
If with upper-triangular , then
and
The computation uses triangular solves and never forms .
R: exact AR(1) matrix likelihood
This cell simulates a centred AR(1), optimises the exact finite-sample likelihood, and compares it with R's arima(..., method = "ML"). Small differences arise from parameterisation and numerical optimisation, but both use the initial-state information that conditional least squares omits.
Optimise an exact Gaussian covariance-matrix likelihood
5. Joint and innovations likelihoods are two factorizations
The joint density factors as
For a Gaussian process, each conditional density is determined by an innovation and variance :
| Form | Computational profile |
|---|---|
| covariance matrix | transparent for derivation; dense factorisation is roughly |
| innovations/Kalman | processes observations sequentially; exploits fixed state dimension |
They are mathematically equivalent under the same initialisation. R's exact arima likelihood uses a state-space representation and Kalman innovations.
6. Curvature gives local uncertainty
Let
be Fisher information. Under regularity conditions,
The inverse observed Hessian estimates local parameter covariance. Do not interpret it mechanically near unit roots, non-invertible boundaries, unidentified cancellations, or structural breaks: regular asymptotics can fail exactly where the likelihood is flat or irregular.
7. Residuals estimate innovations, not truth
For residual vector , inspect
A well-specified linear mean model should leave off-diagonal entries small relative to sampling variation. Also check:
- changing variance over time;
- outliers and heavy tails;
- parameter sensitivity to endpoints;
- roots close to the unit circle;
- near cancellation of AR and MA polynomials.
The Ljung–Box statistic compresses several sample residual correlations:
A large p-value says that this test did not detect residual autocorrelation at the chosen lags. It does not establish independence, normality, or parameter constancy.
8. Model comparison remains conditional
For maximised log likelihood and estimated parameters,
Compare values only when models use the same response, likelihood convention, and effective sample. Before reading the smaller number, check admissible roots, identifiability, and residual covariance.
Practice
- Write and for an AR(2) observed at .
- Derive the AR(1) Yule–Walker estimator.
- Explain why cannot be dropped when comparing covariance parameters.
- Show how the Cholesky factor computes .
- Why can Hessian standard errors be misleading when is close to one?
Answers
- and the rows of are through .
- .
- It penalises covariance matrices that assign broad volume; the quadratic form alone could favour inflated variance.
- Solve and compute .
- The parameter lies near a non-regular boundary, the likelihood may be asymmetric, and the normal quadratic approximation can be poor.
Takeaway
Least squares, moments, and likelihood are different matrix summaries of the same dependent vector. Their assumptions, initial conditions, and numerical factorizations must be visible. Continue to Multivariate Systems.
Module 3 — Linear Prediction and State-Space Recursions
Derive best linear predictors from partitioned covariance matrices, quantify error with Schur complements, and introduce Kalman recursions.
Module 5 — Systems, Seasonality, and Cointegration
Express vector autoregressions, seasonal operators, cointegration, and forecast constraints with block matrices and stable linear systems.