{
  "_id": "6a338f083efcd9bda439fb34",
  "Package": "bama",
  "Title": "High Dimensional Bayesian Mediation Analysis",
  "Version": "1.3.1",
  "URL": "https://github.com/umich-cphds/bama",
  "BugReports": "https://github.com/umich-cphds/bama/issues",
  "Authors@R": "c(person(given = \"Alexander\",\nfamily = \"Rix\",\nrole = c(\"aut\"),\nemail = \"alexrix@umich.edu\"),\nperson(given = \"Mike\",\nfamily = \"Kleinsasser\",\nrole = c(\"aut\", \"cre\"),\nemail = \"mkleinsa@umich.edu\"),\nperson(given = \"Yanyi\",\nfamily = \"Song\",\nrole = c(\"aut\"),\nemail = \"yanys@umich.edu\"))",
  "Description": "Perform mediation analysis in the presence of\nhigh-dimensional mediators based on the potential outcome\nframework. Bayesian Mediation Analysis (BAMA), developed by\nSong et al (2019) <doi:10.1111/biom.13189> and Song et al\n(2020) <arXiv:2009.11409>, relies on two Bayesian sparse linear\nmixed models to simultaneously analyze a relatively large\nnumber of mediators for a continuous exposure and outcome\nassuming a small number of mediators are truly active. This\nsparsity assumption also allows the extension of univariate\nmediator analysis by casting the identification of active\nmediators as a variable selection problem and applying Bayesian\nmethods with continuous shrinkage priors on the effects.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.2",
  "VignetteBuilder": "knitr",
  "Repository": "https://umich-cphds.r-universe.dev",
  "Date/Publication": "2025-09-17 17:02:27 UTC",
  "RemoteUrl": "https://github.com/umich-cphds/bama",
  "RemoteRef": "HEAD",
  "RemoteSha": "47d7b92ce73415438e530ef7355180f36015e362",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-06-16 07:12:19 UTC",
    "User": "root"
  },
  "Author": "Alexander Rix [aut],\nMike Kleinsasser [aut, cre],\nYanyi Song [aut]",
  "Maintainer": "Mike Kleinsasser <mkleinsa@umich.edu>",
  "MD5sum": "ce54a1b22d7358bc4f8ae99048530d73",
  "_user": "umich-cphds",
  "_type": "src",
  "_file": "bama_1.3.1.tar.gz",
  "_fileid": "a43f680898308f66005636db931b05fba3c6e23afa4adb6e996ca027e23a0a21",
  "_filesize": 957341,
  "_sha256": "a43f680898308f66005636db931b05fba3c6e23afa4adb6e996ca027e23a0a21",
  "_created": "2026-06-16T07:12:19.000Z",
  "_published": "2026-06-18T06:24:08.674Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82067533587,
      "time": 133,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7659792218"
    },
    {
      "job": 82067533419,
      "time": 134,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7659792684"
    },
    {
      "job": 82067533483,
      "time": 139,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7659795301"
    },
    {
      "job": 82067533305,
      "time": 142,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7659797008"
    },
    {
      "job": 82067533503,
      "time": 86,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7659777677"
    },
    {
      "job": 82067533424,
      "time": 267,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7659834044"
    },
    {
      "job": 82067533381,
      "time": 134,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7659791719"
    },
    {
      "job": 82067533408,
      "time": 228,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7659821522"
    },
    {
      "job": 82067532924,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7659749666"
    },
    {
      "job": 82067533245,
      "time": 129,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7659790240"
    },
    {
      "job": 82067532619,
      "time": 98,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067532583,
      "time": 128,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 82067532609,
      "time": 92,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/umich-cphds/bama",
  "_commit": {
    "id": "47d7b92ce73415438e530ef7355180f36015e362",
    "author": "Michael Kleinsasser <mkleinsa@umich.edu>",
    "committer": "Michael Kleinsasser <mkleinsa@umich.edu>",
    "message": "Fix cran bugs\n",
    "time": 1758128547
  },
  "_maintainer": {
    "name": "Mike Kleinsasser",
    "email": "mkleinsa@umich.edu",
    "login": "mkleinsa",
    "description": "R programmer for the Department of Biostatistics at the University of Michigan, Ann Arbor. M.S. Statistics. ",
    "uuid": 39565600
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "RcppDist",
      "role": "LinkingTo"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "umich-cphds",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-38",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "tzimiskes",
      "count": 87,
      "uuid": 22644852
    },
    {
      "user": "mkleinsa",
      "count": 19,
      "uuid": 39565600
    }
  ],
  "_userbio": {
    "uuid": 38891577,
    "type": "organization",
    "name": " Center for Precision Health Data Science",
    "followers": 11,
    "description": "University of Michigan  Center for Precision Health Data Science"
  },
  "_downloads": {
    "count": 408,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bama"
  },
  "_devurl": "https://github.com/umich-cphds/bama",
  "_searchresults": 48,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bama.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/umich-cphds/bama",
  "_realowner": "umich-cphds",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.9.1",
      "date": "2019-09-30"
    },
    {
      "version": "1.0.0",
      "date": "2020-04-27"
    },
    {
      "version": "1.0.1",
      "date": "2020-05-02"
    },
    {
      "version": "1.2",
      "date": "2021-01-21"
    },
    {
      "version": "1.2.5",
      "date": "2022-10-20"
    },
    {
      "version": "1.3.0",
      "date": "2023-01-24"
    },
    {
      "version": "1.3.1",
      "date": "2025-09-20"
    }
  ],
  "_exports": [
    "bama",
    "fdr.bama"
  ],
  "_datasets": [
    {
      "name": "bama.data",
      "title": "Synthetic example data for bama",
      "object": "bama",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "a",
        "m1",
        "m2",
        "m3",
        "m4",
        "m5",
        "m6",
        "m7",
        "m8",
        "m9",
        "m10",
        "m11",
        "m12",
        "m13",
        "m14",
        "m15",
        "m16",
        "m17",
        "m18",
        "m19",
        "m20",
        "m21",
        "m22",
        "m23",
        "m24",
        "m25",
        "m26",
        "m27",
        "m28",
        "m29",
        "m30",
        "m31",
        "m32",
        "m33",
        "m34",
        "m35",
        "m36",
        "m37",
        "m38",
        "m39",
        "m40",
        "m41",
        "m42",
        "m43",
        "m44",
        "m45",
        "m46",
        "m47",
        "m48",
        "m49",
        "m50",
        "m51",
        "m52",
        "m53",
        "m54",
        "m55",
        "m56",
        "m57",
        "m58",
        "m59",
        "m60",
        "m61",
        "m62",
        "m63",
        "m64",
        "m65",
        "m66",
        "m67",
        "m68",
        "m69",
        "m70",
        "m71",
        "m72",
        "m73",
        "m74",
        "m75",
        "m76",
        "m77",
        "m78",
        "m79",
        "m80",
        "m81",
        "m82",
        "m83",
        "m84",
        "m85",
        "m86",
        "m87",
        "m88",
        "m89",
        "m90",
        "m91",
        "m92",
        "m93",
        "m94",
        "m95",
        "m96",
        "m97",
        "m98",
        "m99",
        "m100"
      ],
      "rows": 1000,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bama",
      "title": "Bayesian Mediation Analysis",
      "topics": [
        "bama"
      ]
    },
    {
      "page": "bama.data",
      "title": "Synthetic example data for bama",
      "topics": [
        "bama.data"
      ]
    },
    {
      "page": "fdr.bama",
      "title": "Bayesian Mediation Analysis Controlling For False Discovery",
      "topics": [
        "fdr.bama"
      ]
    },
    {
      "page": "print.bama",
      "title": "Printing bama objects",
      "topics": [
        "print.bama"
      ]
    },
    {
      "page": "print.fdr.bama",
      "title": "Printing bama objects",
      "topics": [
        "print.fdr.bama"
      ]
    },
    {
      "page": "summary.bama",
      "title": "Summarize objects of type \"bama\"",
      "topics": [
        "summary.bama"
      ]
    },
    {
      "page": "summary.fdr.bama",
      "title": "Summarize objects of type \"fdr.bama\"",
      "topics": [
        "summary.fdr.bama"
      ]
    }
  ],
  "_readme": "https://github.com/umich-cphds/bama/raw/HEAD/README.md",
  "_rundeps": [
    "BH",
    "Rcpp",
    "RcppArmadillo",
    "RcppDist"
  ],
  "_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": "bama.Rmd",
      "filename": "bama.html",
      "title": "Bayesian Mediation Analysis in R",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Example problem",
        "Reference"
      ],
      "created": "2019-09-18 12:45:50",
      "modified": "2021-01-15 17:34:02",
      "commits": 9
    }
  ],
  "_score": 4.380211241711606,
  "_indexed": true,
  "_nocasepkg": "bama",
  "_universes": [
    "umich-cphds",
    "mkleinsa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-06-16T07:14:40.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "95b983431f0ead7c0472196980b7c4e0b461dfa23c1a25ad9751959e4498cf2c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-06-16T07:14:41.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "d12228273f007424272a4137edd625d56569c140d9b2c7cfcb2ede556fa6b2f1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-06-16T07:14:51.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "d9f2baad56c60ba8021a1e0ff2e38dcd2c8920ac5df02e614a346d9b38c760a4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-06-16T07:14:52.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "e5e1cc8333dd7a6707c798f8442575ac148c054b164e8fd39bcf90b7d71e7d9f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-06-16T07:14:01.000Z",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "e0e2e59e7ea7872c94a00ceef4fca14dddfedbf46051af213294b5f0e4c0e39b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-06-16T07:16:09.000Z",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "1fa8545d73aef35b80a87ed57297a9d75502f1ecf520dae823dceac38e85849f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-06-16T07:14:24.000Z",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "1101d885867a09f7825e33d8c93ebfac79bda3e01870c002a727847af8e741db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-06-16T07:15:32.000Z",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "20b649db5ae8d5857a7cc129e8e1f9553338c0b2e4f4fb34de8a856da1247f8c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.1",
      "date": "2026-06-16T07:14:50.000Z",
      "arch": "emscripten",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "0a30fac6a2e8a79292c448ad8e6b4855be0a3200d8a0eaaddcd235bb6061eaff",
      "status": "success",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/27600508625"
    }
  ]
}