pymc-devs / pymc

Bayesian Modeling and Probabilistic Programming in Python
https://docs.pymc.io/
Other
8.49k stars 1.97k forks source link

Improve example on expanded sample_posterior_predictive #7222

Closed ricardoV94 closed 3 months ago

ricardoV94 commented 3 months ago

Description

Sample posterior_predictive relies on other groups to infer volatility, so it's important to keep the whole InferenceData.

Also there's a shape error if sample_dims is not specified

Checklist

Type of change


📚 Documentation preview 📚: https://pymc--7222.org.readthedocs.build/en/7222/