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
For the Newton solver the three control arguments are scaling step, function tolerance, and maximum number of steps. For the Powell's hybrid method the three control arguments are relative tolerance, function tolerance, and maximum number of steps. If a Newton step is smaller than the scaling step tolerance, the code breaks, assuming the solver is no longer making significant progress. If set to 0, this constraint is ignored. For Powell's hybrid method the relative tolerance is the estimated relative error of the solver and serves to test if a satisfactory solution has been found. After convergence of the either solver, the proposed solution
153
+
is plugged into the algebraic system and its norm is compared to the function tolerance. If the norm is below the function tolerance, the solution is deemed acceptable. If the solver solver reaches the maximum number of steps, it stops and returns an error message. If one of the criteria is not met, the
154
+
Metropolis proposal gets rejected with a warning message explaining which criterion
155
+
was not satisfied.
156
+
157
+
158
+
The default values for the control arguments are respectively
@@ -172,12 +174,12 @@ Smaller relative tolerances produce more accurate solutions but require more com
172
174
#### Sensitivity analysis {-}
173
175
174
176
The tolerances should be set low enough that setting them lower does not change the
175
-
statistical properties of posterior samples generated by the Stan program.
177
+
statistical properties of posterior samples generated by the Stan program. The sensitivity can be analysed using importance sampling without need to re-run MCMC with different tolerances as shown by @Timonen+etal:2023:ODE-PSIS.
176
178
177
179
### Maximum number of steps {-}
178
180
179
181
The maximum number of steps can be used to stop a runaway simulation. This can arise in
180
182
MCMC when a bad jump is taken, particularly during warmup. If the limit is hit, the
181
-
current metropolis proposal gets rejected. Users will see a warning message stating the
183
+
current Metropolis proposal gets rejected. Users will see a warning message stating the
0 commit comments