pymc-examples icon indicating copy to clipboard operation
pymc-examples copied to clipboard

Examples of PyMC models, including a library of Jupyter notebooks.

Results 175 pymc-examples issues
Sort by recently updated
recently updated
newest added

# Penalized Complexity Priors: Recipes for PyMC ## Why should this notebook be added to pymc-examples? The penalized complexity framework creates nice, informative "default" priors for common modeling situations. They're...

proposal

I propose moving the Bayesian mediation analysis and Bayesian moderation analysis notebooks from the Case Studies section to the Causal Inference section of the docs. Both notebooks would be heavily...

proposal

**Notebook title**: GLM-ordinal-regression **Notebook url**: https://github.com/pymc-devs/pymc-examples/blob/main/examples/generalized_linear_models/GLM-ordinal-regression.ipynb ## Issue description Unable to run the cell 11 in the notebook. Gettting a jax error ``` /home/vlad/py310/lib/python3.10/site-packages/pymc/sampling/mcmc.py:243: UserWarning: Use of external NUTS sampler...

good first issue

The gallery is great, but there is definitely room for improvement. This is particularly noticeable since the core notebooks were added to the top of the page. The thumbnails are...

**[Forecasting with Structural AR Timeseries](https://www.pymc.io/projects/examples/en/latest/time_series/Forecasting_with_structural_timeseries.html)** ## Issue description Executing step by step each cell I got: `too many indices for array` at line: ``` IndexError Traceback (most recent call last)...

`DensityDist` is now just a backwards-compatible alias and is not even in the documentation (although maybe it should?)

docs

The latest release of PyMC allows for `Model(mutable_coords=...)` which makes Out of sample prediction with "coordinated" variables more straightforward. We should update any relevant examples. This is a bit of...

proposal

**Notebook title**: Splines **Notebook url**: https://www.pymc.io/projects/examples/en/latest/case_studies/spline.html ## Issue description Code: ``` COORDS = {"splines": np.arange(B.shape[1])} with pm.Model(coords=COORDS) as spline_model: a = pm.Normal("a", 100, 5) w = pm.Normal("w", mu=0, sigma=3, size=B.shape[1],...

**Notebook title**: [GLM: Poisson Regression](https://www.pymc.io/projects/examples/en/latest/generalized_linear_models/GLM-poisson-regression.html) **Notebook url**: https://www.pymc.io/projects/examples/en/latest/generalized_linear_models/GLM-poisson-regression.html ## Issue description ``` # code, cell 18 inf_fish_alt = model.fit() ``` short Error: ```bash TypeError: You are calling an Aesara function...

+ [x] Notebook follows style guide https://docs.pymc.io/en/latest/contributing/jupyter_style.html + [x] PR description contains a link to the relevant issue: taking a stab at #407 + [x] Check the notebook is not...