Description
Implements Move 3.b of the Metropolis-Hastings MCMC sampler.
Usage
localProposal(cutPoints, nTime, mhPropRange, startPoint)
Value
- newState
Candidate state of the chain.
- propRatio
Proposal ratio.
Arguments
- cutPoints
Current configuration of change-points.
- nTime
Total number of time-points.
- mhPropRange
Parameter \(d_2\).
- startPoint
Integer, at least equal to 2.
Author
Panagiotis Papastamoulis