Skip to content

Error using CustomDist with observed values and multiple shapes #6916

Answered by ricardoV94
kbruegge asked this question in Q&A
Discussion options

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

Comment options

You must be logged in to vote
1 reply
@kbruegge
Comment options

Comment options

You must be logged in to vote
3 replies
@ricardoV94
Comment options

@ricardoV94
Comment options

Answer selected by kbruegge
@kbruegge
Comment options

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