Metadata-Version: 2.5
Name: pymetrix
Version: 0.1.0a20
Summary: Applied macroeconometrics in Python, from data to forecast report: estimation, testing, model solving, forecasting and reproducible projects, with guided forms.
Project-URL: Homepage, https://github.com/GeoffHeenan/pymetrix
Project-URL: Source, https://github.com/GeoffHeenan/pymetrix
Project-URL: Issues, https://github.com/GeoffHeenan/pymetrix/issues
Project-URL: Changelog, https://github.com/GeoffHeenan/pymetrix/blob/main/CHANGELOG.md
Author: Geoffrey Heenan
License-Expression: BSD-3-Clause
License-File: LICENSE
License-File: THIRD-PARTY-NOTICES.md
Keywords: DSGE,VAR,econometrics,forecasting,macroeconomics,state space,time series
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Intended Audience :: Science/Research
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Scientific/Engineering :: Mathematics
Requires-Python: >=3.11
Requires-Dist: matplotlib>=3.9
Requires-Dist: numpy>=1.26
Requires-Dist: packaging>=23
Requires-Dist: pandas>=2.2
Requires-Dist: pyarrow>=17
Requires-Dist: scipy>=1.11
Requires-Dist: statsmodels>=0.14
Requires-Dist: threadpoolctl>=3.1
Provides-Extra: all
Requires-Dist: arch>=7; extra == 'all'
Requires-Dist: ipywidgets>=8; extra == 'all'
Requires-Dist: jedi>=0.19; extra == 'all'
Requires-Dist: linearmodels>=6; extra == 'all'
Requires-Dist: mcp>=2.3; extra == 'all'
Requires-Dist: openpyxl>=3.1; extra == 'all'
Requires-Dist: pyflakes>=3; extra == 'all'
Requires-Dist: pyside6!=6.12.0,>=6.6; (python_version < '3.12') and extra == 'all'
Requires-Dist: pyside6>=6.6; (python_version >= '3.12') and extra == 'all'
Requires-Dist: python-docx>=1.1; extra == 'all'
Requires-Dist: qtconsole>=5.5; extra == 'all'
Requires-Dist: qtpy>=2.4; extra == 'all'
Requires-Dist: scikit-learn>=1.5; extra == 'all'
Provides-Extra: arch
Requires-Dist: arch>=7; extra == 'arch'
Provides-Extra: assistant
Requires-Dist: pymetrix-assistant; extra == 'assistant'
Provides-Extra: dev
Requires-Dist: arch>=7; extra == 'dev'
Requires-Dist: linearmodels>=6; extra == 'dev'
Requires-Dist: mcp>=2.3; extra == 'dev'
Requires-Dist: openpyxl>=3.1; extra == 'dev'
Requires-Dist: pytest-xdist>=3.5; extra == 'dev'
Requires-Dist: pytest>=9.0.3; extra == 'dev'
Requires-Dist: python-docx>=1.1; extra == 'dev'
Requires-Dist: scikit-learn>=1.5; extra == 'dev'
Provides-Extra: excel
Requires-Dist: openpyxl>=3.1; extra == 'excel'
Provides-Extra: fast
Requires-Dist: numba>=0.60; extra == 'fast'
Provides-Extra: finance
Requires-Dist: pymetrix-finance; extra == 'finance'
Provides-Extra: guide
Requires-Dist: pymetrix-guide; extra == 'guide'
Provides-Extra: jax
Requires-Dist: jax>=0.4; extra == 'jax'
Provides-Extra: jdemetra
Requires-Dist: pymetrix-seasonal[jdemetra]; extra == 'jdemetra'
Provides-Extra: jupyter
Requires-Dist: ipywidgets>=8; extra == 'jupyter'
Provides-Extra: labbook
Requires-Dist: pymetrix-labbook; extra == 'labbook'
Provides-Extra: mcp
Requires-Dist: mcp>=2.3; extra == 'mcp'
Provides-Extra: ml
Requires-Dist: scikit-learn>=1.5; extra == 'ml'
Provides-Extra: panel
Requires-Dist: linearmodels>=6; extra == 'panel'
Provides-Extra: plot
Provides-Extra: psets
Requires-Dist: pymetrix-psets; extra == 'psets'
Provides-Extra: qt
Requires-Dist: jedi>=0.19; extra == 'qt'
Requires-Dist: pyflakes>=3; extra == 'qt'
Requires-Dist: pyside6!=6.12.0,>=6.6; (python_version < '3.12') and extra == 'qt'
Requires-Dist: pyside6>=6.6; (python_version >= '3.12') and extra == 'qt'
Requires-Dist: qtconsole>=5.5; extra == 'qt'
Requires-Dist: qtpy>=2.4; extra == 'qt'
Provides-Extra: report
Requires-Dist: openpyxl>=3.1; extra == 'report'
Requires-Dist: python-docx>=1.1; extra == 'report'
Provides-Extra: seasonal
Requires-Dist: pymetrix-seasonal; extra == 'seasonal'
Provides-Extra: stats
Description-Content-Type: text/markdown

# pymetrix

**Applied macroeconometrics in Python, from data to forecast report.** Estimate equations and systems, test
them, solve models, run scenarios, manage forecast rounds and export reports, from Python scripts, Jupyter
notebooks or a desktop app with guided forms. Every action becomes Python you can read and rerun.

> **Status: early pre-release.** The source is at github.com/GeoffHeenan/pymetrix (BSD-3-Clause); hosted
> documentation will be published with the first 0.1 release. Interfaces may still change.

## Install

This is a pre-release, so pip installs it only when asked. It needs Python 3.11 or later.

```bash
pip install --pre pymetrix            # the core: estimation, tests, models, forecasting, projects
pip install --pre "pymetrix[all]"     # with the desktop app, panel and volatility models, and report writers
```

Then `pymetrix-gui` opens the desktop app.

## What it does

- **Data:** time series and panels with metadata, vintages and transformations; seasonal adjustment; filters.
- **Estimation:** least squares and IV, GMM, limited dependent variables, ARIMA and exponential smoothing,
  VARs and VECMs, Bayesian VARs, state-space and Markov-switching models, panel estimators, treatment effects.
- **Testing:** unit roots and cointegration, diagnostics, structural breaks, forecast comparison.
- **Models:** solve and estimate DSGE models, import Dynare `.mod` files, scenarios and optimal policy.
- **Forecasting:** forecast rounds with judgement, backtests in real time, combinations.
- **Reproducible projects:** every dialog records the call it runs; a project saves the data and the steps and
  rebuilds the results when opened, and each result records its sample, method and data vintage.

Wherever a mature library exists (statsmodels, linearmodels, arch, SciPy), pymetrix uses it, and its own code
is checked against libraries, published tables and hand formulas.

## Licence

BSD-3-Clause. The bundled example datasets from elsewhere are listed with their sources and licences in
`THIRD-PARTY-NOTICES.md`, included in the package.
