Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y, T_alpha, T_tau, T_beta, T_delta > stan::math::wiener_log | ( | const T_y & | y, |
const T_alpha & | alpha, | ||
const T_tau & | tau, | ||
const T_beta & | beta, | ||
const T_delta & | delta | ||
) |
The log of the first passage time density function for a (Wiener) drift diffusion model for the given \(y\), boundary separation \(\alpha\), nondecision time \(\tau\), relative bias \(\beta\), and drift rate \(\delta\).
\(\alpha\) and \(\tau\) must be greater than 0, and \(\beta\) must be between 0 and 1. \(y\) should contain reaction times in seconds (strictly positive) with upper-boundary responses.
wiener_lpdf
y | A scalar variate. |
alpha | The boundary separation. |
tau | The nondecision time. |
beta | The relative bias. |
delta | The drift rate. |
Definition at line 32 of file wiener_log.hpp.