Learn R Programming

Boom (version 0.9.15)

lognormal.prior: Lognormal Prior Distribution

Description

Specifies a lognormal prior distribution.

Usage

LognormalPrior(mu = 0.0, sigma = 1.0, initial.value = NULL)

Arguments

mu

mean of the corresponding normal distribution.

sigma

standard deviation of the corresponding normal distribution. WARNING: If something looks strange in your program, look out for SD != Variance errors.

initial.value

Initial value of the variable to be modeled (e.g. in an MCMC algorithm). If NULL then the prior mean will be used.

Author

Steven L. Scott steve.the.bayesian@gmail.com

Details

A lognormal distribution, where log(y) ~ N(mu, sigma). The mean of this distribution is exp(mu + 0.5 * sigma^2), so don't only focus on the mean parameter here.

References

Gelman, Carlin, Stern, Rubin (2003), "Bayesian Data Analysis", Chapman and Hall.

https://en.wikipedia.org/wiki/Log-normal_distribution