rise.engine.estimation.rsamplers.slice is the constructor for the slice algorithm following [Planas et al., 2015] and [Planas and Rossi, 2018]

The syntax is

obj = rise.engine.estimation.rsamplers.slice(target,x0,lb,ub)
obj = rise.engine.estimation.rsamplers.slice(target,x0,lb,ub,opts)
obj = rise.engine.estimation.rsamplers.slice(target,x0,lb,ub,opts,constraints)

INPUTS:

  • *target* : objective to MAXIMIZE

  • *x0* : vector of initial conditions

  • *lb* : lower bound

  • *ub* : upper bound

  • *opts* : options for the class. These include the properties from the superclass rise.engine.estimation.rsamplers.rsampler.

  • *constraints* (optional): - Matrix (n_constraints x 2) where each row [a, b] enforces x(a) <= x(b)

OUTPUT:

  • *obj* : object of class rise.engine.estimation.rsamplers.slice (a subclass of rise.engine.estimation.rsamplers.rsampler, like rise.engine.estimation.rsamplers.rwmh, but not an rwmh object)

OWN PROPERTIES AND DEFAULT VALUES: None

INHERITED PROPERTIES AND DEFAULT VALUES (from the base class rise.engine.estimation.rsamplers.rsampler):

  • *nchain* = 1 : number of chains

  • *N* = 5000 : number of draws

  • *thinning* =1 : number of thinning draws

  • *burnin* = 100 : burnin sample

  • *MaxTime* = inf : Max Time

  • *MaxFunEvals* = inf :

See also

rise.engine.estimation.rsamplers.apt, rise.engine.estimation.rsamplers.imh, rise.engine.estimation.rsamplers.rsampler, rise.engine.estimation.rsamplers.rwmh