Toolbox for estimating Generalized Additive Mixed Models (GAMMs), Generalized Additive Mixed Models of Location Scale and Shape (GAMMLSS), and more general smooth models.
Project description
mssm: Mixed 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 (mixed) smooth models in the sense defined by Wood, Pya, & Säfken (2016). mssm
is an excellent choice for the modeling of multi-level time-series data, often estimating additive models with separate smooths for thousands of levels in a couple of minutes. 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.1.tar.gz
.
File metadata
- Download URL: mssm-0.5.1.tar.gz
- Upload date:
- Size: 121.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a61158edd7c48f1ecc9653c58b7ea5d882100b1b5d01752376ecfe54a2382811 |
|
MD5 | b2878d696f4caa163902855d1e0191f8 |
|
BLAKE2b-256 | b5cbaec4e7ec1e48c0bbc1398c5946a5dd479fc2f8cfd350a61b79b36266f487 |
File details
Details for the file mssm-0.5.1-cp313-cp313-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 239.7 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 | d4abfbaa9999ad84de2946c10ac2f98109dd4168eaaeaf389d1712c3e57444ac |
|
MD5 | 5597ccf5fede68c11ccff53e1fac69bd |
|
BLAKE2b-256 | e1b771ea796b3bf155845c34007110dd6fec28f5cc0730b8796eb4bc49328fb4 |
File details
Details for the file mssm-0.5.1-cp313-cp313-win32.whl
.
File metadata
- Download URL: mssm-0.5.1-cp313-cp313-win32.whl
- Upload date:
- Size: 226.7 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 | 891e44e979612d37ab6deb8f06258a8df6668b7cb3d717a0d3cd879a7da21646 |
|
MD5 | 4cdd93f2b31d815c027229734db1dc49 |
|
BLAKE2b-256 | b434b860f0dd5c4d32bb1319d61f1d070ff27b8b133f911f3240cc32c45d167f |
File details
Details for the file mssm-0.5.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 291.0 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 | 06740292c81b76861a04fb9760939d98a960cca211b2152a35899ae675dffd97 |
|
MD5 | b47fe7d676488909dd0fb2fd435bdb94 |
|
BLAKE2b-256 | 7a2431eaf76622afddef268522d9ee517d06389eb0a55ddea9b495c548af705e |
File details
Details for the file mssm-0.5.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.1-cp313-cp313-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 300.7 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 | 267157577d30bf8a96ee39780f026d023e9eff1b070295cedd4509831a3fabbe |
|
MD5 | 561f8577f3d1d16e9e3539309f1d5c96 |
|
BLAKE2b-256 | 844d2e89c3a8f0d6ebd8f73a163a281eb57fe7faefdc325fa01e390ce14ec559 |
File details
Details for the file mssm-0.5.1-cp313-cp313-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp313-cp313-macosx_11_0_arm64.whl
- Upload date:
- Size: 247.3 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 | 92a540aea4edb49189b06d34c5e7ea48901991eb77738c4aaa2a9d1e149c0238 |
|
MD5 | 5a397cf1104adab1a2587d0170b2a3cc |
|
BLAKE2b-256 | 5c3cb285d97aa7304966775cc60d5ca3c59ee0254a89599e1614c60c7bb1c3ae |
File details
Details for the file mssm-0.5.1-cp312-cp312-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 239.6 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 | 79fa9285dcababb7e9c1ec966d248351ffcea8e5ec650de642693273fa90e70e |
|
MD5 | 1bddaec0a27cbeef0ea67e8f60be642c |
|
BLAKE2b-256 | f23d412a64c78f057df8fef64441fdf1454e8f2053f38c4bb3313d32dc45838e |
File details
Details for the file mssm-0.5.1-cp312-cp312-win32.whl
.
File metadata
- Download URL: mssm-0.5.1-cp312-cp312-win32.whl
- Upload date:
- Size: 226.7 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 | b891d489aa82ded7df8fd55e8f8eff278bed49987508b555d3f6418c8920ce3f |
|
MD5 | 7d8ad8d4f2c5eecae19bde2963e93342 |
|
BLAKE2b-256 | 0b6abb58d14b75c441b980bb27e6c30cc70b714ab234e8047116a0f7361f1975 |
File details
Details for the file mssm-0.5.1-cp312-cp312-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.1-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 | dfd636d9ef8cb339fd0ab77b5a29d91127352d9a3eaa391574eaf4419daafb3b |
|
MD5 | 7d4076c4f23ed4452423fc98bd65bded |
|
BLAKE2b-256 | 63d3b96c791770a1737a30963a0b95c19c0ea4db25ca8ab8677d87fc7f2346f6 |
File details
Details for the file mssm-0.5.1-cp312-cp312-musllinux_1_2_i686.whl
.
File metadata
- Download URL: mssm-0.5.1-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 | 6e87364d10604ac0c802762ed03a3242cc359aab5cf66a14cd51b9ad40a094f8 |
|
MD5 | 691b2066814af9c592c684bcae510b4b |
|
BLAKE2b-256 | c28c077c10d30f63a69dc6431c66c43d1dc01059fbb81b949b8992e0f57a3252 |
File details
Details for the file mssm-0.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 291.0 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 | 582b3e9952dcbb3fbc9ab4fcc49f1082a783d942a56bad283b81172fe431e48c |
|
MD5 | e27950ab8c4bf2ec83e911368120453f |
|
BLAKE2b-256 | 4c5dd6efd90be30d1ba6e60c4e6d18a3c37424fe2cab9b18f89f99493f1b19b5 |
File details
Details for the file mssm-0.5.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.1-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 300.6 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 | cdcea5cd76ff5ccdf901539787e9e68e38d5cf7f3c1cddbbd4b5f2342defef69 |
|
MD5 | 131e3a44cd1a7202d9730df4930bc40c |
|
BLAKE2b-256 | 44afa8f426a2b66cebdb46fbe2c1c4fdc513e075b930a279b0de9aa79383a3bd |
File details
Details for the file mssm-0.5.1-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 247.2 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 | a8eb863b9b3f473ae61dcd4520a34b689b692859dfcfc22c63115bc4c3d17bf5 |
|
MD5 | 3d371eb301c97fcd9342aa4941dbe8a2 |
|
BLAKE2b-256 | c4f05d60852dd3d5efd8a2e74e5505a8ca856a73889cd0568a7fea08bfc17d26 |
File details
Details for the file mssm-0.5.1-cp311-cp311-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 239.2 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 | ca5dc981a9ba46bdc283e8ec1413f5c19d8c689d909744d514b4129e27d9966a |
|
MD5 | 569bccb23448dccd6b223b83d32df21a |
|
BLAKE2b-256 | 050f0b4e00da5e5979609e2af6faa942bbcc85aab91d8c766a388c4c2898dc9f |
File details
Details for the file mssm-0.5.1-cp311-cp311-win32.whl
.
File metadata
- Download URL: mssm-0.5.1-cp311-cp311-win32.whl
- Upload date:
- Size: 226.7 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 | 3d993f0ea4925d15266ad1245a08546bc27a3ac7806414b24e805a9f8b116546 |
|
MD5 | ad83d5aad742dc42a69eee217c34d72f |
|
BLAKE2b-256 | 2f13d26ed5754585641e564d8636b6f7ce251f0993e32744452d90f0dbc8a17c |
File details
Details for the file mssm-0.5.1-cp311-cp311-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.1-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 | 2981418f325ac567846fa76264169e92a69281514c03015641ef6c0687e0571c |
|
MD5 | 716991a3e9bd73c525e5eb7c845b06f3 |
|
BLAKE2b-256 | 8db5eaae9f4903f8a63f288941c61ab673647e3d0980768ae337afafc8604b53 |
File details
Details for the file mssm-0.5.1-cp311-cp311-musllinux_1_2_i686.whl
.
File metadata
- Download URL: mssm-0.5.1-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 | a873a23dde524a4431ddff86dda4e6f5e1fefd1686d2cf1b8443761ca1ee6ecd |
|
MD5 | c7bc26bfcc2335a2ddb99ff659d25d46 |
|
BLAKE2b-256 | a979854952411f9389adc35e197f73b30ed752c558ad92e1cb0fbb3d940e4dfa |
File details
Details for the file mssm-0.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 290.9 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 | 0a90187035e9b1fdf42857eb0108bc22e7a1a1320a258462949098a9892cc42c |
|
MD5 | 29e82a89c3724fa7ddb70487f8d05d95 |
|
BLAKE2b-256 | 552259e4474ff60dd37622300f9964a6975dd5e3c8bed911393e303714317000 |
File details
Details for the file mssm-0.5.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.1-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 300.4 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 | 1e833abfa44a2650a1affe89fcae0fe130eff46cb86e4b0abb03173a97b4f5d9 |
|
MD5 | 9dbaa8c13ada5cead0d363591b444bb2 |
|
BLAKE2b-256 | dd119fafb3250df60475f7e7a69b6f2291f893b81fdcbfa7a67d994b86f548b7 |
File details
Details for the file mssm-0.5.1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 248.2 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 | eed7c797282be52437ea3b2db7cfea2a7e98f43b456ebf3aea8069968a16ca38 |
|
MD5 | a787a2e1bace9932e6a305ce627c536d |
|
BLAKE2b-256 | 029b569efd47971383c8d2626056471af941506b9ab8d084eb5175b123f5d6d7 |
File details
Details for the file mssm-0.5.1-cp310-cp310-win_amd64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 238.0 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 | a2bef4d6a00ac9210f186aa7dbeed4c5083c00673ca7b84ec5981c81fd49c37f |
|
MD5 | 6d6c63bfc12b90bce73c235d341e172e |
|
BLAKE2b-256 | f0b3445bff5e7fc1345fd839928e0f8df3ffd8f266846fbc1e7f38c3b70009db |
File details
Details for the file mssm-0.5.1-cp310-cp310-win32.whl
.
File metadata
- Download URL: mssm-0.5.1-cp310-cp310-win32.whl
- Upload date:
- Size: 225.5 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 | 9177bdc511c9210c7edde7c6cc24676e517f81786615178c82613d699222da4f |
|
MD5 | 53bc3265262d8b243a6ea77cd8d5001a |
|
BLAKE2b-256 | 10644c5b3057dadaca4725396aaeab88de99ecc088ade16d355f4b9168ce24ec |
File details
Details for the file mssm-0.5.1-cp310-cp310-musllinux_1_2_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.1-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 | d0c3e585e5aa9fbeaa07864f99f21b1c4c72d0210e2a009a67e5682339c0b0bd |
|
MD5 | 2bbd20ed1fb1870240a7020206cc656e |
|
BLAKE2b-256 | 64dc5e868f548f2db1e44b8ea3d9fddd1572158c0b4ffe95280771f6bef8a93b |
File details
Details for the file mssm-0.5.1-cp310-cp310-musllinux_1_2_i686.whl
.
File metadata
- Download URL: mssm-0.5.1-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 | 8bfdab24be799f68d195f1f6bca26f43b13db9f91fc70a33c2babced3167cd37 |
|
MD5 | 73d2915fa18dfe124a45516877bc4cd1 |
|
BLAKE2b-256 | 8126f139cc0675692d3c49cb8ba64f5a81a4fcfe69f26ce55c684f38a7c82d27 |
File details
Details for the file mssm-0.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 289.6 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 | cb88440472a2edacdf75033927411049cc82e861473e04dac6798400abc4e040 |
|
MD5 | 97b74384b0de75ef9fe8fb5339231cfb |
|
BLAKE2b-256 | 1cf773a60ac6b3db7642bf9566d6c043ece197fc23a2b3c452a21a4abfc6b447 |
File details
Details for the file mssm-0.5.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
.
File metadata
- Download URL: mssm-0.5.1-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 299.5 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 | 464e93dfccab9a9c87f7433d5615be6b19e4ad3969a7912aa776d81a71119540 |
|
MD5 | a7766d2e2fc1bac6b0bc20469f2f375b |
|
BLAKE2b-256 | 428b848efdf5550de8600b9bbcdfe3244383aded8edc9be2d10a34ec93ac19e4 |
File details
Details for the file mssm-0.5.1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: mssm-0.5.1-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 247.0 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 | 9c5b9284e2e2e3d6b6f7eaadfce177f862752c401060875804295f23152b8274 |
|
MD5 | 2b386bf126a990630d052388a2d1c246 |
|
BLAKE2b-256 | 31b7d3bf3c491503725dda55adf53693ae535e947581cca6af317398a5ec493e |