Python package to perform timeseries analysis of multiple hydrological time series using a dynamic factor model.
Project description
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
- Berendrecht, W.L. (2004). State space modeling of groundwater fluctuations. Doctoral Thesis, Delft University of Technology.
- Berendrecht, W.L., F.C. van Geer (2016). A dynamic factor modeling framework for analyzing multiple groundwater head series simultaneously. Journal of Hydrology, 536, pp. 50-60.
- Van Geer, F.C. en W.L. Berendrecht (2015) Meervoudige tijdreeksmodellen en de samenhang in stijghoogtereeksen. Stromingen 23 nummer 3, pp. 25-36.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file metran-0.4.0.tar.gz
.
File metadata
- Download URL: metran-0.4.0.tar.gz
- Upload date:
- Size: 30.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08b291f4f7775779719ce0978338ab9609103dc65d1bbd8cc56724c6420ec84b |
|
MD5 | 06c3630a43da2b6b57ed04b68251b753 |
|
BLAKE2b-256 | 92fd3f443bc58a8c5e838edf12fed9702b4c1b9fd09053098a33549638e08a2d |
File details
Details for the file metran-0.4.0-py3-none-any.whl
.
File metadata
- Download URL: metran-0.4.0-py3-none-any.whl
- Upload date:
- Size: 29.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4dbc098b8516d004bb3e80efd9aca78e28ea50697cb97b12c6b1c201da1fd866 |
|
MD5 | c1a21a62cf161f6756a0e66c0d2ecf2b |
|
BLAKE2b-256 | a3d3bf53497d13294e37f569609f2d444af6e9d5e61895769c3b16c5f908f3db |