Set values for the convergence checks of the fitting process.

set_convergence_checks(max_Rhat = 1.05, min_ESS = 500)

set_control(adapt_delta = 0.8, max_treedepth = 15, bridge_max_iter = 1000)

Arguments

max_Rhat

maximum value of the R-hat diagnostic. Defaults to 1.05.

min_ESS

minimum estimated sample size. Defaults to 500.

adapt_delta

tuning parameter of HMC. Defaults to 0.80.

max_treedepth

tuning parameter of HMC. Defaults to 15.

bridge_max_iter

maximum number of iterations for the bridge_sampler function. Defaults to 10000

Value

set_control returns a list of control settings and set_convergence_checks returns a list of convergence checks settings.