{
  "_id": "6a1f2291b401979e734208f3",
  "Package": "medshift",
  "Title": "Causal mediation analysis for stochastic interventions",
  "Version": "0.1.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 = c(\"aut\"),\ncomment = c(ORCID = \"0000-0001-9056-2047\")),\nperson(\"Mark\", \"van der Laan\", email = \"laan@berkeley.edu\",\nrole = c(\"ctb\", \"ths\"),\ncomment = c(ORCID = \"0000-0003-1432-5511\")),\nperson(\"Jeremy\", \"Coyle\", email = \"jeremy.coyle@gmail.com\",\nrole = \"ctb\",\ncomment = c(ORCID = \"0000-0002-9874-6649\"))\n)",
  "Maintainer": "Nima Hejazi <nh@nimahejazi.org>",
  "Description": "Estimators of a parameter arising in the decomposition of\nthe population intervention (in)direct effect of stochastic\ninterventions in causal mediation analysis, including efficient\none-step, targeted minimum loss (TML), re-weighting (IPW), and\nsubstitution estimators. The parameter estimated constitutes a\npart of each of the population intervention (in)direct effects.\nThese estimators may be used in assessing population\nintervention (in)direct effects under stochastic treatment\nregimes, including incremental propensity score interventions\nand modified treatment policies. The methodology was first\ndiscussed by I Díaz and NS Hejazi (2020)\n<doi:10.1111/rssb.12362>.",
  "Remotes": [
    "github::tlverse/sl3@master",
    "github::tlverse/tmle3@master"
  ],
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/nhejazi/medshift",
  "BugReports": "https://github.com/nhejazi/medshift/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "RoxygenNote": "7.1.0",
  "Roxygen": "list(markdown = TRUE, old_usage = TRUE, r6 = FALSE)",
  "Config/pak/sysreqs": "cmake libglpk-dev make libicu-dev libuv1-dev\nlibxml2-dev",
  "Repository": "https://ictml-project.r-universe.dev",
  "Date/Publication": "2022-02-01 18:36:26 UTC",
  "RemoteUrl": "https://github.com/nhejazi/medshift",
  "RemoteRef": "HEAD",
  "RemoteSha": "0ae0572fc5e37a8595b798909057afbc48304236",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-16 07:15:41 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>),\nMark van der Laan [ctb, ths] (ORCID:\n<https://orcid.org/0000-0003-1432-5511>),\nJeremy Coyle [ctb] (ORCID: <https://orcid.org/0000-0002-9874-6649>)",
  "MD5sum": "c8ef104dc1c9540dcd15cb5ba0c676e7",
  "_user": "ictml-project",
  "_type": "src",
  "_file": "medshift_0.1.4.tar.gz",
  "_fileid": "7ae7968a336c3306825056def7a37d5384da21cee77de1be340b4dc60e8428d1",
  "_filesize": 190089,
  "_sha256": "7ae7968a336c3306825056def7a37d5384da21cee77de1be340b4dc60e8428d1",
  "_created": "2026-05-16T07:15:41.000Z",
  "_published": "2026-06-02T18:36:01.503Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79144590235,
      "time": 279,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7031531835"
    },
    {
      "job": 79144590698,
      "time": 292,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7031533172"
    },
    {
      "job": 79144590398,
      "time": 177,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7031521273"
    },
    {
      "job": 79144591196,
      "time": 203,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7031523855"
    },
    {
      "job": 79144590174,
      "time": 292,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7031503000"
    },
    {
      "job": 79144589960,
      "time": 174,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7366620032"
    },
    {
      "job": 79144590697,
      "time": 238,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7031527481"
    },
    {
      "job": 79144591162,
      "time": 219,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7031525575"
    },
    {
      "job": 79144591378,
      "time": 241,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7031527806"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/nhejazi/medshift",
  "_commit": {
    "id": "0ae0572fc5e37a8595b798909057afbc48304236",
    "author": "Nima Hejazi <nh@nimahejazi.org>",
    "committer": "Nima Hejazi <nh@nimahejazi.org>",
    "message": "fix syntax\n",
    "time": 1643740586
  },
  "_maintainer": {
    "name": "Nima Hejazi",
    "email": "nh@nimahejazi.org",
    "login": "nhejazi",
    "bluesky": "@nimahejazi.org",
    "linkedin": "in/nshejazi",
    "orcid": "0000-0002-7127-2789",
    "uuid": 8527276
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.2.0",
      "role": "Depends"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "uuid",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "origami",
      "role": "Imports"
    },
    {
      "package": "sl3",
      "role": "Imports"
    },
    {
      "package": "tmle3",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "Rsolnp",
      "role": "Suggests"
    },
    {
      "package": "nnls",
      "role": "Suggests"
    },
    {
      "package": "speedglm",
      "role": "Suggests"
    },
    {
      "package": "glmnet",
      "role": "Suggests"
    },
    {
      "package": "hal9001",
      "role": "Suggests"
    },
    {
      "package": "xgboost",
      "role": "Suggests"
    },
    {
      "package": "ranger",
      "role": "Suggests"
    },
    {
      "package": "mma",
      "role": "Suggests"
    }
  ],
  "_owner": "nhejazi",
  "_selfowned": false,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_topics": [
    "causal-inference",
    "inverse-probability-weights",
    "machine-learning",
    "mediation-analysis",
    "stochastic-interventions",
    "targeted-learning",
    "treatment-effects"
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "nhejazi",
      "count": 137,
      "uuid": 8527276
    },
    {
      "user": "jeremyrcoyle",
      "count": 3,
      "uuid": 3893286
    }
  ],
  "_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/medshift"
  },
  "_devurl": "https://github.com/nhejazi/medshift",
  "_searchresults": 11,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/medshift.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "LF_ipsi",
    "medshift",
    "Param_medshift",
    "pide",
    "test_de",
    "tmle_medshift",
    "tmle3_Spec_medshift"
  ],
  "_help": [
    {
      "page": "confint.medshift",
      "title": "Confidence Intervals for Stochastic Mediation Parameters",
      "topics": [
        "confint.medshift"
      ]
    },
    {
      "page": "est_ipw",
      "title": "Inverse probability weighted (IPW) estimator",
      "topics": [
        "est_ipw"
      ]
    },
    {
      "page": "est_onestep",
      "title": "Efficient One-Step Estimator",
      "topics": [
        "est_onestep"
      ]
    },
    {
      "page": "est_substitution",
      "title": "Substitution estimator",
      "topics": [
        "est_substitution"
      ]
    },
    {
      "page": "fit_e_mech",
      "title": "Fit propensity score regression while conditioning on mediators",
      "topics": [
        "fit_e_mech"
      ]
    },
    {
      "page": "fit_g_mech",
      "title": "Fit propensity score with incremental stochastic shift intervention",
      "topics": [
        "fit_g_mech"
      ]
    },
    {
      "page": "fit_m_mech",
      "title": "Fit outcome regression",
      "topics": [
        "fit_m_mech"
      ]
    },
    {
      "page": "fit_phi_mech",
      "title": "Fit intervention-specific exponential tilt nuisance parameter",
      "topics": [
        "fit_phi_mech"
      ]
    },
    {
      "page": "LF_ipsi",
      "title": "Likelihood Factor for Incremental Propensity Score Interventions",
      "concept": [
        "Likelihood objects"
      ],
      "topics": [
        "LF_ipsi"
      ]
    },
    {
      "page": "medshift",
      "title": "Nonparametric estimation of the population intervention (in)direct effects",
      "topics": [
        "medshift"
      ]
    },
    {
      "page": "Param_medshift",
      "title": "Parameter for the Population Intervention (In)direct Effects",
      "concept": [
        "Parameters"
      ],
      "topics": [
        "Param_medshift"
      ]
    },
    {
      "page": "pide",
      "title": "One-step or TML estimation of the population intervention direct effect",
      "topics": [
        "pide"
      ]
    },
    {
      "page": "print.medshift",
      "title": "Print Method for Class medshift",
      "topics": [
        "print.medshift"
      ]
    },
    {
      "page": "summary.medshift",
      "title": "Summary for Stochastic Mediation Parameter Objects",
      "topics": [
        "summary.medshift"
      ]
    },
    {
      "page": "test_de",
      "title": "Hypothesis test of direct effect with mediated stochastic interventions using the multiplier bootstrap",
      "topics": [
        "test_de"
      ]
    },
    {
      "page": "tmle_medshift",
      "title": "TML Estimator for the Counterfactual Mean of a Joint Stochastic Intervention Defining the Population Intervention (In)direct Effects",
      "topics": [
        "tmle_medshift"
      ]
    },
    {
      "page": "tmle3_Spec_medshift",
      "title": "TML Estimator for the Counterfactual Mean of a Joint Stochastic Intervention Defining the Population Intervention (In)direct Effects",
      "topics": [
        "tmle3_Spec_medshift"
      ]
    }
  ],
  "_readme": "https://github.com/nhejazi/medshift/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",
    "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",
    "mvtnorm",
    "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",
    "tmle3",
    "tzdb",
    "utf8",
    "uuid",
    "vctrs",
    "viridisLite",
    "visNetwork",
    "withr",
    "xfun",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "intro_medshift.Rmd",
      "filename": "intro_medshift.html",
      "title": "Causal Mediation Analysis for Stochastic Interventions",
      "author": "Nima Hejazi and Iván Díaz",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Background",
        "Decomposing the population intervention effect",
        "Estimating the effect decomposition term",
        "Estimating the direct effect",
        "References"
      ],
      "created": "2019-01-05 21:53:53",
      "modified": "2022-01-07 04:58:54",
      "commits": 10
    }
  ],
  "_score": 3.7403626894942437,
  "_indexed": false,
  "_nocasepkg": "medshift",
  "_universes": [
    "ictml-project"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-05-16T07:18:36.000Z",
      "distro": "noble",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "fc3ec4463ecf36cba217404f0ac3d39c45a2df57a7592feb79a1b3ba5893412f",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.4",
      "date": "2026-05-16T07:18:41.000Z",
      "distro": "noble",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "abe6422b98b54bdfcac6ceec0a92a534d9c73c36d196ccfb9bd45da278c04582",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-05-16T07:17:33.000Z",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "338663064ec381b43d468227fbf45d74ec5b2e39c7a6bd8ffd010e9549c63d83",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.4",
      "date": "2026-05-16T07:17:38.000Z",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "77a47f67dd1e6d82c563304a9d9b0b69b316e5ee9ff4fa24acccd4f17c2fe6b3",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-16T07:17:19.000Z",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "496edfadff627462086d7443d17047b975e402e9dfeb8564029471a4d614f688",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-16T07:16:59.000Z",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "86c3b45c7ff43e1c9edc4e1ec8632752d1f18034c097f25874130a0dec33ff80",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.4",
      "date": "2026-05-16T07:17:22.000Z",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "e61f8d7a85185b2898ee26db490d464ac8560805613fca36c6c742013799d38e",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.4",
      "date": "2026-06-02T18:35:33.000Z",
      "commit": "0ae0572fc5e37a8595b798909057afbc48304236",
      "fileid": "9e4c17569b08c27c78bf657a1d293eb8cb2966c52e09a7d782b6dcafe2af428f",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ictml-project/actions/runs/25955821055"
    }
  ]
}