Pm.sample() - How can the posterior be defined when there is no observed data to calculate the likelihood?

In that case it samples from the prior. The documentation is just explaining the most common use which is to call it on a model with observed nodes (or a Potential that corresponds to the likelihood)

1 Like