name: state-space-kalman description: "State Space Kalman workflows for quantitative research, implementation, and production controls. use when tasks involve latent-factor filtering and transition stability."
State Space Kalman
objective
Execute state space kalman work with reproducible research, explicit controls, and deployable outputs.
workflow
- define assumptions, governing equations, and boundary conditions.
- estimate parameters with reproducible calibration settings.
- validate residual structure, numerical stability, and convergence behavior.
- stress model behavior across regime changes and parameter perturbations.
- release only when out-of-sample accuracy and stability remain within limits.
required diagnostics
- residual diagnostics and autocorrelation by horizon.
- parameter stability across rolling and expanding windows.
- numerical convergence behavior and solver tolerance sensitivity.
- forecast calibration and distributional fit checks.
risk controls
- enforce parameter-bound and convergence-failure safeguards.
- enforce rollback to baseline models on instability.
- enforce monitoring for drift and structural-break detection.
outputs
- run
python scripts/state_space_kalman_diagnostics.py input.csv --output diagnostics.jsonand keep the json artifact. - write an implementation memo using
references/state-space-kalman-playbook.mdwith assumptions, tests, limits, and rollout plan.
resources
- use
scripts/state_space_kalman_diagnostics.pyfor deterministic diagnostics. - use
references/state-space-kalman-playbook.mdfor the domain-specific checklist and delivery structure.