Statistical Methods

Check the Long-Run Covariance of a Stable Linear State Model

Define the research task

In a linear state scenario z(t+1) = A z(t) + innovation(t), innovation covariance Q is not generally the same as the long-run state covariance. A stable transition propagates past innovations into later observations. Use this audit to check a proposed simulation, not to estimate A or Q from participant data.

Work through the check

  1. State the sampling interval and variable units.
  2. Record A and the symmetric positive-semidefinite innovation covariance Q.
  3. Confirm the assumed innovations are temporally independent and model parameters are constant.
  4. Solve X = A X Aᵀ + Q and inspect the equation residual.
  5. Compare simulated long-run covariance only after allowing for initialization and Monte Carlo error.

The browser tool deliberately requires Frobenius norm(A) below 0.95 as a sufficient stability bound. Some stable matrices fall outside that restriction and need a general solver. A small equation residual does not establish that the model describes a real process.

Hypothetical example and reporting

For hypothetical A = diag(0.5,0.25) and Q = I, the stationary variances are 1/(1−0.5²) = 4/3 and 1/(1−0.25²) = 16/15. The stationary cross-covariance is zero. Substitution gives 0.25×4/3+1 = 4/3 for the first variance. Starting a simulation at zero initially produces a different covariance, so record any burn-in policy.

Source and verification

Method checked 27 November 2026 against SciPy primary documentation: linalg.solve_discrete_lyapunov. Examples are synthetic; this page does not assert human expert approval.

Open the stationary two-state covariance.

Download the editable plain-text worksheet.

Related reading

Reading path: Analyze data. Guide 236 of 242. Choose any guide to suit your project.

Statistical Methods

Propagate a Continuous Linear State with the Matrix Exponential

Practical steps and a worked example: Keep a matrix exponential separate from entrywise exponentiation.

Statistical Methods

Translate Resource Limits into a Linear Allocation Model

Practical steps and a hypothetical example: Translate a resource allocation question into explicit linear constraints.

Browse this reading pathTools for this stageGuides and downloads for this stage