{
  "_id": "6adf105e99abf48473f4ddfc",
  "Package": "medrobust",
  "Type": "Package",
  "Title": "Robust Causal Mediation Analysis Under Differential\nMisclassification",
  "Version": "0.4.4",
  "Authors@R": "c(\nperson(\"Davood\", \"Tofighi\",\nemail = \"dtofighi@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0001-8523-7776\"))\n)",
  "Maintainer": "Davood Tofighi <dtofighi@gmail.com>",
  "Description": "Provides tools for conducting sensitivity analysis for\ncausal mediation effects when the exposure or mediator is\nmeasured with differential misclassification (e.g., recall\nbias, outcome-dependent measurement error). Unlike existing\nmeasurement error correction methods that assume\nnon-differential error or require validation data, 'medrobust'\nderives partial identification bounds that remain valid without\ngold-standard measurements. The package implements methods\ndeveloped in Tofighi (2025) for partial identification bounds\nfor Natural Direct Effects (NDE) and Natural Indirect Effects\n(NIE), data-driven falsification via testable implications,\nsensitivity analysis over user-specified ranges of\nmisclassification parameters, diagnostic tools and\npublication-quality visualizations, bootstrap inference for\nconfidence intervals via percentile and bias-corrected and\naccelerated (BCa) methods, and synthetic data generation for\npower analysis and methods research. The package handles both\nmediator misclassification and exposure misclassification\nwithin a unified framework. The partial identification approach\nbuilds on Manski (2003, ISBN:978-0387004549); confidence\nintervals for the partially identified bounds use the\nconstruction of Imbens and Manski (2004)\n<doi:10.1111/j.1468-0262.2004.00549.x>.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "LazyData": "true",
  "Config/testthat/edition": "3",
  "URL": "https://github.com/data-wise/medrobust,\nhttps://data-wise.github.io/medrobust/",
  "BugReports": "https://github.com/data-wise/medrobust/issues",
  "Config/roxygen2/version": "8.1.0",
  "Repository": "https://data-wise.r-universe.dev",
  "Date/Publication": "2026-09-26 05:53:41 UTC",
  "RemoteUrl": "https://github.com/Data-Wise/medrobust",
  "RemoteRef": "main",
  "RemoteSha": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-26 08:24:20 UTC",
    "User": "root"
  },
  "Author": "Davood Tofighi [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0001-8523-7776>)",
  "_user": "data-wise",
  "_type": "src",
  "_file": "medrobust_0.4.4.tar.gz",
  "_fileid": "https://r2.ropensci.org/585ccc9b157defe04ff2bc48ea5135d4dd2b7a8c2a194c93570c266ef0b4768f",
  "_filesize": 379142,
  "_sha256": "585ccc9b157defe04ff2bc48ea5135d4dd2b7a8c2a194c93570c266ef0b4768f",
  "_expires": "2027-02-03T08:33:32.000Z",
  "_created": "2026-10-26T08:24:20.000Z",
  "_published": "2026-10-26T08:33:34.362Z",
  "_upstream": "https://github.com/Data-Wise/medrobust",
  "_status": "success",
  "_maintainer": {
    "name": "Davood Tofighi",
    "email": "dtofighi@gmail.com",
    "login": "data-wise",
    "description": "Data science, R, Python, Statistics, biostatistics, Psychology, and Engineering!",
    "uuid": 1749560,
    "orcid": "0000-0001-8523-7776"
  },
  "_jobs": [
    {
      "job": 121469241531,
      "time": 512,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12637185839"
    },
    {
      "job": 121469241530,
      "time": 508,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12636159613"
    },
    {
      "job": 121469241577,
      "time": 376,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12636930898"
    },
    {
      "job": 121469241925,
      "time": 484,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12637685018"
    },
    {
      "job": 121466686991,
      "time": 406,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12635728637"
    },
    {
      "job": 121469241568,
      "time": 117,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12636154579"
    },
    {
      "job": 121469241582,
      "time": 393,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12636801272"
    },
    {
      "job": 121469241584,
      "time": 490,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12636916010"
    },
    {
      "job": 121469241664,
      "time": 303,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12636288759"
    }
  ],
  "_buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039",
  "_commit": {
    "id": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
    "author": "Davood Tofighi <dtofighi@gmail.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #54 from Data-Wise/dev\n\ndocs: v0.4.4 pre-submit results to main",
    "time": 1790402021
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "S7",
      "version": ">= 0.1.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "version": ">= 3.4.0",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "parallel",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "foreach",
      "role": "Suggests"
    },
    {
      "package": "doParallel",
      "role": "Suggests"
    },
    {
      "package": "boot",
      "role": "Suggests"
    },
    {
      "package": "data.table",
      "role": "Suggests"
    },
    {
      "package": "nhanesA",
      "role": "Suggests"
    },
    {
      "package": "mediation",
      "version": ">= 4.5.0",
      "role": "Suggests"
    },
    {
      "package": "EValue",
      "version": ">= 4.1.0",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "gridExtra",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    }
  ],
  "_owner": "data-wise",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 93
    },
    {
      "week": "2025-47",
      "n": 1
    },
    {
      "week": "2025-49",
      "n": 4
    },
    {
      "week": "2025-50",
      "n": 2
    },
    {
      "week": "2026-24",
      "n": 6
    },
    {
      "week": "2026-25",
      "n": 8
    },
    {
      "week": "2026-26",
      "n": 4
    },
    {
      "week": "2026-39",
      "n": 7
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-06-12"
    },
    {
      "name": "v0.3.0",
      "date": "2026-06-14"
    },
    {
      "name": "v0.4.0",
      "date": "2026-06-16"
    },
    {
      "name": "v0.4.1",
      "date": "2026-09-23"
    },
    {
      "name": "v0.4.2",
      "date": "2026-09-24"
    },
    {
      "name": "v0.4.3",
      "date": "2026-09-25"
    },
    {
      "name": "v0.4.4",
      "date": "2026-09-26"
    }
  ],
  "_topics": [
    "causal-inference",
    "causal-mediation",
    "measurement",
    "measurement-error",
    "mediation-analysis"
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "data-wise",
      "count": 178,
      "uuid": 1749560
    },
    {
      "user": "claude",
      "count": 36,
      "uuid": 81847
    }
  ],
  "_userbio": {
    "uuid": 1749560,
    "type": "user",
    "name": "Davood Tofighi",
    "followers": 24,
    "description": "Data science, R, Python, Statistics, biostatistics, Psychology, and Engineering!"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/medrobust"
  },
  "_devurl": "https://github.com/data-wise/medrobust",
  "_pkgdown": "https://data-wise.github.io/medrobust/",
  "_searchresults": 18,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/medrobust.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_cranurl": false,
  "_exports": [
    "as_sensitivity_region",
    "bootstrap_results",
    "bootstrap_width_summary",
    "bound_ci",
    "bound_ne",
    "check_compatibility",
    "compare_bounds",
    "compatibility_test",
    "compute_bound_se",
    "extract_bounds",
    "extract_falsified_region",
    "falsification_summary",
    "format_effect",
    "medrobust_bounds",
    "new_falsification_summary",
    "plot_bootstrap_distribution",
    "power_analysis",
    "power_analysis_result",
    "sensitivity_plot",
    "sensitivity_region",
    "simulate_dm_data",
    "simulated_dm_data",
    "test_multiple_hypotheses"
  ],
  "_datasets": [
    {
      "name": "gesthtn",
      "title": "Gestational Hypertension as a Differentially Misclassified Binary Mediator",
      "object": "gesthtn",
      "class": [
        "data.frame"
      ],
      "fields": [
        "A",
        "M_star",
        "Y",
        "C1"
      ],
      "rows": 5000,
      "table": true,
      "tojson": true
    },
    {
      "name": "heals_data",
      "title": "Synthetic HEALS Data with Differential Measurement Error",
      "object": "heals_data",
      "class": [
        "data.frame"
      ],
      "fields": [
        "id",
        "Y",
        "M",
        "A_star",
        "A_true",
        "age",
        "male",
        "smoking",
        "bmi"
      ],
      "rows": 450,
      "table": true,
      "tojson": true
    },
    {
      "name": "nhanes_pa",
      "title": "Physical Inactivity as a Differentially Misclassified Binary Exposure",
      "object": "nhanes_pa",
      "class": [
        "data.frame"
      ],
      "fields": [
        "A_star",
        "M",
        "Y",
        "C1",
        "C2",
        "C3"
      ],
      "rows": 9906,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "as_sensitivity_region",
      "title": "Create sensitivity_region object from list",
      "topics": [
        "as_sensitivity_region"
      ]
    },
    {
      "page": "as.data.frame.medrobust_bounds",
      "title": "Convert partial identification bounds to a data frame",
      "topics": [
        "as.data.frame.medrobust_bounds"
      ]
    },
    {
      "page": "as.list.sensitivity_region",
      "title": "Convert a sensitivity region to a list",
      "topics": [
        "as.list.sensitivity_region"
      ]
    },
    {
      "page": "bootstrap_results",
      "title": "Bootstrap Results Class",
      "topics": [
        "bootstrap_results"
      ]
    },
    {
      "page": "bootstrap_width_summary",
      "title": "Compute Width of Bootstrap Distribution",
      "topics": [
        "bootstrap_width_summary"
      ]
    },
    {
      "page": "bound_ci",
      "title": "Confidence intervals for partial-identification bounds (Imbens-Manski)",
      "topics": [
        "bound_ci"
      ]
    },
    {
      "page": "bound_ne",
      "title": "Partial Identification Bounds for Natural Effects Under Differential Misclassification",
      "topics": [
        "bound_ne"
      ]
    },
    {
      "page": "check_compatibility",
      "title": "Check Compatibility of Misclassification Parameters",
      "topics": [
        "check_compatibility"
      ]
    },
    {
      "page": "compare_bounds",
      "title": "Compare Bounds Across Multiple Analyses",
      "topics": [
        "compare_bounds"
      ]
    },
    {
      "page": "compatibility_test",
      "title": "Compatibility Test Class",
      "topics": [
        "compatibility_test"
      ]
    },
    {
      "page": "compute_bound_se",
      "title": "Compute Standard Errors for Bounds",
      "topics": [
        "compute_bound_se"
      ]
    },
    {
      "page": "extract_bounds",
      "title": "Extract Compatible Parameter Sets",
      "topics": [
        "extract_bounds"
      ]
    },
    {
      "page": "extract_falsified_region",
      "title": "Extract Falsified Region",
      "topics": [
        "extract_falsified_region"
      ]
    },
    {
      "page": "falsification_summary",
      "title": "Summarize Falsification Results",
      "topics": [
        "falsification_summary"
      ]
    },
    {
      "page": "format_effect",
      "title": "Format Effect Estimate for Reporting",
      "topics": [
        "format_effect"
      ]
    },
    {
      "page": "gesthtn",
      "title": "Gestational Hypertension as a Differentially Misclassified Binary Mediator",
      "topics": [
        "gesthtn"
      ]
    },
    {
      "page": "heals_data",
      "title": "Synthetic HEALS Data with Differential Measurement Error",
      "topics": [
        "heals_data"
      ]
    },
    {
      "page": "medrobust_bounds",
      "title": "Medrobust Bounds Class",
      "topics": [
        "medrobust_bounds"
      ]
    },
    {
      "page": "new_falsification_summary",
      "title": "Create Falsification Summary Object",
      "topics": [
        "new_falsification_summary"
      ]
    },
    {
      "page": "nhanes_pa",
      "title": "Physical Inactivity as a Differentially Misclassified Binary Exposure",
      "topics": [
        "nhanes_pa"
      ]
    },
    {
      "page": "plot_bootstrap_distribution",
      "title": "Plot Bootstrap Distribution",
      "topics": [
        "plot_bootstrap_distribution"
      ]
    },
    {
      "page": "power_analysis",
      "title": "Power Analysis for Partial Identification Bounds",
      "topics": [
        "power_analysis"
      ]
    },
    {
      "page": "power_analysis_result",
      "title": "Power Analysis Result Class",
      "topics": [
        "power_analysis_result"
      ]
    },
    {
      "page": "print.compatibility_test",
      "title": "Print Method for compatibility_test",
      "topics": [
        "print.compatibility_test"
      ]
    },
    {
      "page": "sensitivity_plot",
      "title": "Create Sensitivity Analysis Plots",
      "topics": [
        "sensitivity_plot"
      ]
    },
    {
      "page": "sensitivity_region",
      "title": "Create Sensitivity Region",
      "topics": [
        "sensitivity_region"
      ]
    },
    {
      "page": "simulate_dm_data",
      "title": "Simulate Data with Differential Misclassification",
      "topics": [
        "simulate_dm_data"
      ]
    },
    {
      "page": "simulated_dm_data",
      "title": "Simulated Data with Differential Misclassification Class",
      "topics": [
        "simulated_dm_data"
      ]
    },
    {
      "page": "summary.compatibility_test",
      "title": "Summary Method for compatibility_test",
      "topics": [
        "summary.compatibility_test"
      ]
    },
    {
      "page": "test_multiple_hypotheses",
      "title": "Test Multiple Hypotheses",
      "topics": [
        "test_multiple_hypotheses"
      ]
    }
  ],
  "_readme": "https://github.com/Data-Wise/medrobust/raw/main/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.857332496431268,
  "_indexed": true,
  "_nocasepkg": "medrobust",
  "_universes": [
    "data-wise"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.4",
      "date": "2026-10-26T08:26:36.000Z",
      "distro": "resolute",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/b2c3edf5d22bb7e226145b22ec27139d8079cb3ca54a0648d94f7773cffd421f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.4.4",
      "date": "2026-10-26T08:26:36.000Z",
      "distro": "resolute",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/2cb74d7449cc67caca70105872a26f2ba0849ff98a50160ffaacd073059bae2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.4",
      "date": "2026-10-26T08:26:08.000Z",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/e0110ea91924df81e17c99ea948339d7a494c637966d7d3093eec48529b4dfef",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.4.4",
      "date": "2026-10-26T08:26:09.000Z",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/fc538992719d94f434effed02fd87e920be18a80a922d45782e9bd3eb5c714ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.4",
      "date": "2026-10-26T08:26:37.000Z",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/bf9c24ee4f23e3ccd1ee4fc3710e42a689a71579d1d1916c17d8f9516d35e42f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.4",
      "date": "2026-10-26T08:25:37.000Z",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/b432b13b0a44151083ebfde6eee2efad7435a86dd5b15bf4bdf76c747643f805",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.4",
      "date": "2026-10-26T08:27:08.000Z",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/3f23083b16a0f9549132a97449674e0a9e376035783d42f761e5d62c178ea4bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.4.4",
      "date": "2026-10-26T08:25:40.000Z",
      "commit": "61d0afb9f1af996887c0f65b8319ceb29d760af4",
      "fileid": "https://r2.ropensci.org/ebe3817fd0d8b05cbcd1edf7c5fafbf2d1a12ec4383d7619451ccfe36a5e7504",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/data-wise/actions/runs/40291250039"
    }
  ]
}