{
  "_id": "6a16a233acfb0bcc41d8176d",
  "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\")), \nperson(\"Enrico\", \"Fabrizi\", role = c(\"aut\"), comment = c(ORCID = \"0000-0003-2504-7043\")),\nperson(\"Carlo\", \"Trivisano\", role = c(\"aut\"), comment = c(ORCID = \"0000-0002-5991-4902\")))",
  "Description": "Bayesian inference under log-normality assumption must be\nperformed very carefully. In fact, under the common priors for\nthe variance, useful quantities in the original data scale\n(like mean and quantiles) do not have posterior moments that\nare finite (Fabrizi et al. 2012 <doi:10.1214/12-BA733>). This\npackage allows to easily carry out a proper Bayesian\ninferential procedure by fixing a suitable distribution (the\ngeneralized inverse Gaussian) as prior for the variance.\nFunctions to estimate several kind of means (unconditional,\nconditional and conditional under a mixed model) and quantiles\n(unconditional and conditional) are provided.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Date": "2025-07-31",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-27 07:44:12 UTC",
    "User": "root"
  },
  "Author": "Aldo Gardini [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2164-5815>), Enrico Fabrizi [aut]\n(ORCID: <https://orcid.org/0000-0003-2504-7043>), Carlo\nTrivisano [aut] (ORCID:\n<https://orcid.org/0000-0002-5991-4902>)",
  "Maintainer": "Aldo Gardini <aldo.gardini2@unibo.it>",
  "Config/pak/sysreqs": "cmake make libgsl0-dev",
  "Repository": "https://agardini.r-universe.dev",
  "Date/Publication": "2025-07-31 12:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/BayesLN",
  "RemoteRef": "HEAD",
  "RemoteSha": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
  "MD5sum": "c42956e182ff1cbd76cdd700354773f3",
  "_user": "agardini",
  "_type": "src",
  "_file": "BayesLN_0.2.12.tar.gz",
  "_fileid": "53f03b63230a2f484059883cd83a4735e39d7873e93fd02d0447ce46296267ca",
  "_filesize": 381099,
  "_sha256": "53f03b63230a2f484059883cd83a4735e39d7873e93fd02d0447ce46296267ca",
  "_created": "2026-05-27T07:44:12.000Z",
  "_published": "2026-05-27T07:50:11.457Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78030912348,
      "time": 153,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234767007"
    },
    {
      "job": 78030912341,
      "time": 153,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234766770"
    },
    {
      "job": 78030912349,
      "time": 177,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234774657"
    },
    {
      "job": 78030912372,
      "time": 168,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234771966"
    },
    {
      "job": 78030912320,
      "time": 97,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234748612"
    },
    {
      "job": 78030912459,
      "time": 296,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234813209"
    },
    {
      "job": 78030912362,
      "time": 105,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234751111"
    },
    {
      "job": 78030912353,
      "time": 222,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234789386"
    },
    {
      "job": 78030305547,
      "time": 235,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234713249"
    },
    {
      "job": 78030912311,
      "time": 130,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234759552"
    },
    {
      "job": 78030912336,
      "time": 156,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7234768742"
    },
    {
      "job": 78030912335,
      "time": 152,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7234767219"
    },
    {
      "job": 78030912316,
      "time": 148,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7234765590"
    }
  ],
  "_buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BayesLN",
  "_commit": {
    "id": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
    "author": "Aldo Gardini <aldo.gardini2@unibo.it>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 0.2.12\n",
    "time": 1753965602
  },
  "_maintainer": {
    "name": "Aldo Gardini",
    "email": "aldo.gardini2@unibo.it",
    "login": "agardini",
    "description": "",
    "uuid": 79454246,
    "orcid": "0000-0002-2164-5815"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "optimx",
      "role": "Imports"
    },
    {
      "package": "GeneralizedHyperbolic",
      "role": "Imports"
    },
    {
      "package": "gsl",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.17",
      "role": "Imports"
    },
    {
      "package": "MASS",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-31",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "0.2.12",
      "date": "2025-07-31"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "agardini",
      "count": 8,
      "uuid": 79454246
    }
  ],
  "_userbio": {
    "uuid": 79454246,
    "type": "user",
    "name": "agardini"
  },
  "_downloads": {
    "count": 334,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesLN"
  },
  "_mentions": 1,
  "_searchresults": 16,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesLN.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "agardini",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2020-02-20"
    },
    {
      "version": "0.2.1",
      "date": "2020-10-28"
    },
    {
      "version": "0.2.2",
      "date": "2021-03-31"
    },
    {
      "version": "0.2.3",
      "date": "2022-04-11"
    },
    {
      "version": "0.2.6",
      "date": "2022-05-02"
    },
    {
      "version": "0.2.8",
      "date": "2022-10-26"
    },
    {
      "version": "0.2.10",
      "date": "2023-12-04"
    },
    {
      "version": "0.2.12",
      "date": "2025-08-01"
    }
  ],
  "_exports": [
    "dlSMNG",
    "dSMNG",
    "GH_MGF",
    "LN_hier_existence",
    "LN_hierarchical",
    "LN_Mean",
    "LN_MeanReg",
    "LN_Quant",
    "LN_QuantReg",
    "meanSMNG",
    "plSMNG",
    "pSMNG",
    "qlSMNG",
    "qSMNG",
    "rlSMNG",
    "rSMNG",
    "SMNG_MGF",
    "SMNGmoment"
  ],
  "_datasets": [
    {
      "name": "EPA09",
      "title": "Chrysene concentration data",
      "object": "EPA09",
      "class": [
        "numeric"
      ],
      "fields": [],
      "table": false,
      "tojson": true
    },
    {
      "name": "fatigue",
      "title": "Low cycle fatigue data",
      "object": "fatigue",
      "class": [
        "data.frame"
      ],
      "fields": [
        "stress",
        "cycle"
      ],
      "rows": 22,
      "table": true,
      "tojson": true
    },
    {
      "name": "laminators",
      "title": "Laminators",
      "object": "laminators",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Worker",
        "log_Y"
      ],
      "rows": 39,
      "table": true,
      "tojson": true
    },
    {
      "name": "NCBC",
      "title": "Naval Construction Battalion Center data",
      "object": "NCBC",
      "class": [
        "data.frame"
      ],
      "fields": [
        "al",
        "mn"
      ],
      "rows": 17,
      "table": true,
      "tojson": true
    },
    {
      "name": "ReadingTime",
      "title": "Reading Times data",
      "object": "ReadingTime",
      "class": [
        "data.frame"
      ],
      "fields": [
        "subj",
        "item",
        "so",
        "log_rt"
      ],
      "rows": 547,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "EPA09",
      "title": "Chrysene concentration data",
      "topics": [
        "EPA09"
      ]
    },
    {
      "page": "fatigue",
      "title": "Low cycle fatigue data",
      "topics": [
        "fatigue"
      ]
    },
    {
      "page": "GH_MGF",
      "title": "GH Moment Generating Function",
      "topics": [
        "GH_MGF"
      ]
    },
    {
      "page": "laminators",
      "title": "Laminators",
      "topics": [
        "laminators"
      ]
    },
    {
      "page": "LN_hier_existence",
      "title": "Numerical evaluation of the log-normal conditioned means posterior moments",
      "topics": [
        "LN_hier_existence"
      ]
    },
    {
      "page": "LN_hierarchical",
      "title": "Bayesian estimation of a log - normal hierarchical model",
      "topics": [
        "LN_hierarchical"
      ]
    },
    {
      "page": "LN_Mean",
      "title": "Bayesian Estimate of the Log-normal Mean",
      "topics": [
        "LN_Mean"
      ]
    },
    {
      "page": "LN_MeanReg",
      "title": "Bayesian Estimate of the conditional Log-normal Mean",
      "topics": [
        "LN_MeanReg"
      ]
    },
    {
      "page": "LN_Quant",
      "title": "Bayesian estimate of the log-normal quantiles",
      "topics": [
        "LN_Quant"
      ]
    },
    {
      "page": "LN_QuantReg",
      "title": "Bayesian estimate of the log-normal conditioned quantiles",
      "topics": [
        "LN_QuantReg"
      ]
    },
    {
      "page": "NCBC",
      "title": "Naval Construction Battalion Center data",
      "topics": [
        "NCBC"
      ]
    },
    {
      "page": "ReadingTime",
      "title": "Reading Times data",
      "topics": [
        "ReadingTime"
      ]
    },
    {
      "page": "SMNGdistribution",
      "title": "SMNG and logSMNG Distributions",
      "topics": [
        "dlSMNG",
        "dSMNG",
        "plSMNG",
        "pSMNG",
        "qlSMNG",
        "qSMNG",
        "rlSMNG",
        "rSMNG",
        "SMNGdistribution"
      ]
    },
    {
      "page": "SMNGmoments",
      "title": "SMNG Moments and Moment Generating Function",
      "topics": [
        "meanSMNG",
        "SMNGmoment",
        "SMNGmoments",
        "SMNG_MGF"
      ]
    }
  ],
  "_rundeps": [
    "boot",
    "coda",
    "data.table",
    "DistributionUtils",
    "GeneralizedHyperbolic",
    "gsl",
    "lattice",
    "lme4",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "numDeriv",
    "optimx",
    "pracma",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "BayesLogNormal.Rmd",
      "filename": "BayesLogNormal.html",
      "title": "Bayesian Inference with Log-normal Data",
      "author": "Aldo Gardini, Carlo Trivisano and Enrico Fabrizi",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Some theoretical results",
        "Model with only fixed effects",
        "Conditional means estimation under linear mixed models",
        "Real data applications",
        "Unconditional estimation",
        "Log-normal regression",
        "Random coefficient model",
        "References"
      ],
      "created": "2020-02-20 13:10:02",
      "modified": "2021-03-31 09:00:10",
      "commits": 3
    }
  ],
  "_score": 2.204119982655925,
  "_indexed": true,
  "_nocasepkg": "bayesln",
  "_universes": [
    "agardini"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:47.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "85d769b22a4e9c5f6b2b859cb784a19c691c9dd2b34a639f4d7c9b8d2e3d1e13",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "629ddd9dcc249aebef6a9a8c824f6f2e1c34d98f3fe06276c6629983625382f2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-05-27T07:47:07.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "5b183ee862cbefaa8dacff3e51f555e0a3fbef4095c282f9c20fc82b685ea847",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "66f2b402dcd00a242786e26ed55dbe1e7d3e24b850753db680022feabf0f35ad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:04.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "1231003519439ea34505b66869f86b4e31ccd550cee612578e7354e53d5ce65a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-05-27T07:48:03.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "f5b703f318417262d1f2219bef7a4112ffc41821d8aeb3adec51c781b6a838a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:06.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "bddfecc2783744619c929c9effe56190696101c89682079351702333a8b41bfb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-05-27T07:47:30.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "10b2c4f9c810a7de0d02e6ac62c47908dd121e2baf36eb59b0f21a2122c828c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:53.000Z",
      "arch": "emscripten",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "879ed9146b083584fbbc8d0463c53d784d03195f9f8431dd4037a9e85abd45bd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:12.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "63f6b9c6c6763b4dde94d309cd9025b00936cf4f91c12860acdc2ed7e85a6eba",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:10.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "d00106baa8825ff302d5130dc2a04a32dfd193c89675bf9ec485f273c2e15bcd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-05-27T07:46:06.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "c564c83432eabb9de6a6a11ee9d043146c2b6a425918341a199a08f340abd13f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/26497810703"
    }
  ]
}