19 unsigned int _chain = 1,
20 double _init_radius = 2.0,
21 int _num_warmup = 1000,
22 int _num_samples = 1000,
24 bool _save_warmup =
true,
27 double _stepsize_jitter = 0,
33 unsigned int _init_buffer = 75,
34 unsigned int _term_buffer = 50,
35 unsigned int _window = 25,
37 bool _denseMassMx =
false)
97 return static_cast<int>(
a) < static_cast<int>(b);
102 return a != b && !(
static_cast<int>(
a) < static_cast<int>(b));
double delta
Adaptation target acceptance statistic; 0 < delta < 1.
Cuts and Vars for the 2020 FD DiF Study.
unsigned int chain
Number of Markov chains to run (1 per core)
StanConfig(unsigned int _random_seed=4294967295, unsigned int _chain=1, double _init_radius=2.0, int _num_warmup=1000, int _num_samples=1000, int _num_thin=1, bool _save_warmup=true, int _refresh=100, double _stepsize=1, double _stepsize_jitter=0, int _max_depth=10, double _delta=0.8, double _kappa=0.75, double _gamma=0.05, double _t0=10, unsigned int _init_buffer=75, unsigned int _term_buffer=50, unsigned int _window=25, StanConfig::Verbosity _verbosity=StanConfig::Verbosity::kQuiet, bool _denseMassMx=false)
bool operator>(StanConfig::Verbosity a, StanConfig::Verbosity b)
double stepsize
Integrator step size used in each simulation. Typically this is adaptive and the default value is a f...
Configuration parameters for the Stan MCMC fitter, bundled up together for easy storage and parameter...
Verbosity verbosity
How verbose do you want me to be?
bool save_warmup
Save the warmup steps?
unsigned int term_buffer
Width of final fast adaptation interval.
double init_radius
Size of the range in unconstrained parameter space where the initial point for un-specified parameter...
int refresh
Number of iterations between printout updates. Only relevant when fitting in 'verbose' mode...
bool operator<(StanConfig::Verbosity a, StanConfig::Verbosity b)
Allow for comparing them, since kQuiet is definitely "less" verbose than kVerbose.
int num_warmup
Number of initial steps in the Markov chain (used to enter the typical set). These are usually discar...
bool denseMassMx
Should the mass matrix used in HMC be diagonal (default) or dense?
double stepsize_jitter
Randomly "jitter" the step size by this fraction of the step size. (Sometimes can help if the integra...
int max_depth
Depth of the binary tree used by the HMC when taking its leapfrog steps. Note: the number of leapfrog...
double gamma
Adaptation regularization scale; gamma > 0.
unsigned int init_buffer
Width of initial fast adaptation interval.
int num_thin
Number of Markov chain steps between saved samples when sampling.
double kappa
Adaptation relaxation exponent; kappa > 0.
double t0
Adaptation iteration offset; t0 > 0.
unsigned int random_seed
Random seed used by Stan internally.
int num_samples
Number of steps in the Markov chain retained for analysis (after warmup).