Learn R Programming

Rtwalk (version 2.0.0)

kernel_walk: Generate a proposal for the Walk kernel

Description

Generate a proposal for the Walk kernel

Usage

kernel_walk(n_dim, p_phi, aw, x, xp)

Value

A list with the `proposal` and `n_phi`.

Arguments

n_dim

Dimension of the parameter space.

p_phi

Probability of updating each coordinate.

aw

Scale parameter `a_w` (default 1.5).

x

Current point `x`.

xp

Current point `x'`.