localProposal: Move 3.b

Description Usage Arguments Value Author(s)

View source: R/fullMCMC_complexityPrior.R

Description

Implements Move 3.b of the Metropolis-Hastings MCMC sampler.

Usage

1
localProposal(cutPoints, nTime, mhPropRange, startPoint)

Arguments

cutPoints

Current configuration of change-points.

nTime

Total number of time-points.

mhPropRange

Parameter d_2.

startPoint

Integer, at least equal to 2.

Value

newState

Candidate state of the chain.

propRatio

Proposal ratio.

Author(s)

Panagiotis Papastamoulis


beast documentation built on May 2, 2019, 1:19 p.m.