StatSim — probabilistic programming and statistical computing
Project description
statsim
StatSim — probabilistic programming and statistical computing for Python.
Install
# Basic installation
pip install statsim
# With PyMC backend
pip install statsim[pymc]
# With Stan backend
pip install statsim[stan]
# With all backends
pip install statsim[all]
Usage
from statsim import compile, run
# Compile .sm model
model = compile('''
mu ~ Normal(0, 10)
sigma ~ HalfNormal(5)
y ~ Normal(mu, sigma)
''', target='pymc')
# Run inference
result = run(model, backend='pymc')
Backends
- PyMC: Full Bayesian inference with MCMC and variational methods
- Stan: High-performance HMC/NUTS sampling
Learn more
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
statsim-0.1.0.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file statsim-0.1.0.tar.gz.
File metadata
- Download URL: statsim-0.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2760083c8619c5cb546efd89135255b1fd7bf05ab074c5a18b3a6d67df865829
|
|
| MD5 |
6cdf24be0d25b9d7f99c1707b92093d4
|
|
| BLAKE2b-256 |
4e58df45320c84c68355c432600b4c17464dd626546d58dddc53ad9fa601a595
|
File details
Details for the file statsim-0.1.0-py3-none-any.whl.
File metadata
- Download URL: statsim-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
32ac89daa82ba76fba22774ed58bb0df51203dc048701e2a42fbe6213d9ab260
|
|
| MD5 |
06bd6e4e1dc2002a671e0b53a05786c5
|
|
| BLAKE2b-256 |
f4c2bf0ef782c853101ab3839138d6d4551d876ee13a9ed08dffe4bfd722ea95
|