How to perform weighted inference

Just FYI, potential does not take observed values as input, but it can account for the observed value by adding the logp of the observation directly to the model log likelihood.

2 Likes