Skip to main content

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

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).

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.

  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 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


Download files

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

Source Distribution

mssm-0.2.0.tar.gz (121.0 kB view details)

Uploaded Source

Built Distributions

mssm-0.2.0-pp310-pypy310_pp73-win_amd64.whl (241.7 kB view details)

Uploaded PyPy Windows x86-64

mssm-0.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (287.3 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

mssm-0.2.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl (295.9 kB view details)

Uploaded PyPy manylinux: glibc 2.17+ i686

mssm-0.2.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl (242.5 kB view details)

Uploaded PyPy macOS 11.0+ ARM64

mssm-0.2.0-cp312-cp312-win_amd64.whl (242.4 kB view details)

Uploaded CPython 3.12 Windows x86-64

mssm-0.2.0-cp312-cp312-win32.whl (230.3 kB view details)

Uploaded CPython 3.12 Windows x86

mssm-0.2.0-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.2.0-cp312-cp312-musllinux_1_2_i686.whl (1.4 MB view details)

Uploaded CPython 3.12 musllinux: musl 1.2+ i686

mssm-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (295.1 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

mssm-0.2.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl (304.9 kB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ i686

mssm-0.2.0-cp312-cp312-macosx_11_0_arm64.whl (251.3 kB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

mssm-0.2.0-cp311-cp311-win_amd64.whl (242.6 kB view details)

Uploaded CPython 3.11 Windows x86-64

mssm-0.2.0-cp311-cp311-win32.whl (229.8 kB view details)

Uploaded CPython 3.11 Windows x86

mssm-0.2.0-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.2.0-cp311-cp311-musllinux_1_2_i686.whl (1.4 MB view details)

Uploaded CPython 3.11 musllinux: musl 1.2+ i686

mssm-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (295.0 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

mssm-0.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl (304.4 kB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ i686

mssm-0.2.0-cp311-cp311-macosx_11_0_arm64.whl (252.2 kB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

mssm-0.2.0-cp310-cp310-win_amd64.whl (241.1 kB view details)

Uploaded CPython 3.10 Windows x86-64

mssm-0.2.0-cp310-cp310-win32.whl (228.7 kB view details)

Uploaded CPython 3.10 Windows x86

mssm-0.2.0-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.2.0-cp310-cp310-musllinux_1_2_i686.whl (1.4 MB view details)

Uploaded CPython 3.10 musllinux: musl 1.2+ i686

mssm-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (294.1 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

mssm-0.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl (303.6 kB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ i686

mssm-0.2.0-cp310-cp310-macosx_11_0_arm64.whl (250.9 kB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

File details

Details for the file mssm-0.2.0.tar.gz.

File metadata

  • Download URL: mssm-0.2.0.tar.gz
  • Upload date:
  • Size: 121.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for mssm-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b6edd55027d1a035a362195e511b28715bc9ef157571d3c9a1d57266e06ddced
MD5 92f9ff770bf0827f764c68bcee5cb3b6
BLAKE2b-256 afd31b4166b295f78fe493b96c98eb656bb59adcbb6645a4cb1189dc4fbbfa0d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 3b77cfeb7462a0dfce40947ae3ba9e4884fcffa792407cff8801eb7d31e7bb01
MD5 b3df074adf56204d22e94f5bef0be29e
BLAKE2b-256 0a819e31711d4b3326f2d0f90eacbc15ca7df609814f2f457cb988a908aee6bc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9395608b98e184f910c13aa999663df09b600aa2d013765198df54d7210f3915
MD5 122b7c711bb5ae40db668b90ecd4b376
BLAKE2b-256 d9253feb60b6dad5e5960a1f645d83fc303dac32d979b08a5a0e2d31c2e557b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-pp310-pypy310_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 e6b38075da2fb44880a18acd5900415705e6149828cfb7a82045d57a1095c716
MD5 2cfbac4c49e107a78ae8b159df951461
BLAKE2b-256 5fa6c74019104b495aff4e1558dcf30fc6a26812de65d9e6d8cf3ffd879b3136

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7889a137fcacea1075dbdf204c2378ddf10f657a1339973ae29e6486ab266ffe
MD5 f9a3329dc0344ba1e9852ce4dbe6f168
BLAKE2b-256 84c4515e10b61371310daedd0a8300936dbee38c417fd3c4eb0a48789b24748b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.2.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 242.4 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.2.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 76d35c47dc47fb99f4b9024a23d2e3b1160a256ef82261eed466dad95bf0e200
MD5 84a917bdfa65c1bc432d84c68efe1ddd
BLAKE2b-256 689d166686154ed1c671ab1c0010a5149b21af07c1c53798aa77f46a6288ed97

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.2.0-cp312-cp312-win32.whl
  • Upload date:
  • Size: 230.3 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.2.0-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 94934f1e5f63d5292b0607582aae08d05cb442f1185c029d9bef4590dfb6730b
MD5 b6a104e6af0cf44309d5e48514da9ce8
BLAKE2b-256 8be5a538ab9255518bc1eebd2ab805812432c1839db29fc83182d0ebc8a1278b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp312-cp312-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a1b26353105e2007d037e7f4616e4fe7448e73c0b8d6c23775a7d63d6ee3c657
MD5 68772143278932b8442fa7ce5e031886
BLAKE2b-256 269769a16ac9855ec5c8a99defdbfa11317871e21c4a5eb0f571895e5d1b5c13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp312-cp312-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 284e87bf549118f9d9e1bb272b0cfec5fb00fd58c4b16ce00ca4c522b5bb3ac4
MD5 c305290d22da6e16b62f2d365e2c03e8
BLAKE2b-256 135b8771a1902d3b618c15952f0bdc187b3943cdc8f2eda085f7528764766f06

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b673aab9f23c870095a9e0d09292d2aa3a04aaf8bd0a921b3dbd5ea8dfc44591
MD5 f2b63147fc450a8583582ffd8e0d67a7
BLAKE2b-256 0de24c6229f7d6efd0193d198df0ca265f80bb427eef83b25747e203b7d5f04f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp312-cp312-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 4eb310a5fa72d811b2aeb53c809a36292be85771d5ae2e8966c4952d85eeeec4
MD5 9d38933de52f04b066bf9922e27cec58
BLAKE2b-256 26d3bd16c192f559b85364adeb70f3bc0b6cdba3fc387cae238eef3835b56077

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 368fec69768a839b274ef66d5f549ae031747100dd8e7316af8df8cf7ccb0d02
MD5 76784db0f89ce232474be7bd327471fb
BLAKE2b-256 9cdec9a3a3a075d9097f4f0371fecb5e2cf33374b994091f2d134575f9be8719

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.2.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 242.6 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.2.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 4dcd13bc85a1938362d9b83d3c181eac758ec0807fb2ce777223c1721cc00410
MD5 7cf04b6006aa5185273051894d590d03
BLAKE2b-256 6a706e39b2b5fee5b84263515cf3633058955f54b430a645412efff7b25e13c3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.2.0-cp311-cp311-win32.whl
  • Upload date:
  • Size: 229.8 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.2.0-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 8f2aa68eeb131ec05e23a34d5bd9390267d59d058169333bbc944cc6634e2244
MD5 3fa327c2f7b544fdf845ca8cc049d673
BLAKE2b-256 2b147da6402ae1bcb3dedee4ad171fd9daa0bd738421fb99343b5d12baa843f4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp311-cp311-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 a7de1dd962d0865416e64084ffa89b4a782d6780e0469d0b3eeeea05e771727a
MD5 bc05421a6f4458bde19daf8b3c417fe7
BLAKE2b-256 99f6dcff6a814a442d1f945939177c1aececbb73a2d8d47c12648da50ec98b4d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp311-cp311-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 475e7e6d9e2ac3c2d5c651714af068ec3d58f0d702a8f31d26328d6d2994ddb9
MD5 ec4114164858edc1e4a19f2626cbf390
BLAKE2b-256 7508ee9b245636bfb93a5f0c5fa92f17ef887168124f67c7f4d2b570f1e855ce

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 749f4eb70846ce5cf77d8129da66f4e1cf43ce4d8434545b636bd9790dc1957d
MD5 a6e94beed062873aeee11bbf5c949741
BLAKE2b-256 800cb4876917ee149bcb55467f1691fcb4f000895a06c0b2b27c4f43c71c0053

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp311-cp311-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 17609fbdb795ceec489bf06e74c4b2a7480045fa5da07d1027d427fa54a999e3
MD5 6de8a50ed49f7c1f7446446054b01ef9
BLAKE2b-256 4eedf797d643ba3fe4eef34e54e91e220d4dd66e8129f29253c938c6cf0b469b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6495fe09ff41f12a5e4e0508567ee6c45534559505ee0f48f9ac6ad5686c3df0
MD5 954d45c22fffdb5d3c8bd9efbf995bfc
BLAKE2b-256 c238c056ba512443b784e6e4f95539a06b71164e1390d87dde3f861cd63c32ae

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.2.0-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 241.1 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.2.0-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3308dd709ddeca67f8dd43c6567c67c65b7852e5ecf9a20c170142caeb202565
MD5 7b80e36f37f4a1924e47167ef3947410
BLAKE2b-256 5ba713246f7d0a9e83ae9d5c9d40c1ea93797770310df17c0f7d8e80054f3b88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mssm-0.2.0-cp310-cp310-win32.whl
  • Upload date:
  • Size: 228.7 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.2.0-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 bb4a8a4c4f952167e04206ba6bcce19470dca1123dc095a27fed751bbdda20b5
MD5 54bdcca7b1cba0c66ec11ae0255712fb
BLAKE2b-256 c24fc94ad3916fd3255e5fc94ee5695d7b2f1b57f657f197d843e8322755e506

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp310-cp310-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 f92893159380d1ecf4f58d2dedf491ea35f1ba559ff6bdf0d2a121882fdc8f30
MD5 16bcae8fbeae67e1fd6abe868e754878
BLAKE2b-256 9710482e5b98b3a5f0e812eddcc2f21ad5a63a02f085c362644183b2d50a6451

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp310-cp310-musllinux_1_2_i686.whl
Algorithm Hash digest
SHA256 3e216dc549b6084d16bf1acf0be3dba9d6664cd43074f555bcb344cae64fee98
MD5 ae6117496af68e9637b0c460f29b2e46
BLAKE2b-256 4897d6f904afbcbc60864528562b825fe7142546ced6354e746cb96a53bbd1a8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c91e8b4d4cd7926586e0f84d42137e6fd0ed32d299f526dab42f911d58571d1
MD5 09d704b3f81a0eb8ea02098946258bb7
BLAKE2b-256 3823a95e181981844b67d45a7f31689b2fa5add287958090d581cc2926b4f69a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm Hash digest
SHA256 a1868c1f410275c55b048e87eae12370d4a308b4113fe3f79eaa6d52bebff5b7
MD5 a1d40ddd035a32d7183ec2e048a5e266
BLAKE2b-256 f05fb40460102e6b02778b1b24752dfd0a6fb40cb198c6a5d2a1155794c0ff13

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mssm-0.2.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 828a74825e458e4a096ac7ff9f300680356388252961a68e24e84d365884de09
MD5 b6b6116f2340f22ac8fbe20a0ccb35a8
BLAKE2b-256 c3c4eb16956baf13ca049f2b747de450509134e1d7e378dbfd0b88651c3486fe

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