Skip to content

Error using CustomDist with observed values and multiple shapes #6916

Answered by ricardoV94
kbruegge asked this question in Q&A

You must be logged in to vote

To be clear, PyMC relies on random methods (either given by the dist or random kwargs) for prior and posterior predictive sampling. For posterior sampling, which uses MCMC, PyMC needs to know the log density (or log pmf) of the variables (given by the logp kwarg, or sometimes inferred from the dist kwarg).

Replies: 2 comments 4 replies

You must be logged in to vote
1 reply
@kbruegge

You must be logged in to vote
3 replies
@ricardoV94

@ricardoV94

Answer selected by kbruegge
@kbruegge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants