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

◆ wiener5_density()

template<bool NaturalScale = false, typename T_y , typename T_a , typename T_w , typename T_v , typename T_sv , typename T_err >
auto stan::math::internal::wiener5_density ( const T_y &  y,
const T_a &  a,
const T_v &  v_value,
const T_w &  w_value,
const T_sv &  sv,
T_err &&  err = log(1e-12) 
)
inlinenoexcept

Calculate the wiener5 density.

Template Parameters
NaturalScaleWhether to return the density on natural (true) or log-scale (false)
T_ytype of scalar variable
T_atype of boundary separation
T_wtype of relative starting point
T_vtype of drift rate
T_svtype of inter-trial variability in v
T_errtype of log error
Parameters
yA scalar variable; the reaction time in seconds
aThe boundary separation
v_valueThe drift rate
w_valueThe relative starting point
svThe inter-trial variability of the drift rate
errThe log error tolerance
Returns
density

Definition at line 289 of file wiener5_lpdf.hpp.