Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into mhauru/0.36-gibbs
Browse files Browse the repository at this point in the history
  • Loading branch information
mhauru committed Jan 16, 2025
2 parents 5c7974b + 2190475 commit 40ed08a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tutorials/docs-12-using-turing-guide/index.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ end
# Construct a model with x = missing
model = gdemo(missing)
c = sample(model, HMC(0.01, 5), 500)
c = sample(model, HMC(0.05, 20), 500)
```

Note the need to initialize `x` when missing since we are iterating over its elements later in the model. The generated values for `x` can be extracted from the `Chains` object using `c[:x]`.
Expand Down

0 comments on commit 40ed08a

Please sign in to comment.