At1uri/markov-switching-autoregressive-engine

time-series-forecasting model by At1uri

Open original source ↗

From the publisher

Model card & documentation

Source preview

Read the publisher’s intended use, setup instructions, evaluations and limitations. The original model card is the source of truth.

A statistical machine learning and econometric inference engine developed by Ramprasad Atluri implementing the Hamilton (1989) forward filter and Kim (1994) backward smoothing algorithm for non-linear market regime detection. Financial asset returns exhibit state-dependent structural shifts in both conditional mean and conditional variance (heteroskedasticity). This model parametrizes market dynamics as a 3-State Markov-Switching Autoregressive model $\text{MS}(3)\text{-AR}(1)$: $yt - \mu{St} = \phi{St} (y{t-1} - \mu{S{t-1}}) + \epsilont, \quad \epsilont \sim \text{i.i.d.} \, \mathcal{N}(0, \sigma{St}^2)$ Where $St \in \{0, 1, 2\}$ represents the unobserved latent market regime governed by a first-order Markov chain with transition probability kernel $\mathbf{P}$: $\mathbf{P} = \begin{pmatrix} p{00} & p{01} & p{02} \\ p{10} & p{11} & p{12} \\ p{20} & p{21} & p{22} \end{pmatrix} = \begin{pmatrix} 0.9602 & 0.0348 & 0.0050 \\ 0.0489 & 0.9212 & 0.0299 \\ 0.0392 & 0.1185 & 0.8423 \end{pmatrix}$ The stationary unconditional distribution solves the eigensystem $(\mathbf{P}^\top - \mathbf{I})\boldsymbol{\pi} = \mathbf{0}$ subject…

At1uri/markov-switching-autoregressive-engine on Hugging Face A short preview, not the full document.

Read the full model card ↗ · Preview checked 2026-11-05T07:10:27.872Z

Inside the original model card — Document outline
  1. ⚡ Hamilton Markov-Switching Autoregressive Engine
  2. 📌 Mathematical & Econometric Architecture
  3. Unconditional Ergodic Distribution ($\boldsymbol{\pi}$):
  4. 🔬 Recursive Filter Formulation
  5. 1. Hamilton Forward Filter (1989)
  6. 2. Kim Backward Smoother (1994)
  7. 🚀 Quick Start in Python
  8. Full Inference with hamiltonfilter.py:
  9. 📊 Calibrated State Parameter Estimates
  10. ⚖️ License

Headings are captured from the source. Links open the publisher’s document, not a locally hosted copy.

Documentation belongs to its respective authors. Reported project/model license: mit. A listing is not a grant of reuse or training rights. Confirm the document’s own terms at the source.

Model overview

At1uri/markov-switching-autoregressive-engine is a time-series-forecasting model repository published by At1uri on Hugging Face. The source reports the scikit-learn library.

This page summarizes Hub metadata. For intended use, training data, evaluation results and limitations, consult the original model card.

Model facts

Task
time-series-forecasting
Library
scikit-learn
Recent downloads (30 days)
0
Cumulative likes
0
Hugging Face trending score
0
Reported safetensors parameters
Not reported
Architecture
Not reported
License
mit
Access
Not gated by Hugging Face
Created
2026-11-05T06:37:38.000Z
Last modified
2026-11-05T06:37:39.000Z

Compatibility and lineage

Reported languages: en

Base-model lineage was not included.

Parameter count is not a RAM/VRAM requirement. Check precision, quantization, context length and runtime compatibility in the model card; no hardware or API-cost claim is inferred here.

Use and evaluate

Check license terms and access requirements first. Review the model card’s documented loading instructions, evaluations and safety limitations. Benchmark scores are not imported by this directory, and popularity is not an accuracy ranking.

No model weights are downloaded or executed by AltAPIs. Never enable remote model code without reviewing it.

Model card and usage instructions

Model files and configuration

Community discussion

Source and freshness

Source: Hugging Face Hub. Metadata observed 2026-11-05T06:53:23.390Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related models

autogluon/chronos-2

amazon/chronos-2

autogluon/chronos-bolt-small

amazon/chronos-bolt-small

autogluon/chronos-2-small

google/timesfm-3.0-pytorch