proposal {BaPreStoPro} | R Documentation |
Drawing one sample from the lognormal distribution with mean parOld
and standard deviation propSd
. Used in Metropolis Hastings algorithms.
proposal(parOld, propSd)
parOld |
the parameter from the last iteration step |
propSd |
proposal standard deviation |
plot(replicate(100, proposal(1, 0.1)), type = "l")