Modeling stats timeseries

From VectorSpaceLab/AREX-Skill · View interactive version

Modeling stats timeseries is an AI agent skill from the GitHub repository VectorSpaceLab/AREX-Skill. Use Astropy modeling, fitting, robust statistics, histograms, time series, periodograms, and uncertainty helpers for astronomy analysis.

How to use this skill

Skill file

Modeling, Stats, and Time Series Router

Use this sub-skill when a task centers on Astropy models, fitters, robust

statistics, periodograms, or time-series containers.

Load This When

polynomials, compound models, parameter constraints, bounds, tied parameters,

or fitters.

statistics, histograms, Bayesian blocks, or circular statistics.

BoxLeastSquares, periodograms, false-alarm probabilities, or time-binned

light curves.

Route Away When

../time-coordinates/SKILL.md.

../units-constants/SKILL.md.

../visualization-convolution/SKILL.md.

First Actions

  1. Identify input arrays/tables, units, masks, uncertainties, and time scale.
  2. For fitting, choose a model class and fitter compatible with constraints and

linear/nonlinear behavior.

  1. Initialize parameters near plausible values; set bounds/fixed/tied flags

before fitting.

  1. For outliers, use sigma clipping or robust stats before or during fitting.
  2. For periodograms, make time and frequency units explicit and choose the

normalization/statistical interpretation.

  1. Validate with residuals, parameter units, output shapes, finite values, and

a small synthetic check.

References

fitter, stats, and periodogram APIs.

statistics, histogram, time-series, and periodogram recipes.

initial guesses, unit mismatches, optional SciPy behavior, periodogram

pitfalls, and masked/NaN data.

Safety and Validation

parameter units.

grids unless requested.

calculations.

Native-Backed Validation Ideas

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.