Stepout: Stepout

View source: R/Stepout.R

StepoutR Documentation

Stepout

Description

Slice sampler: stepping out procedure Neal(2003) fig.3

Usage

Stepout(foo, x0, y, w, m, Rmx = w * m)

Arguments

foo

function (required) function proportional to the density

x0

numeric (required) the current point

y

numeric (required) the vertical level defining the slice

w

numeric (required) estimate of the typical size of a slice

m

numeric (required) integer limiting the size of a slice to mw

Rmx

numeric (with default) bound value to limit edge effects (added)

Value

a list value

Element Type Description

$L numeric left boundary of the interval

$R numeric right boundary of the interval

$J numeric J index

$K numeric K index


Zink-Antoine/Slice_sampler documentation built on Feb. 27, 2025, 9:23 p.m.