Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ wiener_lpdf() [3/4]

template<bool propto, typename T_y , typename T_alpha , typename T_tau , typename T_beta , typename T_delta >
return_type_t< T_y, T_alpha, T_tau, T_beta, T_delta > stan::math::wiener_lpdf ( 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.

Template Parameters
T_ytype of scalar
T_alphatype of alpha parameter
T_tautype of tau parameter
T_betatype of beta parameter
T_deltatype of delta parameter
Parameters
yA scalar variate.
alphaThe boundary separation.
tauThe nondecision time.
betaThe relative bias.
deltaThe drift rate.
Returns
The log of the Wiener first passage time density of the specified arguments.

Definition at line 77 of file wiener_lpdf.hpp.