Skip to main content

metran Documentation Status Codacy Badge Codacy Badge PyPI

Metran

Metran is a package for performing multivariate timeseries analysis using a technique called dynamic factor modelling. It can be used to describe the variation among many variables in terms of a few underlying but unobserved variables called factors.

Documentation

The documention can be found on metran.readthedocs.io

Examples

For a brief introduction of the theory behind Metran on multivariate timeseries analysis with dynamic factor modeling see the notebook:

A practical real-world example, as published in Stromingen (Van Geer, 2015), is given in the following notebook:

A notebook on how to use Pastas models output with Metran:

Installation

To install Metran, a working version of Python 3.8 or higher has to be installed on your computer. We recommend using the Anaconda distribution as it includes most of the python package dependencies and the Jupyter Notebook software to run the notebooks. However, you are free to install any Python distribution you want.

To install metran, type the following command

pip install metran

To install in development mode, clone the repository and type the following from the module root directory:

pip install -e .

Dependencies

Metran has the following dependencies which are automatically installed if not already available: numpy, scipy, pandas, matplotlib, numba and pastas

References

Release files for metran 0.4.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 metran 0.4.0
File Size Uploaded
metran-0.4.0.tar.gz 30.8 kB Details

Built distribution (wheel)

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

Total release size: 60.2 kB

Release files / metran-0.4.0.tar.gz

Download URL metran-0.4.0.tar.gz
Size 30.8 kB
Tags Source
SHA-256 checksum
How to use checksums
08b291f4f7775779719ce0978338ab9609103dc65d1bbd8cc56724c6420ec84b
BLAKE2b-256 checksum
How to use checksums
92fd3f443bc58a8c5e838edf12fed9702b4c1b9fd09053098a33549638e08a2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release files / metran-0.4.0-py3-none-any.whl

Download URL metran-0.4.0-py3-none-any.whl
Size 29.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4dbc098b8516d004bb3e80efd9aca78e28ea50697cb97b12c6b1c201da1fd866
BLAKE2b-256 checksum
How to use checksums
a3d3bf53497d13294e37f569609f2d444af6e9d5e61895769c3b16c5f908f3db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.12.2

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.2

2 release files

0.1.0

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