Skip to main content

tsma (time series model analyses)

This package offers tools for analyzing models that generate multivariate time series as output. The goal is to make the study of large models, especially those related to macroeconomic ABMs, more convenient.

References:

This package contains an implementation of two papers:

To learn more about signature transform see Adeline Fermanian's thesis of (2021) or https://arxiv.org/pdf/1911.13211.pdf

Structure:

model

  • model : model class that serves as baseline
  • gross2022 : implementation of Gross's model of 2022

collect

  • output_management : This package includes functions for encoding and decoding parameters into databases, as well as storing and managing simulation data.
  • iterators : functions used to gather simulations results
  • data_collect : allows for the exploration of parameters through statistical analyses, with the option for automatic saving

visuals

  • fig_constructors : assists in the creation of figures using Plotly, Seaborn, and Networkx
  • figures : creates figures using Plotly, Seaborn, and Networkx
  • fig_management : manages the creation and saving of multiple figures
  • dashboards : for creating a dashboard on a local server, which allows for the visualization of a summary of a simulation with various sets of parameters.

analyses

  • statistics : Means, Stationarity tests, ...
  • vandin : implementation of statistical analyses taken from : Vandin & al (2021)
  • metrics : classes used to create clustering approaches for time series clustering
  • clustering :
    • multivariate time series unsupervised clustering
    • clustering scoring and selection
    • phase diagram visualization ( parameters space projection of clustering results )
    • comparison of clusters

basics

  • transfers : functions used to divide and join strings, lists and dictionaries
  • text_management : name conversions, title creations ...

Tutorials:

Find tutorials at : https://github.com/S-bazaz/tsma

  • tsma1 : how to format your model and use the saving system (save, overwrite, query ...)
  • tsma2 : how to use visualizations ( simple plots, dashboards ...)
  • tsma3 : vandin & al statistical checking and data collection (transient analysis, parameters exploration ...)
  • tsma4 : time series clustering ( clusters computation, clustering selection, phase diagram ...)
  • tsma5 : clustering comparison ( visualization per cluster, dendrograms, Jaccard coefficients network plots ...)

Release files for tsma 1.2.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 tsma 1.2.0
File Size Uploaded
tsma-1.2.0.tar.gz 69.3 kB Details

Built distribution (wheel)

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

Total release size: 145.0 kB

Release files / tsma-1.2.0.tar.gz

Download URL tsma-1.2.0.tar.gz
Size 69.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b4aac9326876f2492429333f4525dfda34bd3bfca59435e4967e1ee0ae85faf8
BLAKE2b-256 checksum
How to use checksums
d914e24943213872718fff46b80963373260e1feba0885f8e1581730c0845d95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release files / tsma-1.2.0-py3-none-any.whl

Download URL tsma-1.2.0-py3-none-any.whl
Size 75.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e9eeeb3a7fe69b9af33ba0496b667e83a49de011b8f3c58d435687c7ec01618
BLAKE2b-256 checksum
How to use checksums
6c3ac91239d33a0d403b17d7524645ee84a59e954de150bf55922ddff8ff1e6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.12

Release history Release notifications | RSS feed

This release

1.2.0 This release

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