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
- State the sampling interval and variable units.
- Record A and the symmetric positive-semidefinite innovation covariance Q.
- Confirm the assumed innovations are temporally independent and model parameters are constant.
- Solve X = A X Aᵀ + Q and inspect the equation residual.
- 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.