This is an old version, view current version.

14.5 _log density and mass functions

Removed: Formerly, the probability function for the distribution foo would be applied to an outcome variable y and sequence of zero or more parameters ... to produce the expression foo_log(y, ...). This suffix is no longer a special value.

Replacement: If y can be a real value (including vectors or matrices), replace

foo_log(y, ...)

with the log probability density function notation

foo_lpdf(y | ...).

If y must be an integer (including arrays), instead replace

foo_log(y, ...

with the log probability mass function

foo_lpmf(y | ...).

Removed In: Stan 2.33