AgentSkillsCN

timeseries-modeling

适用于量化研究、策略实施及生产环境管控的时间序列建模流程。当任务涉及滞后结构识别、制度转换检测以及预测校准时,可予以采用。

SKILL.md
--- frontmatter
name: timeseries-modeling
description: "Timeseries Modeling workflows for quantitative research, implementation, and production controls. use when tasks involve lag structure, regime change detection, and forecast calibration."

Timeseries Modeling

objective

Execute timeseries modeling work with reproducible research, explicit controls, and deployable outputs.

workflow

  1. define assumptions, governing equations, and boundary conditions.
  2. estimate parameters with reproducible calibration settings.
  3. validate residual structure, numerical stability, and convergence behavior.
  4. stress model behavior across regime changes and parameter perturbations.
  5. 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.
  • parameter drift across structural breaks
  • forecast error calibration by horizon

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/timeseries_modeling_diagnostics.py input.csv --output diagnostics.json and keep the json artifact.
  • write an implementation memo using references/timeseries-modeling-playbook.md with assumptions, tests, limits, and rollout plan.

resources

  • use scripts/timeseries_modeling_diagnostics.py for deterministic diagnostics.
  • use references/timeseries-modeling-playbook.md for the domain-specific checklist and delivery structure.