This is an old version, view current version.
13.4 _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 | ...).
Scheduled Removal: Stan 2.33