AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified Apache-2.0 Self-run

Time Series Process Data Analysis

skill-jskherman-engg-skills-time-series-process-data-analysis · by jskherman

>-

No reviews yet
0 installs
0 views
view→install

Install

$ agentstack add skill-jskherman-engg-skills-time-series-process-data-analysis

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-jskherman-engg-skills-time-series-process-data-analysis)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Time Series Process Data Analysis? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Time-Series Diagnostics and Block Bootstrap for Process Data

Overview

Process data are almost always autocorrelated, which means ordinary i.i.d. inference (Wald CIs, t-tests, normal CIs) understates uncertainty. This skill provides:

  • Sample ACF and PACF.
  • A simple block-length heuristic (2 × first lag where |rho| < 2/sqrt(n)).
  • Moving-block bootstrap (Kuensch 1989) for built-in statistics exposed by

the CLI: mean, median, standard deviation, minimum, and maximum.

The ACF/PACF are useful for picking residual-autocorrelation orders for regressions and for selecting a sensible block length.

Prerequisites

  1. uv available.
  2. On first use, the script writes LICENSE_NOTIFICATION.txt.

When to Use

  • Computing a CI for the mean of a daily lab series.
  • Diagnosing autocorrelation before using a separate regression workflow.
  • Diagnosing the order of a residual AR(p) for ARIMA / DLM modelling.
  • Picking a block length for downstream block-bootstrap procedures.

Don't use for

  • Stationary white-noise data — use engineering-statistics.
  • Forecasting future values — use a state-space model.
  • Strongly non-stationary data — pre-process (detrend, deseasonalise) first.

Utility Scripts

  • uv run scripts/ts.py acf --data series.csv --column y --max-lag 30 --output /tmp/acf.json
  • uv run scripts/ts.py pacf --data series.csv --column y --max-lag 30 --output /tmp/pacf.json
  • uv run scripts/ts.py block-len --data series.csv --column y --output /tmp/L.json
  • uv run scripts/ts.py bootstrap --data series.csv --column y --block-length 8 --n-resamples 2000 --statistic mean --output /tmp/bs.json

Procedure

  1. Compute ACF and PACF; eyeball the lag structure.
  2. Pick a block length:
  • Use the block-len helper as a starting point.
  • For short series (< 200), constrain block length to ≤ n/4.
  • For long series, consider Politis-White optimal block length

(not implemented; use statsmodels if needed).

  1. Choose a supported statistic (mean, median, std, min, or max).
  2. Run the bootstrap. Compare the bootstrap SE / CI against the i.i.d.

counterpart; the bootstrap should be wider for positively autocorrelated data.

  1. Report both intervals for transparency.

Pitfalls

  • Using ordinary bootstrap (i.i.d. resampling) on autocorrelated data; the

CI is too narrow.

  • Using a tiny block length (e.g. 2-3) for very autocorrelated data; the

CI is still too narrow.

  • Using a huge block length (≥ n/4); the bootstrap has very few effective

resamples and the CI is unreliable.

  • Reporting block-bootstrap CIs without specifying the block length.
  • Treating the PACF as if it were independent of ACF; they are connected

by the Durbin-Levinson recursion.

  • Treating spikes outside ±2/sqrt(n) as automatically meaningful; the

multiple-testing rate is not controlled.

  • Failing to detrend / deseasonalise before computing ACF; non-stationary

trends inflate the ACF.

Fallback Strategies

  • If the series is too short for block bootstrap (<50), report the i.i.d.

CI with a warning that it likely understates uncertainty.

  • If statsmodels is available, use it for ARIMA-style residual diagnostics

(not implemented here).

Verification

  • Run the listed script with representative inputs and an --output file when a deterministic calculation is available.
  • Confirm the JSON result contains ok: true, expected units, and no unhandled warnings.
  • Check result magnitudes against the stated assumptions, references, and a hand calculation or known operating range before reporting them.

References

  • references/methods_notes.md — block-bootstrap derivation, references.
  • Kuensch, H. R. "The Jackknife and the Bootstrap for General Stationary

Observations," Annals of Statistics, 1989.

  • Politis & Romano, Subsampling.

Anti-Patterns

  • Quoting "p < 0.05" on a process-data regression without addressing

autocorrelation.

  • Designing SPC limits assuming independence on data that is clearly

serially correlated.

  • Using the bootstrap to "rescue" a model that is misspecified.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.