You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rts =rand(Wald(ν =1.5, α =0.8, τ =0.3, η =0.0), n_samples)
24
24
25
25
@modelfunctionwald_model(rts)
26
26
ν ~truncated(Normal(1.5, 1), 0, Inf)
27
27
α ~truncated(Normal(0.8, 1), 0, Inf)
28
28
τ =0.3
29
-
rts ~Wald(ν, α, τ)
30
-
return (; ν, α, τ)
29
+
η =eps()
30
+
rts ~Wald(; ν, η, α, τ)
31
+
return (; ν, η, α, τ)
31
32
end
32
33
33
34
model =wald_model(rts)
@@ -96,7 +97,7 @@ Random.seed!(1124)
96
97
We will use the [Wald](wald.md) model as a simple example to illustrate how to create predictive distributions. The `Wald` model describes the evidence accumulation process underlying single detection decisions, such as respending when a stimulus appears. In the code block below, we will generate 50 data points.
0 commit comments