{
  "_id": "6a1a73741d7bb097a09d125d",
  "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-05-28 06:10:06 UTC",
    "User": "root"
  },
  "Author": "Alexander Rix [aut],\nMike Kleinsasser [aut, cre],\nYanyi Song [aut]",
  "Maintainer": "Mike Kleinsasser <mkleinsa@umich.edu>",
  "MD5sum": "30874e202e309201d6752ed01555a8ba",
  "_user": "umich-cphds",
  "_type": "src",
  "_file": "bama_1.3.1.tar.gz",
  "_fileid": "5c6be95bf45d64ecb4a3dfbd268b1dc96b30499a73f9e81af79d6d57cfe011d1",
  "_filesize": 954915,
  "_sha256": "5c6be95bf45d64ecb4a3dfbd268b1dc96b30499a73f9e81af79d6d57cfe011d1",
  "_created": "2026-05-28T06:10:06.000Z",
  "_published": "2026-05-30T05:19:48.102Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78626245941,
      "time": 154,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7258919443"
    },
    {
      "job": 78626245890,
      "time": 159,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7258920234"
    },
    {
      "job": 78626246127,
      "time": 159,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258920455"
    },
    {
      "job": 78626245988,
      "time": 171,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7284072646"
    },
    {
      "job": 78626245960,
      "time": 124,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7258967116"
    },
    {
      "job": 78626246039,
      "time": 180,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7258956802"
    },
    {
      "job": 78626246009,
      "time": 95,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258944809"
    },
    {
      "job": 78626245874,
      "time": 365,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258986322"
    },
    {
      "job": 78626245726,
      "time": 211,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258884978"
    },
    {
      "job": 78626246017,
      "time": 114,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7258910255"
    },
    {
      "job": 78626245755,
      "time": 116,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78626245742,
      "time": 115,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 78626245738,
      "time": 111,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    }
  ],
  "_buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177",
  "_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",
    "description": "University of Michigan  Center for Precision Health Data Science"
  },
  "_downloads": {
    "count": 378,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bama"
  },
  "_devurl": "https://github.com/umich-cphds/bama",
  "_searchresults": 45,
  "_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.352182518111363,
  "_indexed": true,
  "_nocasepkg": "bama",
  "_universes": [
    "umich-cphds",
    "mkleinsa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-05-28T06:12:42.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "a6a51c65f6eeab043a7d15e6a24355150578f945b88651791a243157e06cf93a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-05-28T06:12:50.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "a919363714a802b2da3c96d66f36a0e37f3a71732dd79b7e3c4679b75754a6bf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-05-28T06:12:45.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "e2e358084226ade307e2179dea892e50f5987b5689300a7e092663a3cf0200d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.3.1",
      "date": "2026-05-29T05:55:35.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "89ccb2b8339d30bd86a19f18b089a71d9a3f463a1713bbcab8d875d2c83a463a",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-05-28T06:16:17.000Z",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "9226a03baf46f4016e5f8a583bc9b288afdc5020c1cb5377551f48b823c8c4c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-05-28T06:15:17.000Z",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "dee29a133bec729d87b35e1196cf2ae26c57fe20d30a60df765e52ff5dcae89b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-05-28T06:14:45.000Z",
      "arch": "aarch64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "562bf5b7852cb6a3dfe9a8f46f79cbc0584422065a98f5687fbbf9cc9952e8d3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.3.1",
      "date": "2026-05-28T06:16:31.000Z",
      "arch": "x86_64",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "1f3c246d615cc7bbdec893eaeb0b6a3c5abefa9d09f0faa68b2831611f0306c0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.3.1",
      "date": "2026-05-28T06:12:19.000Z",
      "arch": "emscripten",
      "commit": "47d7b92ce73415438e530ef7355180f36015e362",
      "fileid": "41100f061b3de2bfb2b06e26cfb53225d4a101d2245a252064f38075d2cef11d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/umich-cphds/actions/runs/26557884177"
    }
  ]
}