Skip to content

pastas/metran

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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