arviz-devs / arviz

Exploratory analysis of Bayesian models with Python
https://python.arviz.org
Apache License 2.0
1.6k stars 396 forks source link

`prior_predictive` for NumPyro models #2358

Closed damonbayer closed 2 months ago

damonbayer commented 2 months ago

I see that arviz.from_cmdstan has arguments for both posterior_predictive and prior_predictive, but arviz.from_numpyro only has an argument form posterior_predictive. Is there any reason that it does not have a prior_predictive argument? If not, could it be added?

damonbayer commented 2 months ago

Sorry, I now see that supplying prior automatically creates the prior_predictive component in the corresponding InferenceData object.