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.4-pp310-pypy310_pp73-win_amd64.whl (231.6 kB view details)

Uploaded PyPy Windows x86-64

mssm-0.1.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (277.5 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

mssm-0.1.4-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (286.1 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ i686

mssm-0.1.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl (232.7 kB view details)

Uploaded PyPy macOS 11.0+ ARM64

mssm-0.1.4-cp312-cp312-win_amd64.whl (232.3 kB view details)

Uploaded CPython 3.12 Windows x86-64

mssm-0.1.4-cp312-cp312-win32.whl (220.1 kB view details)

Uploaded CPython 3.12 Windows x86

mssm-0.1.4-cp312-cp312-musllinux_1_1_x86_64.whl (803.6 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

mssm-0.1.4-cp312-cp312-musllinux_1_1_i686.whl (857.7 kB view details)

Uploaded CPython 3.12 musllinux: musl 1.1+ i686

mssm-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.2 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

mssm-0.1.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (295.0 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

mssm-0.1.4-cp312-cp312-macosx_11_0_arm64.whl (240.9 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

mssm-0.1.4-cp311-cp311-win_amd64.whl (232.5 kB view details)

Uploaded CPython 3.11 Windows x86-64

mssm-0.1.4-cp311-cp311-win32.whl (219.7 kB view details)

Uploaded CPython 3.11 Windows x86

mssm-0.1.4-cp311-cp311-musllinux_1_1_x86_64.whl (804.0 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

mssm-0.1.4-cp311-cp311-musllinux_1_1_i686.whl (858.0 kB view details)

Uploaded CPython 3.11 musllinux: musl 1.1+ i686

mssm-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (285.1 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mssm-0.1.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (294.6 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

mssm-0.1.4-cp311-cp311-macosx_11_0_arm64.whl (242.0 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mssm-0.1.4-cp310-cp310-win_amd64.whl (231.0 kB view details)

Uploaded CPython 3.10 Windows x86-64

mssm-0.1.4-cp310-cp310-win32.whl (218.6 kB view details)

Uploaded CPython 3.10 Windows x86

mssm-0.1.4-cp310-cp310-musllinux_1_1_x86_64.whl (803.2 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

mssm-0.1.4-cp310-cp310-musllinux_1_1_i686.whl (857.0 kB view details)

Uploaded CPython 3.10 musllinux: musl 1.1+ i686

mssm-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (284.3 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mssm-0.1.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (293.8 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

mssm-0.1.4-cp310-cp310-macosx_11_0_arm64.whl (240.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 bc58222d8f59e56dfa8c4f0a3f41b91825380bbeeb81f2617176e5ead1af1c38
MD5 d0d82e6d241b31b82c7251b8f7d005f8
BLAKE2b-256 c30ccde49733d01d356fd3f58ae1844b68bbb045d71adc3c5a2016bbd149c366

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b91764903e20843e0237d8511556858b91aefaa77b2d231f9e424ddf1baa3c55
MD5 d9df13584c82382cd5a90aec61a87ced
BLAKE2b-256 920a4781501cc0c326f73562eae6f64245cd93f58de99a3ae071b9e07f05233c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 8a24f1fd62af0c3b26cea5f1c6d13a30c545930c857eabbae3bde848f8d05818
MD5 5be973e164ac31059fbd8709bbe586a5
BLAKE2b-256 288c73efdb6866867932f7daca5b48931b19ab60f110ea3b70fd12e9da81881e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 010c3c4b62cb4f59f6712200254808c909ca8e6e758181a73038c658378819e2
MD5 b8a699559a6e7dd79a72f1173545fd18
BLAKE2b-256 a27084fed659a96f96cfc8dc49ad3f89087cbcdf399fa58fbf7b64bc33b0c7c2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.1.4-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 232.3 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.4-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 d15dfe5864b9fbc765e601b4c2e37edd45425799e655d38f3e2b8b3117275db6
MD5 ef27db017afb09742efc6bdc4d47c407
BLAKE2b-256 e5a717f786594c706ef4eba87db71267cc4143cc2f5e6b3e084bc15857a432eb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.1.4-cp312-cp312-win32.whl
  • Upload date:
  • Size: 220.1 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.4-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 4b719b2f02f98eeee86b38afe4b2e058cedd7a92ee15cc5a002f66fe930c81c9
MD5 f554196260587eac223aab03e13e9f4d
BLAKE2b-256 43e2bf3e2e210d45847493ca0f47e02b4fbbeaf2bffd8e53c2eeb9ca3680beb0

See more details on using hashes here.

File details

Details for the file mssm-0.1.4-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.4-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 db8faa8d8273ae6fdda892c78f2cfd1d7e3863d27a6f528c4d25ebf116f6d9e5
MD5 7b60bbe27cd9ae1a930a7715a8c1e598
BLAKE2b-256 98bd39042d0687a679cfeaef249e8ebf3f8c2969ec8f26c3ae0d0386b442face

See more details on using hashes here.

File details

Details for the file mssm-0.1.4-cp312-cp312-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.4-cp312-cp312-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 79304b5132a904c5a0d8069a0b8f4c415d75defcf9c960613da439b963474e1f
MD5 ece98b0974e84fc3f6e75edd31c91eda
BLAKE2b-256 bbe44fce1bf8731785c5db495773726772fd2cb923c84c92eb43f507eaee2d3f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 db9832c776359522eaac140aaf129bc59f96f843117b14844d368ac7599ca395
MD5 1b9a0712d564794434b4238465f4687b
BLAKE2b-256 de1254e76e6e6fa5b0d6aa661dd26dfe92ad75c450cdd693551b3da44e68d194

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4753fca02261951343f8cb83a55819936d85ad6c7b9ccc95fa7788819030e57e
MD5 c4bb36599b19addcd9415ff6b3ec95ed
BLAKE2b-256 f81cc0b59d6ffa92fe6bb3dde22d62332ad8840114248236b39661b0dd668511

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ed3afb15d2349cf2ebc2988257943e059e27f2a96f55df9a869c445aa3bb0bb0
MD5 c28934ac3e90c8de0aa9cc1727bcb1a7
BLAKE2b-256 d3cd1b167e17cbd158715c9d7412d161a91ed00e1ef9bc3faf46032ea7d921a7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.1.4-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 232.5 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.4-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 3ee54f080d443b828b2ec0f49d21b9865d07f7dc2efbe88e11500078bd79883c
MD5 006bd4ffaefa5f99272dd4c0471da385
BLAKE2b-256 85c8ae18b7a339571889750705ad36d41eaf11823b6565a4d95576b2d468c53c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.1.4-cp311-cp311-win32.whl
  • Upload date:
  • Size: 219.7 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.4-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 fdbb04bfe30068a2022e6ba027c5aa2003715c48f5607d01ec3de2cce3b3c1ad
MD5 cfbe5d1197fc1c28e6952800dd12da07
BLAKE2b-256 9cac5f0c36975e8de3f0b46204c67311782c36289e783f5d66bcec426f61c05b

See more details on using hashes here.

File details

Details for the file mssm-0.1.4-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.4-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 5da419858eb859d76a863d5127607eeb479e87f86b38b8f20703c6b2222fce6d
MD5 3c757cd29e86ab3bd032320e2df4e96e
BLAKE2b-256 038901e4c5fbdaae9196d06720d4957d4edbe943cf65c1d9f3ac388c28a3dc68

See more details on using hashes here.

File details

Details for the file mssm-0.1.4-cp311-cp311-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.4-cp311-cp311-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 2c1e2dc7db96277bbe1218aec02ec77ed32ab4967093d3d48cd645629b080398
MD5 bc2e77f266411fc9cfd324b0d620314a
BLAKE2b-256 8b9c3bab3b37b4ffff9c03a730aa289d00bcddef1941ea43eba3889301c07765

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fedeaf37c70c493f61bf2cd2107b243d9d59f31ff33057c69025b8db6028a566
MD5 2fb135b5e298ad45819a2f5cb249deee
BLAKE2b-256 829b70846d4c05d978770dca728e313944db3c8472d0ab4d77800b49c2890be9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 77db2f1374efeea245d71e002b787a019171e17307c5173877764248f222bfc8
MD5 adab950bf707e39ce9ebaa6db0292211
BLAKE2b-256 c9365e7d30a3baa87b767fcd49d1e941bcbf3dfa3d964581baedc9a8c48dff25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ae289cbccb5a4cb7527267e176312f62078b29aeb69f777ce649d07da76c5e04
MD5 21860dfa517fc05d732167c2ab77e6c2
BLAKE2b-256 2b6c4c3042531bcd6b86fcc62fef53e7ab8777fa13492b5f35c49f8fde59fec4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.1.4-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 231.0 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.4-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 905871416bf13e21161ef83abdaa2311601132a8bdac4892617ad8a090c20de9
MD5 972d5d7a0b6709ac211024b869e7b532
BLAKE2b-256 c3c868d0a6baa1375ce2e69a57dd00cc401e236410ddebb10636bc19296299bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.1.4-cp310-cp310-win32.whl
  • Upload date:
  • Size: 218.6 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.4-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 088aa059bc6ccf8e74ab47552501654400771a86d8c9ffff7cebd96222074a05
MD5 7b71679b48d2162d4091923252166bf0
BLAKE2b-256 ddd5d93e6183ee85bcbde41b02e5a172a10b0d28665abc306424c7c764e451bb

See more details on using hashes here.

File details

Details for the file mssm-0.1.4-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for mssm-0.1.4-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 10fcfb17b8543559af6ca5da1d8bab71af68bc0f8db69f4f11ea35b9a9f8b4af
MD5 ee9fe6e7d81ef3d7193cc8e1f13f1203
BLAKE2b-256 8a2dd0107c60c21b1354cce64e3c48e62afd0a6c300b5b788ec7cebbc86f2cd8

See more details on using hashes here.

File details

Details for the file mssm-0.1.4-cp310-cp310-musllinux_1_1_i686.whl.

File metadata

File hashes

Hashes for mssm-0.1.4-cp310-cp310-musllinux_1_1_i686.whl
Algorithm Hash digest
SHA256 b6eef8eb439de1debe6988493eaa89c806b0b1d4f090955db21a8250b519ba02
MD5 c1b2a0f2f88851c4decacc531e53ef77
BLAKE2b-256 555ff285a51a06cd16df2bbcb51519b71b2cc24be433fd2bb0c65c7b8fb368c3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9b653c0bb4da3c2b89d19f5d11bf6428647b01c1d9a87121975cd98ae4ecc3f4
MD5 7fc1689702ac9943fbbff684f1900fb4
BLAKE2b-256 d8857f58127c63ddc8bd2957462334339281579d99a534931a929c91ee59529c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 34991ccb1351b007799f8b20f97e8df785b7a7c7371cce2407532ffa6d3c7b8e
MD5 ddf8f4efd11c7a2c4f165bb55070cd43
BLAKE2b-256 2d6e429de0d1d231ec595229430ce75944dda42023d77638de6f258c0dd25721

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.1.4-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6c0e2971b129e2da343e8e35eb32be0021dac306f8cf948c454731a8cc19eaca
MD5 fca32e2d271810aba249cbbba01bd33f
BLAKE2b-256 cfdd60e023f41b8037c27a6ac48bec452897a5fcf96c751ed0bb3a0f1e2d5ae1

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