{
  "_id": "6a479ddfe06c18f0a651880f",
  "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-07-03 11:25:44 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",
  "_user": "agardini",
  "_type": "src",
  "_file": "BayesLN_0.2.12.tar.gz",
  "_fileid": "https://r2.ropensci.org/08b24de21c346cf34c726bf767f11fb1b1ba95b39897d23d01b92016afe9e142",
  "_filesize": 388341,
  "_sha256": "08b24de21c346cf34c726bf767f11fb1b1ba95b39897d23d01b92016afe9e142",
  "_expires": "2026-10-11T11:32:46.000Z",
  "_created": "2026-07-03T11:25:44.000Z",
  "_published": "2026-07-03T11:32:47.293Z",
  "_jobs": [
    {
      "job": 84990063087,
      "time": 158,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8065314389"
    },
    {
      "job": 84990063118,
      "time": 164,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8065315719"
    },
    {
      "job": 84990063100,
      "time": 155,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065313624"
    },
    {
      "job": 84990063096,
      "time": 167,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065315954"
    },
    {
      "job": 84990063094,
      "time": 183,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8065357600"
    },
    {
      "job": 84990063070,
      "time": 343,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8065373118"
    },
    {
      "job": 84990063063,
      "time": 183,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065346805"
    },
    {
      "job": 84990063075,
      "time": 292,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065365716"
    },
    {
      "job": 84989515463,
      "time": 209,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065262261"
    },
    {
      "job": 84990063038,
      "time": 151,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8065311124"
    },
    {
      "job": 84990063108,
      "time": 131,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8065305410"
    },
    {
      "job": 84990063060,
      "time": 133,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8065305467"
    },
    {
      "job": 84990063055,
      "time": 170,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8065319196"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597",
  "_status": "success",
  "_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"
  },
  "_distro": "resolute",
  "_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",
    "followers": 2
  },
  "_downloads": {
    "count": 414,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesLN"
  },
  "_mentions": 1,
  "_searchresults": 19,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_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": "16-20260322-1ubuntu1",
      "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.278753600952829,
  "_indexed": true,
  "_nocasepkg": "bayesln",
  "_universes": [
    "agardini"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-07-03T11:28:19.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/83934090d8559c7ee2c10501312f09b64c2a57d89dc5168fe4da9ff946e49225",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-07-03T11:28:11.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/9211948cc35d142c4523846f6a761f6cc57a76c97034bf2569f701197b1ca9f3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-07-03T11:28:15.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/a7dfbd7eafb41b68ee665857115fbfcbb4b8470a5e2bde442179dffd5c4c3696",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-07-03T11:28:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/f1f526eb99c82408d68126253aa684831a1a0b37cc0de416bfeee799fa0c1cf1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-07-03T11:30:42.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/da8f49fddb2fecbd596af764f6ec7acb17eeed1a786149e5986c85434b53bbc1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-07-03T11:30:44.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/dcd11601bcc60a8b69f01d8193626d84ef11de5bc724d22ab3df7fc55d704eaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-07-03T11:29:55.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/17627535161f96a99e7500d97fae7aedab6b635bc665020bfae896d896f054b5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-07-03T11:30:27.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/2ec9c6eafa197abf761b090045a6a7d375914c5905da679786e4ff5bf7d04e28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.12",
      "date": "2026-07-03T11:28:34.000Z",
      "arch": "emscripten",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/1218dd9b288179ff543cd3b381d3445413df97490f0731af6af5a6631ae391a2",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-07-03T11:27:12.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/41d1349d74693dbad4d6ecd2dc7d9aaedd0c7c58fe18584139c457d897394fc9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-07-03T11:27:10.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/4bd8cf2defe36a9c5b7cbf1a7e4a680d095c5509e3b964437206d051e1a03ecb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-07-03T11:27:32.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/2345b8aae88e3c65ef367509612c1d06318d4c515d24fb631da3c7065d5c4d33",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/28657323597"
    }
  ]
}