{
  "_id": "6a227e32cd65a98ecbd503d6",
  "Package": "medoutcon",
  "Title": "Efficient Natural and Interventional Causal Mediation Analysis",
  "Version": "0.2.4",
  "Authors@R": "c(\nperson(\"Nima\", \"Hejazi\", email = \"nh@nimahejazi.org\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-7127-2789\")),\nperson(\"Iván\", \"Díaz\", email = \"ild2005@med.cornell.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0001-9056-2047\")),\nperson(\"Kara\", \"Rudolph\", email = \"kr2854@cumc.columbia.edu\",\nrole = \"aut\",\ncomment = c(ORCID = \"0000-0002-9417-7960\")),\nperson(\"Philippe\", \"Boileau\", email = \"philippe_boileau@berkeley.edu\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-4850-2507\")),\nperson(\"Mark\", \"van der Laan\", email = \"laan@berkeley.edu\",\nrole = c(\"ctb\", \"ths\"),\ncomment = c(ORCID = \"0000-0003-1432-5511\"))\n)",
  "Maintainer": "Nima Hejazi <nh@nimahejazi.org>",
  "Description": "Efficient estimators of interventional (in)direct effects\nin the presence of mediator-outcome confounding affected by\nexposure. The effects estimated allow for the impact of the\nexposure on the outcome through a direct path to be\ndisentangled from that through mediators, even in the presence\nof intermediate confounders that complicate such a\nrelationship. Currently supported are non-parametric efficient\none-step and targeted minimum loss estimators based on the\nformulation of Díaz, Hejazi, Rudolph, and van der Laan (2020)\n<doi:10.1093/biomet/asaa085>. Support for efficient estimation\nof the natural (in)direct effects is also provided, appropriate\nfor settings in which intermediate confounders are absent. The\npackage also supports estimation of these effects when the\nmediators are measured using outcome-dependent two-phase\nsampling designs (e.g., case-cohort).",
  "Remotes": [
    "github::tlverse/hal9001",
    "github::tlverse/sl3"
  ],
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/nhejazi/medoutcon",
  "BugReports": "https://github.com/nhejazi/medoutcon/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.3.1",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev",
  "Repository": "https://ictml-project.r-universe.dev",
  "Date/Publication": "2025-07-07 18:25:49 UTC",
  "RemoteUrl": "https://github.com/nhejazi/medoutcon",
  "RemoteRef": "HEAD",
  "RemoteSha": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-05 07:22:20 UTC",
    "User": "root"
  },
  "Author": "Nima Hejazi [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-7127-2789>),\nIván Díaz [aut] (ORCID: <https://orcid.org/0000-0001-9056-2047>),\nKara Rudolph [aut] (ORCID: <https://orcid.org/0000-0002-9417-7960>),\nPhilippe Boileau [ctb] (ORCID: <https://orcid.org/0000-0002-4850-2507>),\nMark van der Laan [ctb, ths] (ORCID:\n<https://orcid.org/0000-0003-1432-5511>)",
  "MD5sum": "9888e022461f45fa0d9059f720a874c0",
  "_user": "ictml-project",
  "_type": "src",
  "_file": "medoutcon_0.2.4.tar.gz",
  "_fileid": "9d2eff3881c8c9d9f2cad8bdaa17191d0f87459b1388520b499481035ab98ef7",
  "_filesize": 188319,
  "_sha256": "9d2eff3881c8c9d9f2cad8bdaa17191d0f87459b1388520b499481035ab98ef7",
  "_created": "2026-06-05T07:22:20.000Z",
  "_published": "2026-06-05T07:43:46.765Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79682702215,
      "time": 521,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431169538"
    },
    {
      "job": 79682702136,
      "time": 505,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431164795"
    },
    {
      "job": 79682702139,
      "time": 329,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431381454"
    },
    {
      "job": 79682702153,
      "time": 382,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431303804"
    },
    {
      "job": 79681285114,
      "time": 646,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431024252"
    },
    {
      "job": 79682702149,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431065233"
    },
    {
      "job": 79682702165,
      "time": 477,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7431156581"
    },
    {
      "job": 79682702150,
      "time": 518,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7431168701"
    },
    {
      "job": 79682702135,
      "time": 484,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7431159175"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nhejazi/medoutcon",
  "_commit": {
    "id": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
    "author": "nima hejazi <nh@nimahejazi.org>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #49 from nhejazi/review-two-phase\n\nreview of two-phase sampling functionality",
    "time": 1751912749
  },
  "_maintainer": {
    "name": "Nima Hejazi",
    "email": "nh@nimahejazi.org",
    "login": "nhejazi",
    "bluesky": "@nimahejazi.org",
    "linkedin": "in/nshejazi",
    "orcid": "0000-0002-7127-2789",
    "description": "assistant professor of biostatistics at the harvard school of public health working on causal {inference, machine learning}",
    "uuid": 8527276
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "zeallot",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "origami",
      "version": ">= 1.0.3",
      "role": "Imports"
    },
    {
      "package": "glm2",
      "role": "Imports"
    },
    {
      "package": "sl3",
      "version": ">= 1.4.5",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "Rsolnp",
      "role": "Suggests"
    },
    {
      "package": "nnls",
      "role": "Suggests"
    },
    {
      "package": "SuperLearner",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "hal9001",
      "version": ">= 0.4.6",
      "role": "Suggests"
    },
    {
      "package": "speedglm",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "arm",
      "role": "Suggests"
    }
  ],
  "_owner": "nhejazi",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "causal-inference",
    "causal-machine-learning",
    "inverse-probability-weights",
    "machine-learning",
    "mediation-analysis",
    "stochastic-interventions",
    "targeted-learning",
    "treatment-effects"
  ],
  "_stars": 16,
  "_contributors": [
    {
      "user": "nhejazi",
      "count": 205,
      "uuid": 8527276
    },
    {
      "user": "philboileau",
      "count": 43,
      "uuid": 8812813
    },
    {
      "user": "idiazst",
      "count": 7,
      "uuid": 27776888
    }
  ],
  "_userbio": {
    "uuid": 184681251,
    "type": "organization",
    "name": "The ICTML Project",
    "description": "The Interpretable Causal Targeted Machine Learning (ICTML) Project"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/medoutcon"
  },
  "_devurl": "https://github.com/nhejazi/medoutcon",
  "_searchresults": 28,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/medoutcon.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "medoutcon"
  ],
  "_help": [
    {
      "page": "confint.medoutcon",
      "title": "Confidence intervals for natural/interventional (in)direct effect estimates",
      "topics": [
        "confint.medoutcon"
      ]
    },
    {
      "page": "fit_moc_mech",
      "title": "Fit intermediate confounding mechanism with(out) conditioning on mediators",
      "topics": [
        "fit_moc_mech"
      ]
    },
    {
      "page": "fit_nuisance_u",
      "title": "Fit pseudo-outcome regression conditioning on mediator-outcome confounder",
      "topics": [
        "fit_nuisance_u"
      ]
    },
    {
      "page": "fit_nuisance_v",
      "title": "Fit pseudo-outcome regression conditioning on treatment and baseline",
      "topics": [
        "fit_nuisance_v"
      ]
    },
    {
      "page": "fit_out_mech",
      "title": "Fit outcome regression",
      "topics": [
        "fit_out_mech"
      ]
    },
    {
      "page": "fit_treat_mech",
      "title": "Fit propensity scores for treatment contrasts",
      "topics": [
        "fit_treat_mech"
      ]
    },
    {
      "page": "medoutcon",
      "title": "Efficient estimation of natural and interventional (in)direct effects",
      "topics": [
        "medoutcon"
      ]
    },
    {
      "page": "print.medoutcon",
      "title": "Print method for natural/interventional (in)direct effect estimate objects",
      "topics": [
        "print.medoutcon"
      ]
    },
    {
      "page": "summary.medoutcon",
      "title": "Summary for natural/interventional (in)direct effect estimate objects",
      "topics": [
        "summary.medoutcon"
      ]
    }
  ],
  "_readme": "https://github.com/nhejazi/medoutcon/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "assertthat",
    "backports",
    "base64enc",
    "BBmisc",
    "bitops",
    "bslib",
    "cachem",
    "caret",
    "caTools",
    "checkmate",
    "class",
    "cli",
    "clock",
    "codetools",
    "cpp11",
    "crayon",
    "data.table",
    "delayed",
    "diagram",
    "digest",
    "dplyr",
    "e1071",
    "evaluate",
    "farver",
    "fastmap",
    "fontawesome",
    "foreach",
    "fs",
    "future",
    "future.apply",
    "generics",
    "ggplot2",
    "glm2",
    "globals",
    "glue",
    "gower",
    "gplots",
    "gtable",
    "gtools",
    "hardhat",
    "highr",
    "hms",
    "htmltools",
    "htmlwidgets",
    "igraph",
    "ipred",
    "isoband",
    "iterators",
    "jquerylib",
    "jsonlite",
    "KernSmooth",
    "knitr",
    "labeling",
    "lattice",
    "lava",
    "lifecycle",
    "listenv",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "memoise",
    "mime",
    "ModelMetrics",
    "nlme",
    "nnet",
    "numDeriv",
    "origami",
    "parallelly",
    "pillar",
    "pkgconfig",
    "plyr",
    "prettyunits",
    "pROC",
    "prodlim",
    "progress",
    "progressr",
    "proxy",
    "purrr",
    "R.methodsS3",
    "R.oo",
    "R.utils",
    "R6",
    "rappdirs",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "Rdpack",
    "recipes",
    "reshape2",
    "rlang",
    "rmarkdown",
    "ROCR",
    "rpart",
    "rstackdeque",
    "S7",
    "sass",
    "scales",
    "shape",
    "sl3",
    "sparsevctrs",
    "SQUAREM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "tinytex",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "withr",
    "xfun",
    "yaml",
    "zeallot"
  ],
  "_vignettes": [
    {
      "source": "intro_medoutcon.Rmd",
      "filename": "intro_medoutcon.html",
      "title": "Efficient causal mediation analysis with the natural and interventional effects",
      "author": "Nima Hejazi, Iván Díaz, and Kara Rudolph",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background and Motivations",
        "Problem Setup and Notation",
        "Interventional (In)Direct Effects",
        "Efficient Estimation",
        "Data Analysis Example",
        "Setting up the data example",
        "Ensemble learning of nuisance functions",
        "Estimating the direct effect",
        "Estimating the indirect effect",
        "References"
      ],
      "created": "2019-04-07 01:12:06",
      "modified": "2024-03-04 17:13:07",
      "commits": 10
    }
  ],
  "_score": 4.6512780139981444,
  "_indexed": false,
  "_nocasepkg": "medoutcon",
  "_universes": [
    "ictml-project"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-06-05T07:25:15.000Z",
      "distro": "noble",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "87ad0b7c059b3b4b3f72e63bf95566a2162ee4967e40c4fc3a0558478886e84f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.4",
      "date": "2026-06-05T07:25:05.000Z",
      "distro": "noble",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "b6c2f2d8a9013229924c903c436e06e8919c1da876470ef341d719e94a85a771",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-05T07:39:12.000Z",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "f110f2ad35b903f8eca293b99d552781546b18b93c9ea95fd1fb22501fd82372",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.4",
      "date": "2026-06-05T07:34:20.000Z",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "b5faf768ed5674e370f60f36afff2810e7faa14b0a0c8c2553bf9dc33308dcb1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.4",
      "date": "2026-06-05T07:25:12.000Z",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "2eaedd8324024f929d3a07ca3e6f28eb672b98ff751f31bdd7105232b91a89fa",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-05T07:23:55.000Z",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "5287dbe06fc4dd0aa6257fcc9156463e4595659830146680f296963666efece3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-05T07:23:50.000Z",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "157104c5da7330a25418c216bf58401eb43be803179ae100a91e172edf53bb67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.4",
      "date": "2026-06-05T07:23:46.000Z",
      "commit": "e40d519cce0e674e4a2f1ba853c6d32908c7f9b0",
      "fileid": "acba55228ef9a62c6800b5278648cd649ea2b25f5e38e5df52099512031e30ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/27001018968"
    }
  ]
}