Skip to main content

sima — simultaneous VARMA on the ATSW ladder

sima is the MCP assistant for systems of time series: VARMA models by exact maximum likelihood, built on the univariate models of each series. The engine is drvarma, whose ladder mode takes fue's univariate files as input. This package is the assistant: the protocol the model walks, the evidence at each node, and the menu of decisions.

It is the third rung of the ATSW ladder:

art (one series)  →  mtram (transfer networks)  →  sima (systems)

You arrive at sima with several univariate models (.pre files from art or fue), or from mtram when its network identification found a cycle: two series that feed each other, which no transfer network can hold. sima takes the same files.

Install

pip install sima-tseries

Register the server in your MCP client (the command is sima, stdio). The binary wheels of drvarma carry the compiled likelihood the ladder needs. If they are missing, drvarma warns and runs about 250 times slower.

The protocol

node tool what it answers
N0 load_pre the univariate models, the common window
N1 run_gate does the joint model reproduce the univariate ones? (it stops the analysis if not)
N2 identify_cross what the univariate models do NOT carry: residual cross-correlations
N3–N4 estimate a candidate: cross orders, covariance, LR against the univariates
N5 evaluate the yardstick: does it forecast better than the univariates?
N6 forecast, impulse_response, variance_decomposition use of the chosen model
— record_decision, export_guion the record of the analysis
— split_inp out of drvarma's deprecated multivariate .inp

Two rules shape everything:

  • The univariate model is the yardstick. A VARMA that does not forecast better than the univariate models out of sample has no reason to exist, however significant its cross terms are in sample.
  • Evidence and a menu, not a verdict. The tools show the evidence and the options with their arguments for and against. The analyst decides in the guided lane, and the model decides, in writing, in the autonomous lane.

See docs/DESIGN.md and the generated tool reference docs/TOOLS.md.

User manual

Each worked example runs node by node in a conversation with load_example(<name>) (examples lists them).

Licence

GPL-2.0-or-later. Authors: A.B. Treadway, J.A. Mauricio and D.E. Guerrero (the engine); D.E. Guerrero (the assistant).

Metadata

Release files for sima-tseries 0.1.0

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

Source distribution (sdist)

Source distribution for sima-tseries 0.1.0
File Size Uploaded
sima_tseries-0.1.0.tar.gz 212.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for sima-tseries 0.1.0
File Interpreter ABI Platform
sima_tseries-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 424.1 kB

Release files / sima_tseries-0.1.0.tar.gz

Download URL sima_tseries-0.1.0.tar.gz
Size 212.9 kB
Tags Source
SHA-256 checksum
How to use checksums
452aeb1d535cfe3d55d88569dba47507896db956c5828c018a83b5973e14d42c
BLAKE2b-256 checksum
How to use checksums
c64f115086e7522d5c055b431eb70c848747b757d32149888160f010f30d3cf6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release files / sima_tseries-0.1.0-py3-none-any.whl

Download URL sima_tseries-0.1.0-py3-none-any.whl
Size 211.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7df07ea019c5f8610d7520a0af4d24212f1f5676eb1b0a08a163c6c3235ae176
BLAKE2b-256 checksum
How to use checksums
1862ec9e5cafb570fb5393d5249b30b7d3eb07c6cf693ffefcb073ebab7fdbbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 15, 2026.

Transparency log

Release history Release notifications | RSS feed

0.1.1

2 release files

This release

0.1.0 This release

2 release files

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