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

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

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

Using a “black box” likelihood function (numpy) [**Notebook url**](https://www.pymc.io/projects/examples/en/latest/case_studies/blackbox_external_likelihood_numpy.html) ## Issue description The updates done as part of #28 changed quite a few of the functions so that the text...

# Proposal In the existing notebook [A Primer on Bayesian Methods for Multilevel Modeling](https://www.pymc.io/projects/examples/en/latest/case_studies/multilevel_modeling.html), add an example at the bottom, in the section about [prediction](https://www.pymc.io/projects/examples/en/latest/case_studies/multilevel_modeling.html#prediction), about making predictions on a...

proposal

**Notebook title**:GLM: Hierarchical Linear Regression **Notebook url**: [source link](https://github.com/pymc-devs/pymc-examples/blob/main/examples/generalized_linear_models/GLM-hierarchical.ipynb), [website link](https://www.pymc.io/projects/examples/en/latest/generalized_linear_models/GLM-hierarchical.html) ## Issue description There are many, many divergences in the sample of the main, hierarchical model. There also appear...

good first issue
high impact

Here is a new notebook using `pm.CAR` distribution. The linked issue is #405. The notebook uses parts of the code from the already existing [CAR notebook example](https://docs.pymc.io/en/v3/pymc-examples/examples/case_studies/conditional-autoregressive-model.html), but is updated...

# HSGP reference and examples Corresponding to issue #646. WIP as there are still some kinks and bugs to work out. Particularly on prediction in example 3. + [ ]...

# Notebook proposal `pm.gp.HSGP` doesn't have a notebook yet, so this is similar in style to the existing GP reference examples. ## Why should this notebook be added to pymc-examples?...

proposal

As discussed with @ricardoV94 I will port the gist https://gist.github.com/ricardoV94/a49b2cc1cf0f32a5f6dc31d6856ccb63#file-pymc_timeseries_ma-ipynb into the PyMC Example Gallery. I will add text and explanation to the existing working code :) ---- 📚 Documentation...

Closes https://github.com/pymc-devs/pymc-examples/issues/626 **Scope:** - A simpler and detailed version of the model presented in https://juanitorduz.github.io/birthdays/ (@juanitorduz ) - The complete model at the end (@bwengals ). Bill, you can use...

# PR adds an example on Bayesian Decision Theory * Closes #624 * **VERY EARLY WIP PR - DO NOT REVIEW OR MERGE AT THIS POINT** + [ ] Notebook...

**Notebook title**: Introduction to Variational Inference with PyMC **Notebook url**: https://www.pymc.io/projects/examples/en/latest/variational_inference/variational_api_quickstart.html ## Issue description ![](https://github.com/pymc-devs/pymc-examples/assets/609240/14aa7a5e-bd43-4dd1-a6fd-1fa882e88c0c) The second chart is the same. ![](https://github.com/pymc-devs/pymc-examples/assets/609240/72783227-48f5-4b49-8f62-2371fcea2a87) All calls yield the same result. ![](https://github.com/pymc-devs/pymc-examples/assets/609240/58c44302-f98f-40f3-a165-af4f13da81d7) The...