Package: BayesLN
Title: Bayesian Inference for Log-Normal Data
Version: 0.2.12
Authors@R: c(person("Aldo", "Gardini", email = "aldo.gardini2@unibo.it", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-2164-5815")), 
            person("Enrico", "Fabrizi", role = c("aut"), comment = c(ORCID = "0000-0003-2504-7043")), 
            person("Carlo", "Trivisano", role = c("aut"), comment = c(ORCID = "0000-0002-5991-4902")))
Description: 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. 
Depends: R (>= 3.5.0)
Imports: optimx, GeneralizedHyperbolic, gsl, coda, Rcpp (>= 0.12.17),
        MASS, lme4, data.table, Matrix, methods
License: GPL-3
Encoding: UTF-8
LazyData: true
RoxygenNote: 7.3.2
Suggests: knitr, rmarkdown
VignetteBuilder: knitr
LinkingTo: Rcpp, RcppEigen
Date: 2025-07-31
NeedsCompilation: yes
Packaged: 2025-07-31 12:28:03 UTC; aldo.gardini2
Author: Aldo Gardini [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-2164-5815>),
  Enrico Fabrizi [aut] (ORCID: <https://orcid.org/0000-0003-2504-7043>),
  Carlo Trivisano [aut] (ORCID: <https://orcid.org/0000-0002-5991-4902>)
Maintainer: Aldo Gardini <aldo.gardini2@unibo.it>
Repository: CRAN
Date/Publication: 2025-07-31 12:40:02 UTC
Built: R 4.6.0; x86_64-apple-darwin20; 2026-04-27 23:11:55 UTC; unix
Archs: BayesLN.so.dSYM
