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,
const T_w &  w,
const T_sv &  sv,
T_err  log_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 reaction time
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
yThe reaction time in seconds
aThe boundary separation
vThe drift rate
wThe relative starting point
svThe inter-trial variability of the drift rate
log_errThe log error tolerance in the computation of the number of terms for the infinite sums
Returns
density

Definition at line 300 of file wiener5_lpdf.hpp.