Skip to content

Commit

Permalink
stan demos
Browse files Browse the repository at this point in the history
  • Loading branch information
Jachym.Barvinek committed Aug 4, 2024
1 parent e500ef5 commit 8225c9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/stan_demos/network.stan
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ parameters {
}
model {
for (i in 1:N) {
r[i] ~ bernoulli(pr);
r[i] ~ bernoulli(pr); // can factor out
s[i] ~ bernoulli(ps[r[i]]);
w[i] ~ bernoulli(pw[r[i], s[i]]);
}
Expand Down

0 comments on commit 8225c9f

Please sign in to comment.