Skip to main content

Toolbox for estimating Generalized additive mixed models (GAMMs), semi-Markov-switching (sms) GAMMs, and Impulse response sms GAMMs.

Project description

mssm: Massive Sparse Smooth Models

GitHub CI Stable codecov

Description

mssm is a toolbox to estimate Generalized Additive Mixed Models (GAMMs), Generalized Additive Mixed Models of Location Scale and Shape (GAMMLSS), and more general smooth models such as semi Markov-switching GAMMs (sMs-GAMMs; experimental) and sMs Impulse Response GAMMs (sMs-IR-GAMMs; experimental). The main branch is updated frequently to reflect new developments. The stable branch should reflect the latest releases. If you don't need the newest functionality, you should install from the stable branch (see below for instructions).

Installation

The easiest option is to install from pypi via pip.

  1. Setup a conda environment with python > 3.10
  2. Install mssm via pip

The latest release of mssm can be installed from pypi. So to install mssm simply run:

conda create -n mssm_env python=3.10
conda activate mssm_env
pip install mssm
pip install matplotlib # Only needed for tutorials

The fourth line, installing matplotlib is only necessary if you want to run the tutorials. Note: pypi will only reflect releases (Basically, the state of the stable branch). If you urgently need a feature currently only available on the main branch, consider building from source.

Building from source

You can also build directly from source. This requires conda or an installation of eigen (setup.py then expects eigen in "usr/local/include/eigen3". This will probably not work on windows - the conda strategy should.). Once you have conda installed, install eigen from conda-forge. After cloning and navigating into the downloaded repository you can then install via:

pip install .

To get started

Take a look at the tutorials provided in this repository!

Contributing

Contributions are welcome! Feel free to open issues or make pull-requests to main.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

mssm-0.1.51-pp310-pypy310_pp73-win_amd64.whl (232.3 kB view details)

Uploaded PyPy Windows x86-64

mssm-0.1.51-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (278.2 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

mssm-0.1.51-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (286.8 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ i686

mssm-0.1.51-pp310-pypy310_pp73-macosx_11_0_arm64.whl (233.9 kB view details)

Uploaded PyPy macOS 11.0+ ARM64

mssm-0.1.51-cp312-cp312-win_amd64.whl (233.0 kB view details)

Uploaded CPython 3.12 Windows x86-64

mssm-0.1.51-cp312-cp312-win32.whl (220.8 kB view details)

Uploaded CPython 3.12 Windows x86

mssm-0.1.51-cp312-cp312-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ x86-64

mssm-0.1.51-cp312-cp312-musllinux_1_2_i686.whl (1.4 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

mssm-0.1.51-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.9 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

mssm-0.1.51-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (295.7 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

mssm-0.1.51-cp312-cp312-macosx_11_0_arm64.whl (242.1 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

mssm-0.1.51-cp311-cp311-win_amd64.whl (233.2 kB view details)

Uploaded CPython 3.11 Windows x86-64

mssm-0.1.51-cp311-cp311-win32.whl (220.4 kB view details)

Uploaded CPython 3.11 Windows x86

mssm-0.1.51-cp311-cp311-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ x86-64

mssm-0.1.51-cp311-cp311-musllinux_1_2_i686.whl (1.4 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

mssm-0.1.51-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.8 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mssm-0.1.51-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (295.3 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

mssm-0.1.51-cp311-cp311-macosx_11_0_arm64.whl (243.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mssm-0.1.51-cp310-cp310-win_amd64.whl (231.6 kB view details)

Uploaded CPython 3.10 Windows x86-64

mssm-0.1.51-cp310-cp310-win32.whl (219.3 kB view details)

Uploaded CPython 3.10 Windows x86

mssm-0.1.51-cp310-cp310-musllinux_1_2_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ x86-64

mssm-0.1.51-cp310-cp310-musllinux_1_2_i686.whl (1.4 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

mssm-0.1.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.0 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mssm-0.1.51-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (294.5 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

mssm-0.1.51-cp310-cp310-macosx_11_0_arm64.whl (242.1 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

File details

Details for the file mssm-0.1.51-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 1a9c06a530aabad470c0b5bc2a0f9154ba7f7eb7e1a38915bfe779ec3b1e731e
MD5 2e4436660b2629a1493043e30bc9c057
BLAKE2b-256 bfa511aab3fc235e8385fffbabc7e4c78427c32c3e119469b1e07c04a26cdbc1

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ec09150169ec4b21ea8856ce1378c898729e70059dd017d6a5c58777b883f65c
MD5 2f245aa6e4fb5dab257725353b74533c
BLAKE2b-256 68b147d4131274323ff1722de4a98dbf734ee7a746a6ee86000818d1e2b49e93

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 3f39c4956868c38d745583d67e4ab916da649cad7d025b85f18bcabb329412a2
MD5 f067d239c29ef51705ed52f22e328205
BLAKE2b-256 b7e7d2c632a64588cc7726720721f5526e97709990be20d3d7c3403d5196fc72

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-pp310-pypy310_pp73-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 445bff9c9be6a3b92f29e4df3a696e5676529446b772cd5801ff5d0f81c66235
MD5 602580d9aebd03eb7be4e7c9c2abb148
BLAKE2b-256 720319dd3b6d9eb469f03a605cecb71f09d1c02abd9b055db779b114ae21367e

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: mssm-0.1.51-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 233.0 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mssm-0.1.51-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 7555fa9b9e7a2602a602f08c7ef79066382658f2c5e357a5e436a8197c5ad974
MD5 39a7e9ffbb0a408217cc77dcccb5b2d7
BLAKE2b-256 b7bf35cf4a381e28abe8c1b01e5382724501262c831c418a91d8cd1c26d45a79

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp312-cp312-win32.whl.

File metadata

  • Download URL: mssm-0.1.51-cp312-cp312-win32.whl
  • Upload date:
  • Size: 220.8 kB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mssm-0.1.51-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 4fb2cd6a43ef7bb4c76888d993efb70de0ac5617bf966d61858b6ad6ff3022dc
MD5 9786f6638f7d112fe6e3221487bc6b23
BLAKE2b-256 ed4f2d3b47cdd2c540cb61384b68ca66dcce4f76fbc2ed5729594238d2cd4da1

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp312-cp312-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 6b2b1ef4966fcede039be9fb1db8089b00ea76bd50d4db8c2ecbed4cb7865950
MD5 1f168824dc07fd94815fce0e55ff3050
BLAKE2b-256 e226712f31a8260b8da1cf8bfa205b51f836733e815c1fe5ba3ec00c17be9dba

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp312-cp312-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 47024c489ae623700ce224d98d25d43b8b7339e1e6278b9bd6bab553074fefe2
MD5 b5e4caf31becbca483f9d18aae05976d
BLAKE2b-256 69cef10d7efbdffd6a8213325e28e61c4c855fe8c45dc773e57840f5e192ed42

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 278a030006e9453cb0227c311944f92b9d4b249426377f078a166225b35c31d7
MD5 ee3bc8f32bf627ab966156ba06f0e2f3
BLAKE2b-256 141d67d44d1db0c14987672eaf29b364cd1316afe58e9c2e34b6d7da303e452a

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 df2c5b03c760af47dd5227a0cc1f25da613577c3f0e59799dd2266bc7f3c3c60
MD5 7ca4c54e38e6b2c758cce6417aa3d225
BLAKE2b-256 0f689d561fe83e22fd76690f2c184361bf85fbbe5dbb7442933cb5db444222c0

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 990ed404f496cdf18d14a002bcf0be6d1c1ce5f4825bd1553d339e7f35b48023
MD5 07167055022f10a61fb05517db9b36a6
BLAKE2b-256 89bbbf416b445464947cf4be23053644b78f781ae5bfde1afec4a42bd686900d

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: mssm-0.1.51-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 233.2 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mssm-0.1.51-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 6ba2e9498a428de4cb8adc5ed1f3124c6aa56a0180f1561d5bf63311cbab999f
MD5 86de7177d852713b229cd0de4c57f10d
BLAKE2b-256 1a2334eaf583d47a77d5cb2df90f0b0bd7d3efd15cee9a0402fba32a154e980d

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp311-cp311-win32.whl.

File metadata

  • Download URL: mssm-0.1.51-cp311-cp311-win32.whl
  • Upload date:
  • Size: 220.4 kB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mssm-0.1.51-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 a89c44a01446ce44ac1dd5078f410191462c7ff8f3d80564b6312362087a5c12
MD5 6d44a20aa3619ee0ac58f7a1254e96e5
BLAKE2b-256 4907a72f2666bc453fdafa8af45dfe1a5d0dcb61c65e2eb1172d01db9544a24c

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp311-cp311-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 b5fea7da2c9be86ff163dc2f69619441df563a4e90b833c34fa15ac4b17952a3
MD5 25b4d0325ab3417ee2ef83a7f351587b
BLAKE2b-256 ef2d1a24e60101cac5cd94ca6caff64190a50d9bccf0759652e08e2c653bb476

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp311-cp311-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 82c79a808e2c7d368dc8370e0d86f06e7a4886d6a3fa5a6ee8202b874e62b73b
MD5 127cbb97a1a011f69b61b25206064b12
BLAKE2b-256 0d617ff1f2bccb0254363220949d4dfb61a47b94249c728243379fd05ba42484

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a17e18abca0b562d2931155a174a083c083cd7fac029838c450169d0751ece7
MD5 8930fa87efcd095370bed75f3ad048de
BLAKE2b-256 27c4ebf8fb70f695dfdb9ab80203ca6ce5010c3b22cca2a13bf06f39c96541f9

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 803fc8f4c928c39c999b217b251da22c3c979d242e9b190c03eea210f3f19aea
MD5 0a2e46a5ce8b550704829475c0402e2d
BLAKE2b-256 d9234ca1e0fa2018491d4abd1e20fcde3280df6861a092c032674081e4e35eb2

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 55fa120b3f617729f2b3848ef3a9a073f96249d6c85aeca0af9771711fec1b98
MD5 e69dccd63669dcbdbd784ef071c2c086
BLAKE2b-256 48fa0f532a7ef0b4132f624512b79403cea93d9b3e08e590db2bd83a5c5c0bc6

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: mssm-0.1.51-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 231.6 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mssm-0.1.51-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 0d514331aa30d58a9f3d45823dc171bbbe4da5e1a176db621b9b411f3d07661f
MD5 0186532a9ec11af860c521783de4eab1
BLAKE2b-256 5cb27f7fa482da59e5a4a91bd3ba3088bf5f2f1353bdc5d896e8251b4fd1679f

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp310-cp310-win32.whl.

File metadata

  • Download URL: mssm-0.1.51-cp310-cp310-win32.whl
  • Upload date:
  • Size: 219.3 kB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mssm-0.1.51-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 2a0f21ca94d48b96dc9b01b675f7d2a292c9f890a142554771ec96057e7bf491
MD5 b41cf4e05371b986f6d3b20e5b23112f
BLAKE2b-256 662c9f6758abe6519b1aaefaadc6ceb039e8cdfa1f7d15e97e9f945c39f093c9

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp310-cp310-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 ce01d803439c83d491adc94ff0474fe79fafd7c0a253bd62f6638566ce025f5e
MD5 6e2256b23cc0c22b5557a3e7f31db46b
BLAKE2b-256 b3f53196a379ac43ce123e31b404b6157a89d5bc1d08e88cbcef3cd6bf27b9cb

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp310-cp310-musllinux_1_2_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 c5cc541795f9c51859c555b2b16a9d06e02641f838aac7f3b0a03198d9949e9e
MD5 ffdd6eaa7d1ddaa67b5f51e4278fe727
BLAKE2b-256 48d257d9fa44c9345c4f605e4f669b45811a02ece9361e759cfc25e0da77b2b9

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9c9369b3cc67de6548288d2cb9301b2b426583e310edb0e98e379dd123a0bb43
MD5 b895bb779157b8dbc379d5ba377a9ac5
BLAKE2b-256 aad489dabc8646e172837ee3d9550991b263fb0972f8a4f5ccb7983e42a0ff8e

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 c651896b58789e4b1b040b65d63296e2a9c6b2cd77ec95fe85eab4681107a21d
MD5 c7bd8071223a00a6bdea0ce2226e2497
BLAKE2b-256 7ef2965310ae137e1215e4d500d0264ce0eed396f3643be01094efed373be7d9

See more details on using hashes here.

File details

Details for the file mssm-0.1.51-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for mssm-0.1.51-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 726a80b1daf93232e3ea547e152257c4ea52f82999af2fab46594144ff64c73e
MD5 1552402ffd78e8dcbabd743e564904d0
BLAKE2b-256 0e62c5e3e9f9a254742b99d81050fd3abbbaa7f343f954858ad8d97670ddd061

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page