proposalRatio {BaPreStoPro}R Documentation

Proposal ratio of lognormal proposal density

Description

Calculation of proposal ratio, see also proposal.

Usage

proposalRatio(parOld, parNew, propSd)

Arguments

parOld

the parameter from the last iteration step

parNew

drawn candidate

propSd

proposal standard deviation

Examples

cand <- proposal(1, 0.01)
proposalRatio(1, cand, 0.01)

[Package BaPreStoPro version 0.1 Index]