{
  "_id": "6afd7539117874b00e23d244",
  "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-11-18 09:18:38 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/253448d141660ec2d2237c098f43e4f20ed4d8b2ec4b4e7fabeb3b269ef76b39",
  "_filesize": 383972,
  "_sha256": "253448d141660ec2d2237c098f43e4f20ed4d8b2ec4b4e7fabeb3b269ef76b39",
  "_expires": "2027-02-26T09:51:51.000Z",
  "_created": "2026-11-18T09:18:38.000Z",
  "_published": "2026-11-20T00:52:55.279Z",
  "_upstream": "https://github.com/cran/BayesLN",
  "_status": "success",
  "_maintainer": {
    "name": "Aldo Gardini",
    "email": "aldo.gardini2@unibo.it",
    "login": "agardini",
    "description": "",
    "uuid": 79454246,
    "orcid": "0000-0002-2164-5815"
  },
  "_jobs": [
    {
      "job": 134700131096,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14413079391"
    },
    {
      "job": 134700131076,
      "time": 171,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14412819767"
    },
    {
      "job": 134700131174,
      "time": 117,
      "config": "linux-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14413772934"
    },
    {
      "job": 134700131045,
      "time": 152,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14413408715"
    },
    {
      "job": 134700131088,
      "time": 131,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14415688461"
    },
    {
      "job": 134700131091,
      "time": 384,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14415436749"
    },
    {
      "job": 134700131159,
      "time": 234,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14415355041"
    },
    {
      "job": 134700131068,
      "time": 248,
      "config": "macos-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14416356813"
    },
    {
      "job": 134698118024,
      "time": 228,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14414191726"
    },
    {
      "job": 134700131039,
      "time": 107,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14414161831"
    },
    {
      "job": 134700131196,
      "time": 382,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14414941498"
    },
    {
      "job": 134700131263,
      "time": 152,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14414476973"
    },
    {
      "job": 134700131163,
      "time": 104,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14413088886"
    },
    {
      "job": 134700131311,
      "time": 349,
      "config": "windows-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14413853074"
    },
    {
      "job": 134700131292,
      "time": 129,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14414052868"
    }
  ],
  "_buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102",
  "_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
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "agardini",
      "count": 8,
      "uuid": 79454246
    }
  ],
  "_userbio": {
    "uuid": 79454246,
    "type": "user",
    "name": "agardini",
    "followers": 2
  },
  "_downloads": {
    "count": 610,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesLN"
  },
  "_mentions": 1,
  "_topics": [
    "cpp"
  ],
  "_abi": {
    "exports": [
      {
        "key": "BayesLN/include",
        "hash": "72690f8d39a4a7f1"
      },
      {
        "key": "BayesLN::_BayesLN_MCMC_alg()",
        "hash": "7395d75849068008"
      },
      {
        "key": "BayesLN::_BayesLN_RcppExport_validate()",
        "hash": "fc98bccb20b2fc60"
      },
      {
        "key": "BayesLN::_BayesLN_post_pred()",
        "hash": "eebf1331c72b420f"
      },
      {
        "key": "BayesLN::_BayesLN_rmn_mu_S2()",
        "hash": "046200fd2348e040"
      }
    ],
    "imports": [
      {
        "key": "Rcpp::Rcpp_precious_preserve()",
        "hash": "33a97ea62b293da6"
      },
      {
        "key": "Rcpp::Rcpp_precious_remove()",
        "hash": "63d26947ba7e1377"
      },
      {
        "key": "Rcpp::dataptr()",
        "hash": "54e69ad2e6668c83"
      },
      {
        "key": "Rcpp::demangle()",
        "hash": "b0cfd6754c5ebc4e"
      },
      {
        "key": "Rcpp::enterRNGScope()",
        "hash": "a04a299137cef947"
      },
      {
        "key": "Rcpp::exitRNGScope()",
        "hash": "a04a299137cef947"
      }
    ]
  },
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/BayesLN.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/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"
  ],
  "_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,
  "_indexed": true,
  "_nocasepkg": "bayesln",
  "_universes": [
    "agardini"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-11-18T09:20:43.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/be1dc493c3ee98d7fc6997f25762a88b043ed79fe7af93ff26b8fae00102ea1e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-11-18T09:21:20.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/99f98c16ab2e71412f096d178bf88401151ce806471542e31704ae1970090f58",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-11-18T09:20:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/5a9bc710383a37a9ff25de31f3b5c7a02ea21b3eb4597a12b8f5a96a422276f7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-11-18T09:20:56.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/27826f2c574324a75f0a2558bc46d156e5e9d14b6d888bbf36ec195276b0705c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-11-18T09:48:22.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/5089915363b084e536d7bff82d5354e145760a4d21c0556207f17cd3c16e0023",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-11-18T09:32:54.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/1037fc104969b93a16f7d9fe7fc9cc1eb2db7fa14db54fa2fa0bd8272e82761e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-11-18T09:23:44.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/833856d77d939028531f07b433f2f2c20c056a7c13c7d4a51a7bd5d2ac553941",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-11-18T09:50:18.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/b128dfca41972125c8dc49de91d8bcadda6444728693260a5482365f9dd2db40",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.12",
      "date": "2026-11-18T09:20:51.000Z",
      "arch": "emscripten",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/eba4714a2e94b2744dad9e85df949076b4863e919a4aa0d0ca1b900adc838888",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-11-18T09:24:13.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/eb1080450aab409e9f10e618ed531f11f70c965e376f4a97a0d8e7b67d219e74",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-11-18T09:19:59.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/9573525e268b84fbcff485fdaea840d65ee0c3969693d013b64cc1ed17fa8e11",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-11-18T09:20:02.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/67dd84a8a87b4a5cf4555112185773b5e27a9a1f57163d12aefe5a5b441a4c19",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-11-18T09:23:39.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/209cfbb784d07cb1c86f3f8a6d7a311e3873bcaa0183006397f4f9d227505032",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-11-18T09:20:08.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/90c57738800ed834e2fd5e342a69e44984b0e458594548faf34da051b056649e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/44274167102"
    }
  ]
}