13.5 _log Density and Mass Functions

Deprecated: The probability function for the distribution foo will be applied to an outcome variable y and sequence of zero or more parameters ... to produce the expression foo_log(y, ...).

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 | ...).