Skip to main content

ATSW — Box-Jenkins-Treadway time series suite

atsw is an umbrella package: installing it pulls the complete Box-Jenkins- Treadway time series suite plus the MCP server, in one step.

pip install atsw

It installs the estimation engines, the graphics, and three MCP assistants. Requires Python ≥ 3.10. Every engine has a C implementation with an automatic pure-Python fallback, so the suite installs everywhere.

Component Package Role
FUE (+ FUF) fue Exact ML estimation (ARMAX + transfer functions) and forecasting
FUG pyfug High-definition graphics for time series analysis
ART art-tseries Model building, diagnosis, formal tests + the art-mcp server
DRTRAN drtran Transfer functions and networks by exact ML + the mtram server
DRVARMA drvarma Multivariate VARMA by exact ML: the engine of the ladder and the echelon form
DRVEC drvec Cointegrated VARMA-VEC by exact ML: the rank by parametric bootstrap, the long run
SIMA sima-tseries The sima server: Jenkins and Alavi, Tiao and Box, and the echelon form, from art's models or the raw table; the VEC when the series are cointegrated

The three assistants, and when to move between them

They are separate servers on purpose. An MCP client sees every connected server at once, so this is not three tools you have to choose between — it is one ladder with three rungs, and each assistant knows when to hand over.

Assistant Question it answers Engine
art One series: what ARIMA model, what interventions? fue
mtram How does X move Y? Transfer functions, and networks of them (a DAG) drtran
sima Everything moves everything: a simultaneous VARMA, or a VEC when the series are cointegrated (sima-tseries) drvarma, drvec

mtram starts from the .pre files art writes, so the univariate rung is already climbed and committed to a file you can read. The handoff to sima is testable, not a preference: if the proposed network contains a CYCLE there is no topological order, the system cannot be written as a triangular VARMA, and it is therefore simultaneous. mtram says so and stops.

claude mcp add art   -- art-mcp     # one series
claude mcp add mtram -- mtram       # transfer functions and networks
claude mcp add sima  -- sima        # simultaneous VARMA and VEC

Then ask Claude to analyse a series (attach a CSV/Excel, or point to an .inp). ART offers a guided workflow (analyst decides, Claude advises step by step, with graphs and your confirmation at each decision) or an autonomous one (Claude/heuristic decides every step and presents a final model). The suite supplies the evidence — graphs, tests, numbers; you and/or Claude supply the criterion at each Box-Jenkins decision node.

Use as a plain Python library (no Claude needed)

import fue
from art.describe import describe_boxcox, describe_identification

ts, _ = fue.inp.load("series.inp")
print(describe_boxcox(ts).summary)          # Box-Cox transformation analysis
print(describe_identification(ts).summary)  # ACF/PACF identification

Estimation and forecasting (FUF) live in fue; the fuf command forecasts from an estimated model.

Background — a modern Box-Jenkins-Treadway

The Box-Jenkins analysis was tremendously popular at its launch as a process for building ARMA models (with extensions). The models themselves are simple, but the iterative building process is a case of false simplicity: in practice the method worked wonderfully if you were Box, Jenkins, or one of their disciples. The real obstacle is training the analyst to make the decisions the process demands — decisions often guided by heuristics.

ATSW combines that criterion with statistical methods to build the models in a modern form: AI — with its limitations — supplies the criterion and the suggestions a trained time series analyst would offer.

The analysis presented here is not the canonical Box-Jenkins, but the extended version of Arthur B. Treadway (a disciple of Gwilym Jenkins), which adds elements and heuristics drawn from his experience producing the Forecasting and Monitoring Services (SPS) of the Spanish economy.

Forecasting is one of the goals of building an ARMAX model — and perhaps an unbeatable one — but univariate analysis is also the foundation of more sophisticated relational analysis. These univariate forecasting models should be the measuring stick for more complex ones: if you cannot beat their forecasts, your model has a problem and you should rethink it.

Components on PyPI

Each component is also installable on its own — atsw just fixes a compatible set: fue · pyfug · art-tseries. See art-tseries's AGENTS.md, docs/QUICKSTART.md, docs/TOOLS.md and docs/ARCHITECTURE.md for the full design, the operating guide and the evidence-vs-criterion philosophy.

License

GPL-2.0-or-later. © David E. Guerrero.

Metadata

Release files for atsw 2.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for atsw 2.1.3
File Size Uploaded Provenance Actions
atsw-2.1.3.tar.gz 40.1 kB With provenance Details for atsw-2.1.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for atsw 2.1.3
File Interpreter ABI Platform Actions
atsw-2.1.3-py3-none-any.whl Python 3 none any Details for atsw-2.1.3-py3-none-any.whl

Total release size: 52.6 kB

Release files / atsw-2.1.3.tar.gz

Download URL atsw-2.1.3.tar.gz
Size 40.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ec8ef3db6fa98a99f5cdcfd1cf58db9c13cb82f76f24e88c9ecc8e4fc1c7cce5
BLAKE2b-256 checksum
How to use checksums
596ab000db539cf525962271addf71f96d0e6e9ed9cf4e94d20436df801b6c6b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Release files / atsw-2.1.3-py3-none-any.whl

Download URL atsw-2.1.3-py3-none-any.whl
Size 12.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bb46fc6b79c778d37a4dfa71892f9443b704ebf5be9957a7ba2a06b52d1ee9f0
BLAKE2b-256 checksum
How to use checksums
924c1ae0ee2de34498e0be96e94d73fa0e4fa53870cefec68a6739f25cfc2ae8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

Security for atsw 2.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for atsw-2.1.3.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 17, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page