BayesLN: Bayesian Inference for Log-Normal Data

Bayesian inference under log-normality assumption must be performed very carefully. In fact, under the common priors for the variance, useful quantities in the original data scale (like mean and quantiles) do not have posterior moments that are finite (Fabrizi et al. 2012 <doi:10.1214/12-BA733>). This package allows to easily carry out a proper Bayesian inferential procedure by fixing a suitable distribution (the generalized inverse Gaussian) as prior for the variance. Functions to estimate several kind of means (unconditional, conditional and conditional under a mixed model) and quantiles (unconditional and conditional) are provided.

Version: 0.2.10
Depends: R (≥ 3.5.0)
Imports: optimx, GeneralizedHyperbolic, gsl, coda, Rcpp (≥ 0.12.17), MASS, lme4, data.table, Matrix, methods
LinkingTo: Rcpp, RcppEigen
Suggests: knitr, rmarkdown
Published: 2023-12-04
DOI: 10.32614/CRAN.package.BayesLN
Author: Aldo Gardini ORCID iD [aut, cre], Enrico Fabrizi ORCID iD [aut], Carlo Trivisano ORCID iD [aut]
Maintainer: Aldo Gardini <aldo.gardini2 at>
License: GPL-3
NeedsCompilation: yes
In views: Bayesian
CRAN checks: BayesLN results


Reference manual: BayesLN.pdf
Vignettes: Bayesian Inference with Log-normal Data


Package source: BayesLN_0.2.10.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): BayesLN_0.2.10.tgz, r-oldrel (arm64): BayesLN_0.2.10.tgz, r-release (x86_64): BayesLN_0.2.10.tgz, r-oldrel (x86_64): BayesLN_0.2.10.tgz
Old sources: BayesLN archive


Please use the canonical form to link to this page.