{
  "_id": "6ad5c39d4a34890ab4938900",
  "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-10-19 06:58:40 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/4c9275802661e43c3e55aac1512a3ccd362ea7c1c5c9e284cebfd32f92b8a381",
  "_filesize": 388906,
  "_sha256": "4c9275802661e43c3e55aac1512a3ccd362ea7c1c5c9e284cebfd32f92b8a381",
  "_expires": "2027-01-27T07:15:40.000Z",
  "_created": "2026-10-19T06:58:40.000Z",
  "_published": "2026-10-19T07:15:41.596Z",
  "_buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117930729357,
      "time": 129,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12167873932"
    },
    {
      "job": 117930729402,
      "time": 148,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12168616981"
    },
    {
      "job": 117930729464,
      "time": 277,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12168746126"
    },
    {
      "job": 117930729444,
      "time": 406,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12167799716"
    },
    {
      "job": 117930729476,
      "time": 223,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12168419380"
    },
    {
      "job": 117930729388,
      "time": 555,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12167954771"
    },
    {
      "job": 117930729509,
      "time": 217,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12169156874"
    },
    {
      "job": 117930729452,
      "time": 619,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12168986222"
    },
    {
      "job": 117928734244,
      "time": 388,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12168048990"
    },
    {
      "job": 117930729400,
      "time": 253,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12168706245"
    },
    {
      "job": 117930729365,
      "time": 351,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12168771928"
    },
    {
      "job": 117930729451,
      "time": 169,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12168044534"
    },
    {
      "job": 117930729427,
      "time": 145,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12168591358"
    },
    {
      "job": 117930729405,
      "time": 351,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12169050047"
    },
    {
      "job": 117930729453,
      "time": 353,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12168358660"
    }
  ],
  "_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": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "agardini",
      "count": 8,
      "uuid": 79454246
    }
  ],
  "_userbio": {
    "uuid": 79454246,
    "type": "user",
    "name": "agardini",
    "followers": 2
  },
  "_downloads": {
    "count": 451,
    "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",
    "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.278753600952829,
  "_indexed": true,
  "_nocasepkg": "bayesln",
  "_universes": [
    "agardini"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-19T07:00:50.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/84c18e1169e8dda4f49b58c02760a66134b9457fb3e15e28cd12ace81841a8d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-19T07:00:49.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/c3cae42052b867666f86504ca70b9099eaef749795f8a27bfecc2fc9e296c276",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-19T07:03:14.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/8fdebacad64750f1ef6c7488aac2fc7d6186b2d63a3253c543a61d7ed4f1f269",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.2.12",
      "date": "2026-10-19T07:05:05.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/22dea5f58382b1aad5da2758cefeea651dfa6530f8a94800d70734c836b35cc5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-10-19T07:08:10.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/2be58e74810b43f638f9edf4cbdf2110dd7d90d429db0d0a8a695bca89bb55b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-10-19T07:08:29.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/c4d2af1798be09c96983c457bd63156a1764bea6999684c2831f8b57498d1a80",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-10-19T07:13:51.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/8a851b7ed18e6789154a71efd05231bd4a67f8940b708b41e6146205608aad6d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.2.12",
      "date": "2026-10-19T07:08:53.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/56c0576b97cde5e05772ce7879e203518049172cd7415457d2ff1659e3923553",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.12",
      "date": "2026-10-19T07:03:16.000Z",
      "arch": "emscripten",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/90cf47798ace0523150e45898b0a7ee62b8937050f1d0c0185f2c7151e4e5980",
      "status": "success",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-19T07:03:34.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/c20cefaca0111458865cdbfe9252478fc579502a8d44dd63dd881f57eb2d8e82",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-19T07:00:10.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/05443d3b06a5c93c8d7b924c8a68534a089a30b22bec97db3a0d9e26e95e29be",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-19T07:00:13.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/169cda47a48ea1e452e7b317fbe8675c4e946a83ad3edd476d17a6aca6a8943f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-19T07:03:49.000Z",
      "arch": "aarch64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/fe7f6e16ad581a09f4ac6eefb513976c8cfdec31a1d87e3d87144b295626438c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.2.12",
      "date": "2026-10-19T07:03:43.000Z",
      "arch": "x86_64",
      "commit": "19a0893361b7383a0d8a6ab39a9d2882da14f857",
      "fileid": "https://r2.ropensci.org/a50ffd57bbf8ba2336b2edc68e8a002e9f085fe7f6428fefdcd1cf54aa30932d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/agardini/actions/runs/39212435916"
    }
  ]
}