Toolbox for estimating 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).
Project description
mssm: Massive Sparse Smooth Models
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).
Plotting code to visualize and validate mssm
models is provided in this repository together with a tutorial for mssm
!
Installation
The easiest option is to install from pypi via pip
.
- Setup a conda environment with python > 3.10
- 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 tutorial. 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 .
Contributing
Contributions are welcome! Feel free to open issues or make pull-requests to main.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file mssm-0.5.0.tar.gz
.
File metadata
- Download URL: mssm-0.5.0.tar.gz
- Upload date:
- Size: 117.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77b3f535dd4e50f53be82fe931aad5b565835bef85ba9dbe86686d4923754a8b |
|
MD5 | 63e19f59d0d38337349f2b15de4582bc |
|
BLAKE2b-256 | 4224e9d04a4f6188f76f97a26ecf8924d6ad1789cbe8c29e6c453afc050ae77e |
File details
Details for the file mssm-0.5.0-cp313-cp313-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 238.0 kB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7e9c5c6f8eea54b724e03db5c9b7ef52c4469272c14048213c47114ea266417 |
|
MD5 | 69c81f248e96f88a7f36c93d0be0a2c1 |
|
BLAKE2b-256 | c5c33be2c44d21bfbed27a68c20e0587c701bc89f119a79062eed51bb2a27edf |
File details
Details for the file mssm-0.5.0-cp313-cp313-win32.whl
.
File metadata
- Download URL: mssm-0.5.0-cp313-cp313-win32.whl
- Upload date:
- Size: 225.0 kB
- Tags: CPython 3.13, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82462800a41f3d6a57775a26b03aeea7bcd2b54d53f5353d2e3b3e332e35b140 |
|
MD5 | db2442255fad00e78709a9517d70c4b1 |
|
BLAKE2b-256 | ac9738bc98ab112286610566a03e61441563a88a952cd91422a5070488edb469 |
File details
Details for the file mssm-0.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 289.3 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea9515dc88e2482b4159bac64ab84aa9b579de9c0a519ebb157764762909dbc6 |
|
MD5 | 38a46422be49b1e073a4db524e6ed81f |
|
BLAKE2b-256 | b3b2ce9fbb9a62db99b64ce1ca216587e6700b97009ca035e88a9ed462e49c8d |
File details
Details for the file mssm-0.5.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.0-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 299.0 kB
- Tags: CPython 3.13, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ac91f0b40f0118d1200d8bad84f94972609ce4c4265fe1ed1deabe90f83b567 |
|
MD5 | c93fabbaff51b1dd73f2ae27138ca09d |
|
BLAKE2b-256 | ea4c56394f2ea2528148feb1aa6f9463e35842437ad923000592cce20b204b63 |
File details
Details for the file mssm-0.5.0-cp313-cp313-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 245.6 kB
- Tags: CPython 3.13, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d73a89a44e0ad0620237453c66c4ee582f838fa7cbb5a50242605f76abe7740 |
|
MD5 | ffee1c69bc58d9afe26a31eda990a82a |
|
BLAKE2b-256 | f63e62b1465f1ef5834aa48a491db97c0cbbda00b9fc070a8fd4887c90462d58 |
File details
Details for the file mssm-0.5.0-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 237.9 kB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95748b60d8da03765d144752efd3c26ca4c3fcc23b9a0aec942cd687386afeec |
|
MD5 | c6711f6e74a021015a5529ec6968fd6d |
|
BLAKE2b-256 | 3dc0d3a132993172060606ebdc2c2d4347548b7493628a4e78c0e78224558554 |
File details
Details for the file mssm-0.5.0-cp312-cp312-win32.whl
.
File metadata
- Download URL: mssm-0.5.0-cp312-cp312-win32.whl
- Upload date:
- Size: 225.0 kB
- Tags: CPython 3.12, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a19c98f6a8cfa858e364e4d55332bdb374d81274226c41dbdcd11c7e1bc448f |
|
MD5 | 2b689a6ca1489f864c3b2e0a1c49e50c |
|
BLAKE2b-256 | 6f8040a6599c2e2556a349731cec14bfbee5efb761973cf55ee6f29e0bc091ea |
File details
Details for the file mssm-0.5.0-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c71b82269fa6794edd4826c76a2783097e554e065726327e85beda31190ee28e |
|
MD5 | 78342b4870c408ac3dbeef5d082b1dad |
|
BLAKE2b-256 | d4d509e70c3d694230da593863888e39d9416076dc0925ce1efb53ec354859ca |
File details
Details for the file mssm-0.5.0-cp312-cp312-musllinux_1_2_i686.whl
.
File metadata
- Download URL: mssm-0.5.0-cp312-cp312-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ef0fb13fd6ee273e2b824cd035b034e76b65d513024b54b4f9873160e3a0d3c |
|
MD5 | 294c8ab182d1fcc2556edd14b25f4053 |
|
BLAKE2b-256 | 95bc96bae44a97992f277591ad6bfef7258d6e6cd73a99de52067a2e47d28e98 |
File details
Details for the file mssm-0.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 289.3 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 506be48026bedb418d2fd78007ecf2a543b99f2fbe96edc230d7176286f580e9 |
|
MD5 | 55afec0514b94d3ff2f870f87896802a |
|
BLAKE2b-256 | 169df65e9c9036a2d3370614f5ee634b4d3b7460042246127d41f27eab165d87 |
File details
Details for the file mssm-0.5.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 298.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da140ce1870c808049e1e41641bb7806c1e9bf9a6559d2dfed15aa864138e1c8 |
|
MD5 | fb725f3373274e75ff1e3f2404e6e3cc |
|
BLAKE2b-256 | 7c71daec383b28bde71b80138d5ce21d4e4c9fbeee4228d05f6b550fb019b57d |
File details
Details for the file mssm-0.5.0-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 245.5 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ae535d4ca9fd08001201eab37aacf7e0768b05131d3d19d638f9dc6df931b035 |
|
MD5 | f5b002d54f6eea0f118263cd2b46b1be |
|
BLAKE2b-256 | 26a545c44179acbd8ffd27d1ce3261f1fe1fe2a8439238372ae8b940a3413abb |
File details
Details for the file mssm-0.5.0-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 237.5 kB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e59068c8cb1cb1649f8799b8afa6e031f0b39f5a39726213cf9a6043dc8fb593 |
|
MD5 | f9c7fd9cf07f62f61208fc32edcbd624 |
|
BLAKE2b-256 | 0972832ad91d064e96de7473db020cb8346d3a7a93ca18bf0f311d69b44cc8d7 |
File details
Details for the file mssm-0.5.0-cp311-cp311-win32.whl
.
File metadata
- Download URL: mssm-0.5.0-cp311-cp311-win32.whl
- Upload date:
- Size: 225.0 kB
- Tags: CPython 3.11, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 324999eb9265e692b330c8fdecb238733720dd92f32a4e6ff553a81d249e1a63 |
|
MD5 | b7a67f1ebf070e0ad58d4a9bae7a6a7d |
|
BLAKE2b-256 | fb4ada6cdd0df8903667a43df541a27e14731405d80c0c9d0c535a0bdd37b8e7 |
File details
Details for the file mssm-0.5.0-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a02dbad154add6c5bc2703c780ad99a66a59f539c8df374fe2c66f816f5831 |
|
MD5 | d78b9c12780086b36303b6461254e2a6 |
|
BLAKE2b-256 | 082e8b56f59db491191471bb54b9de60aa8deda8f2f4edb3724428484696758a |
File details
Details for the file mssm-0.5.0-cp311-cp311-musllinux_1_2_i686.whl
.
File metadata
- Download URL: mssm-0.5.0-cp311-cp311-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b79d937245e6147ed150898fcffa0fb4373bd59047be1c0b3dc1c16d7088ca4e |
|
MD5 | bce79aea3b3bd471214df72c9ddc351a |
|
BLAKE2b-256 | 9c615b68551c51ec43e0d01b7164554d470ea42870708497ddbc17f455f71978 |
File details
Details for the file mssm-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 289.2 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 400419aa732b65173b5303ee607d876f1d55e9cfaa4124b3d2171e2a86938911 |
|
MD5 | b5fa9a46cdd6139cc1d0d98cd9cf0342 |
|
BLAKE2b-256 | 187bd0ee32fe9b9f6ec9727835de5dde706a0df2f26dcc93fd16aa2e305c9e81 |
File details
Details for the file mssm-0.5.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 298.7 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8009f9a8c1f791eaf8e48ddebd2e1c332ef539ef8f98483eb1c1709f185ebaa |
|
MD5 | 9c1853fc87dd600cb137b0ecaf50a5fc |
|
BLAKE2b-256 | bb2f61f238476d7db86f41ef71bb276132ee4278ae7f75a9fc041bcc1336127a |
File details
Details for the file mssm-0.5.0-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 246.5 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 598ab0f0c0d2a8062fc70910d7b6bc12c163000e678ae13265ad08f06ed12e91 |
|
MD5 | ed214dbc7fa70dd1d1c8f1915abff14b |
|
BLAKE2b-256 | 1f71f1d62efbe0d71d18b87aa3478874599c7330adfc3e91c015970a2c33b578 |
File details
Details for the file mssm-0.5.0-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 236.3 kB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 937e53d01d72ea8cdebf6d582fbbe2eb0e0c18cdcc59beafa309ba78ebd52e1e |
|
MD5 | a1930812cea446af1369c0d715f7c6ff |
|
BLAKE2b-256 | 3feb1b56b5644b68cdf4a07ff1cf33c2a66ddbd0b03c5c2f539247211cc515de |
File details
Details for the file mssm-0.5.0-cp310-cp310-win32.whl
.
File metadata
- Download URL: mssm-0.5.0-cp310-cp310-win32.whl
- Upload date:
- Size: 223.8 kB
- Tags: CPython 3.10, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8dc42259c17a68954b0a3f039a1236ac2c677ebcbf189e3bee00aa2091784a5 |
|
MD5 | 16399c1c1b268eae449e490697830518 |
|
BLAKE2b-256 | 1612fe805f947e563ea34f62dc57f53c800fecc1b906069de6f9642fd00e65ae |
File details
Details for the file mssm-0.5.0-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.3 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c888b8712635fe432ecfd633cd62fbf5653d38fd583d70c0bde1d00824e7957 |
|
MD5 | 84abf6d6fe207736383ab6a6814f9111 |
|
BLAKE2b-256 | 0d680185f5e766940c320d3eefe291687bce2f02468fb78dab2e8c4c9cd1bcd5 |
File details
Details for the file mssm-0.5.0-cp310-cp310-musllinux_1_2_i686.whl
.
File metadata
- Download URL: mssm-0.5.0-cp310-cp310-musllinux_1_2_i686.whl
- Upload date:
- Size: 1.4 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20f35e06bb1c299703bb4631441a503bdd38ac2a32c1b2086cf66c76a9494cd0 |
|
MD5 | 74fa1370ef169ce7d51353a3529ff5cf |
|
BLAKE2b-256 | c319e2fa177ee6562fa0926f64a523f37458dec1320fcbe598171d78929f6df7 |
File details
Details for the file mssm-0.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 287.9 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29e5a00e8478c4e4f7e2f28540996abc7ea0c24eb115e532f9de4b9296f55463 |
|
MD5 | 7eaafae112f7016e7b0600bddd726a7d |
|
BLAKE2b-256 | d1e175d8f34792f146bc085bfe401ba04fc67b76e2d86c627bc5cd753e7d8971 |
File details
Details for the file mssm-0.5.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 297.8 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ea2cceba16b5c01ad3b5dde91c42c5c8a9616a77c515d2080b120da2bb2eeb5 |
|
MD5 | b28e232130190bb894d2cae6e87564b6 |
|
BLAKE2b-256 | 16916462714effd31d6bda14bc5c9afaf1a679ce2f3be9f3367e25418fc9bc48 |
File details
Details for the file mssm-0.5.0-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 245.3 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f48a0c8679495d7f44c558e4ff7ad2be4d2e96658e8674ed054be2e946b7709 |
|
MD5 | 2c766954491fefc8b9dba8e48e226815 |
|
BLAKE2b-256 | 16c83395226e15866b96d3fcdde3cb0d8ef6b1013f91c90e6ba97f57ac5389f9 |