pmmforecast¶
pmmforecast implements Bayesian filtering, forecasting and parameter
estimation for stationary 1-D Pairwise Gaussian Markov Models (PMM) — a
strict generalisation of the hidden Markov model in which the hidden state
\(X\) and the observation \(Y\) co-evolve. The model has five free parameters
\((a, b, c, d, e)\); the HMM is the special case \(c = ab^2\), \(d = e = ab\).
This site is the API reference: generated from the package's docstrings and published for every release, so it documents the version on PyPI (see Installation to build it locally). It does not repeat the project's narrative documentation — for the feature tour, the command-line programs, the GUI and the 13 tutorials, see the README and the notebooks; for how to contribute, see CONTRIBUTING.md.
What is where¶
| Page | Contents |
|---|---|
| Models and simulation | ParamPMM, the reference models, PMMSimulator1D |
| Filtering and forecasting | PMMFilter1D (including missing observations), PMMPredictor1D |
| Parameter estimation | moments, joint MLE on \((X, Y)\), Y-only MLE (Kalman likelihood) |
| Tests and diagnostics | HMM-vs-PMM likelihood-ratio test, goodness of fit |
| Theoretical MSE | closed-form filtering / prediction MSE, HMM excess MSE |
| Exceptions | the exception hierarchy |
Reference implementation of¶
M. Escudier, I. Abdelkefi, C. Fernandes, W. Pieczynski. Forecasting with Pairwise Gaussian Markov Models. 8th IEEE Int. Conf. on Mathematics and Computers in Sciences and Industry (CMCSI 23), Athens, 2023. doi:10.1109/MCSI60294.2023.00009 · HAL hal-04450999 · arXiv 2402.07532
To cite the software, use the CITATION.cff file of the repository (GitHub's
"Cite this repository" button).