Skip to content

Commit d06ef6e

Browse files
authored
Update prior distribution for sigma squared
Changed prior distribution for sigma squared from truncated Normal to truncated Cauchy.
1 parent d6c81d1 commit d06ef6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.qmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ using Turing
116116
# Priors
117117
α ~ Normal(0, 1)
118118
β ~ Normal(0, 1)
119-
σ² ~ truncated(Normal(0, 1), lower=0)
119+
σ² ~ truncated(Cauchy(0, 3); lower=0)
120120
121121
# Likelihood
122122
μ = α .+ β .* x

0 commit comments

Comments
 (0)