proposal: Sampling from lognormal proposal density

Description Usage Arguments Examples

Description

Drawing one sample from the lognormal distribution with mean parOld and standard deviation propSd. Used in Metropolis Hastings algorithms.

Usage

1
proposal(parOld, propSd)

Arguments

parOld

the parameter from the last iteration step

propSd

proposal standard deviation

Examples

1
plot(replicate(100, proposal(1, 0.1)), type = "l")

BaPreStoPro documentation built on May 2, 2019, 3:34 p.m.