{
  "_id": "6a1e96ba1d7bb097a0a6c8d9",
  "Package": "BayesianMediationA",
  "Type": "Package",
  "Title": "Bayesian Mediation Analysis",
  "Version": "1.0.1",
  "Date": "2022-09-26",
  "Authors@R": "c(person(\"Qingzhao\", \"Yu\", role = c(\"aut\", \"cre\", \"cph\"),\nemail = \"qyu@lsuhsc.edu\"),\nperson(\"Bin\", \"Li\", role = \"aut\"))",
  "Author": "Qingzhao Yu [aut, cre, cph], Bin Li [aut]",
  "Maintainer": "Qingzhao Yu <qyu@lsuhsc.edu>",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Description": "We perform general mediation analysis in the Bayesian\nsetting using the methods described in Yu and Li (2022,\nISBN:9780367365479). With the package, the mediation analysis\ncan be performed on different types of outcomes (e.g.,\ncontinuous, binary, categorical, or time-to-event), with\ndefault or user-defined priors and predictive models. The\nBayesian estimates and credible sets of mediation effects are\nreported as analytic results.",
  "License": "GPL (>= 2)",
  "URL": "https://cran.r-project.org/package=BayesianMediationA,\nhttps://publichealth.lsuhsc.edu/Faculty_pages/qyu/index.html",
  "RoxygenNote": "7.2.1",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 08:32:51 UTC",
    "User": "root"
  },
  "Config/pak/sysreqs": "cmake make jags libicu-dev",
  "Repository": "https://qingzhaoyu.r-universe.dev",
  "Date/Publication": "2022-09-24 22:40:02 UTC",
  "RemoteUrl": "https://github.com/cran/BayesianMediationA",
  "RemoteRef": "HEAD",
  "RemoteSha": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
  "MD5sum": "168dad46f0cf8aa73067e0241c404c99",
  "_user": "qingzhaoyu",
  "_type": "src",
  "_file": "BayesianMediationA_1.0.1.tar.gz",
  "_fileid": "f52a6c676f1b402d99434fb332fbc599b446bacb8b7be2fe766c30f420841de2",
  "_filesize": 845684,
  "_sha256": "f52a6c676f1b402d99434fb332fbc599b446bacb8b7be2fe766c30f420841de2",
  "_created": "2026-06-02T08:32:51.000Z",
  "_published": "2026-06-02T08:39:22.303Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79031081308,
      "time": 195,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7352858668"
    },
    {
      "job": 79031081280,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7352841824"
    },
    {
      "job": 79031081330,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7352857108"
    },
    {
      "job": 79031081279,
      "time": 190,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7352907262"
    },
    {
      "job": 79030362741,
      "time": 248,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7352792155"
    },
    {
      "job": 79031081388,
      "time": 122,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7352834072"
    },
    {
      "job": 79031081307,
      "time": 183,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7352854365"
    },
    {
      "job": 79031081298,
      "time": 122,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7352832117"
    },
    {
      "job": 79031081288,
      "time": 115,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7352832172"
    }
  ],
  "_buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/BayesianMediationA",
  "_commit": {
    "id": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
    "author": "Qingzhao Yu <qyu@lsuhsc.edu>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 1.0.1\n",
    "time": 1664059202
  },
  "_maintainer": {
    "name": "Qingzhao Yu",
    "email": "qyu@lsuhsc.edu",
    "login": "qingzhaoyu",
    "description": "Professor of Biostatistics",
    "uuid": 14879978
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.14.1",
      "role": "Depends"
    },
    {
      "package": "survival",
      "role": "Depends"
    },
    {
      "package": "R2jags",
      "role": "Depends"
    },
    {
      "package": "car",
      "role": "Depends"
    },
    {
      "package": "gplots",
      "role": "Depends"
    },
    {
      "package": "lattice",
      "role": "Depends"
    },
    {
      "package": "splines",
      "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": "qingzhaoyu",
      "count": 2,
      "uuid": 14879978
    }
  ],
  "_userbio": {
    "uuid": 14879978,
    "type": "user",
    "name": "Qingzhao Yu",
    "description": "Professor of Biostatistics"
  },
  "_downloads": {
    "count": 185,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/BayesianMediationA"
  },
  "_searchresults": 2,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/BayesianMediationA.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "manual.pdf"
  ],
  "_realowner": "qingzhaoyu",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.0",
      "date": "2022-08-18"
    },
    {
      "version": "1.0.1",
      "date": "2022-09-25"
    }
  ],
  "_exports": [
    "bma.bx.cy",
    "data_org",
    "print.summary.bma",
    "summary.bma.bx.cy"
  ],
  "_datasets": [
    {
      "name": "weight_behavior",
      "title": "Weight_Behavior Data Set",
      "object": "weight_behavior",
      "file": "weight_behavior.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "bmi",
        "age",
        "sex",
        "race",
        "numpeople",
        "car",
        "gotosch",
        "snack",
        "tvhours",
        "cmpthours",
        "cellhours",
        "sports",
        "exercises",
        "sweat",
        "overweigh"
      ],
      "rows": 691,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "BayesianMediationA-package",
      "title": "Bayesian Mediation Analysis Package",
      "topics": [
        "BayesianMediationA-package",
        "BayesianMediationA"
      ]
    },
    {
      "page": "bma.bx.cy",
      "title": "Bayesian Mediation Analysis",
      "topics": [
        "bma.bx.cy"
      ]
    },
    {
      "page": "data_org",
      "title": "Data Organization",
      "topics": [
        "data_org"
      ]
    },
    {
      "page": "print.summary.bma",
      "title": "Print the results from the summary function.",
      "topics": [
        "print.summary.bma"
      ]
    },
    {
      "page": "summary.bma.bx.cy",
      "title": "Summary function for the bma.bx.cy object",
      "topics": [
        "summary.bma.bx.cy"
      ]
    },
    {
      "page": "weight_behavior",
      "title": "Weight_Behavior Data Set",
      "topics": [
        "weight_behavior"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "backports",
    "bitops",
    "boot",
    "broom",
    "car",
    "carData",
    "caTools",
    "cli",
    "coda",
    "colorspace",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "glue",
    "gplots",
    "gtable",
    "gtools",
    "isoband",
    "KernSmooth",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mgcv",
    "microbenchmark",
    "minqa",
    "modelr",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "purrr",
    "quantreg",
    "R2jags",
    "R2WinBUGS",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rjags",
    "rlang",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary\nJAGS is Just Another Gibbs Sampler.  It is a program for analysis of\nBayesian hierarchical models using Markov Chain Monte Carlo (MCMC)\nsimulation not wholly unlike BUGS.\n\nJAGS was written with three aims in mind:\n* To have an engine for the BUGS language that runs on Unix\n* To be extensible, allowing users to write their own functions,\ndistributions and samplers.\n* To be a plaftorm for experimentation with ideas in Bayesian modelling\n\nThis package contains the 'jags' binary as well as the associated\nshared library modules loaded by the binary."
    },
    {
      "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": "BayesianMediationAvignette.Rmd",
      "filename": "BayesianMediationAvignette.html",
      "title": "Examples for Bayesian Mediation Analysis",
      "author": "Qingzhao Yu and Bin Li",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Package installation",
        "The Data Set",
        "Data Transformation and Organization",
        "The function $bma.bx.cy$ for Bayesian mediation analysis",
        "Categorical predictor",
        "use transfered continuous predictors for y",
        "Binary outcome",
        "Time-to-Event outcome",
        "Categorical outcome",
        "References"
      ],
      "created": "2022-09-24 22:40:02",
      "modified": "2022-09-24 22:40:02",
      "commits": 1
    }
  ],
  "_score": 2,
  "_indexed": true,
  "_nocasepkg": "bayesianmediationa",
  "_universes": [
    "qingzhaoyu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T08:35:47.000Z",
      "distro": "noble",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "c89104bdcf53c99978655522fa6513be6852ca6ca4a811e143720b7d2c75ad2a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.1",
      "date": "2026-06-02T08:35:08.000Z",
      "distro": "noble",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "f4174415b9591dd01add62056be100d68d1c8f8dbfacf7729776c291e9683fac",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T08:36:00.000Z",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "ba768449f38280131f79acd43196922445e9db344cf87a7fd61867b049c88a4d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.1",
      "date": "2026-06-02T08:37:59.000Z",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "a166c3bdab85ec831163aa00fdc3de2b23bcffb5cba4ddc7fe6d333d1aef731e",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.1",
      "date": "2026-06-02T08:35:18.000Z",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "d14ddffc65b2c58d4d78062ee236f494421bc4b7efeb01927a6fb2f1a19b8acb",
      "status": "success",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T08:35:18.000Z",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "e1d270682c6460b5a02a86857ac66de8580858c4c33616d76faf86d23763017d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T08:34:25.000Z",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "10e8af1cadd7961cddee52948dd5b1ae6d64d31043f70474ea7e7b1cf7862085",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.1",
      "date": "2026-06-02T08:34:22.000Z",
      "commit": "30a4a0cde8ea0e2567edc1d17936649d92cd882c",
      "fileid": "2d88ba67b3438713db04dab62f0f4294f829a365059de6d0dd03f8b4c7bd896d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/qingzhaoyu/actions/runs/26807988052"
    }
  ]
}