Skip to content

Commit

Permalink
Update rstanarm.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
jgabry committed Mar 28, 2024
1 parent f5d8298 commit c720a43
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions vignettes/rstanarm.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,11 @@ of 1000 iterations that is discarded). All chains must converge to the target
distribution for inferences to be valid. For most models, the default settings
are sufficient, but if you see a warning message about Markov chains not
converging, the first thing to try is increasing the number of iterations. This
can be done by specifying the `iter` argument (e.g. `iter = 3000`). However, if all parameters have proper priors (no priors were set to `NULL`), and you used the default values
for iterations (2000) and chains (4), and Rhats (explained below) are greater than 2, then increasing the number of iterations alone is unlikely to solve to the problem.
can be done by specifying the `iter` argument. However, if all parameters have
proper priors (no priors were set to `NULL`), and you used the default values
for iterations (2000) and chains (4), and Rhats (explained below) are greater
than 2, then increasing the number of iterations alone is unlikely to solve to
the problem.

One way to monitor whether a chain has converged to the equilibrium distribution
is to compare its behavior to other randomly initialized chains. This is the
Expand Down

0 comments on commit c720a43

Please sign in to comment.