{
  "_id": "6a290e00732311cd8759556d",
  "Package": "AIPW",
  "Title": "Augmented Inverse Probability Weighting",
  "Version": "0.6.9.3",
  "Authors@R": "c(person(given = \"Yongqi\",\nfamily = \"Zhong\",\nrole = c(\"aut\", \"cre\"),\nemail = \"yq.zhong7@gmail.com\",\ncomment = c(ORCID = \"0000-0002-4042-7450\")),\nperson(given = \"Ashley\",\nfamily = \"Naimi\",\nrole = c(\"aut\"),\nemail = \"ashley.naimi@emory.edu\",\ncomment = c(ORCID = \"0000-0002-1510-8175\")),\nperson(given = \"Gabriel\",\nfamily = \"Conzuelo\",\nrole = c(\"ctb\"),\nemail = \"gabriel.conzuelo@pitt.edu\"),\nperson(given = \"Edward\",\nfamily = \"Kennedy\",\nrole = c(\"ctb\"),\nemail = \"edward@stat.cmu.edu\"))",
  "Maintainer": "Yongqi Zhong <yq.zhong7@gmail.com>",
  "Description": "The 'AIPW' package implements the augmented inverse\nprobability weighting, a doubly robust estimator, for average\ncausal effect estimation with user-defined stacked machine\nlearning algorithms. To cite the 'AIPW' package, please use:\n\"Yongqi Zhong, Edward H. Kennedy, Lisa M. Bodnar, Ashley I.\nNaimi (2021). AIPW: An R Package for Augmented Inverse\nProbability Weighted Estimation of Average Causal Effects.\nAmerican Journal of Epidemiology. <doi:10.1093/aje/kwab207>\".\nVisit: <https://yqzhong7.github.io/AIPW/> for more information.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "Language": "en",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE, r6 = FALSE)",
  "RoxygenNote": "7.2.2",
  "URL": "https://github.com/yqzhong7/AIPW",
  "BugReports": "https://github.com/yqzhong7/AIPW/issues",
  "VignetteBuilder": "knitr",
  "Repository": "https://yqzhong7.r-universe.dev",
  "Date/Publication": "2026-04-11 17:40:01 UTC",
  "RemoteUrl": "https://github.com/yqzhong7/aipw",
  "RemoteRef": "HEAD",
  "RemoteSha": "23a85c46eaad337a2a60c650fdd7542fcb042167",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-10 07:05:58 UTC",
    "User": "root"
  },
  "Author": "Yongqi Zhong [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-4042-7450>),\nAshley Naimi [aut] (ORCID: <https://orcid.org/0000-0002-1510-8175>),\nGabriel Conzuelo [ctb],\nEdward Kennedy [ctb]",
  "MD5sum": "e3e909a0754a785d361f84724dbde628",
  "_user": "yqzhong7",
  "_type": "src",
  "_file": "AIPW_0.6.9.3.tar.gz",
  "_fileid": "7bb3d0409d5e384dc36b4c304b3c8076cc0ea324d1dcafea3754f197c76e4813",
  "_filesize": 602714,
  "_sha256": "7bb3d0409d5e384dc36b4c304b3c8076cc0ea324d1dcafea3754f197c76e4813",
  "_created": "2026-06-10T07:05:58.000Z",
  "_published": "2026-06-10T07:10:56.673Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80501145864,
      "time": 210,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7528827220"
    },
    {
      "job": 80501145891,
      "time": 146,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7528808187"
    },
    {
      "job": 80501145896,
      "time": 191,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7528819056"
    },
    {
      "job": 80501145877,
      "time": 239,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7528831862"
    },
    {
      "job": 80500454192,
      "time": 275,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7528764828"
    },
    {
      "job": 80501145814,
      "time": 118,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7528800180"
    },
    {
      "job": 80501145827,
      "time": 263,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7528842703"
    },
    {
      "job": 80501145850,
      "time": 110,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7528798041"
    },
    {
      "job": 80501145823,
      "time": 107,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7528797411"
    }
  ],
  "_buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/yqzhong7/aipw",
  "_commit": {
    "id": "23a85c46eaad337a2a60c650fdd7542fcb042167",
    "author": "Yongqi Zhong <32525464+yqzhong7@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Dev (#57)\n\n* merge from master branch (#45)\n\n* Update pkgdown site (#44)\r\n\r\n* config github action\r\n\r\n* add citation\r\n\r\n* Create CITATION\r\n\r\n* add citation in description\r\n\r\n* modify citation\r\n\r\n* change github workflow\r\n\r\n* change superlearner url to meet cran\r\n\r\n* change title\r\n\r\n* fix documentation per CRAN's comment\r\n\r\n* update version num\r\n\r\n* fix bibtex\r\n\r\n* add cran badge\r\n\r\n* update doc\r\n\r\n* Update citation\r\n\r\n* fix citation\r\n\r\n* Fix readme\r\n\r\n* fix readme\r\n\r\n* Added Repeated class allows repeated cross-fitting\r\n\r\n* fix gh actions\r\n\r\n* Repeated cross-fitting to reduce randomness (#38)\r\n\r\n* remove sl3 and tmle3 supports\r\n\r\n* remove sl3 in unit tests\r\n\r\n* fix bug and continue removing sl3 tests\r\n\r\n* remove sl3 again!\r\n\r\n* remove check on R 3.6 for GH action\r\n\r\n* added documentation for Repeated class\r\n\r\n* update pkgdown yaml for ghactions\r\n\r\n* remove pkgdown pages when pr\r\n\r\n* resolve #39 (#40)\r\n\r\n* update GH action\r\n\r\n* update documentation\r\n\r\n* fix pkgdown ghaction\r\n\r\n* update pkgdown yaml\r\n\r\n* fix Repeated cf vignette title\n\n* fix continous outcome for exposure model (#50)\n\n* fix continous outcome for exposure model\r\n\r\n* fix g.model for binary treatment\n\n* fix repeated fitting when stratefied_fit is enabled\n\n* update github action cache\n\n* update github action\n\n* ghaction again\n\n* fix codecov\n\n* update github action R-CMD-check\n\n* continue to fix R-CMD-check\n\n* Update namespace and documentation.\n\n* Update README\n\n* git up R-CMD-check\n\n* fix R-CMD-Check\n\n* fix Rd\n\n* fix citation format\n\n* update version number\n\n* fix citation\n\n* fix citation\n\n* fix language\n\n* fix ghaction for ubuntu",
    "time": 1775929201
  },
  "_maintainer": {
    "name": "Yongqi Zhong",
    "email": "yq.zhong7@gmail.com",
    "login": "yqzhong7",
    "orcid": "0000-0002-4042-7450",
    "twitter": "@yqzhong7",
    "description": "",
    "uuid": 32525464
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "R6",
      "role": "Imports"
    },
    {
      "package": "SuperLearner",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "future.apply",
      "role": "Imports"
    },
    {
      "package": "progressr",
      "role": "Imports"
    },
    {
      "package": "Rsolnp",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 2.1.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "tmle",
      "role": "Suggests"
    }
  ],
  "_owner": "yqzhong7",
  "_selfowned": true,
  "_usedby": 1,
  "_updates": [
    {
      "week": "2026-15",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "causal-inference",
    "machine-learning",
    "robust-estimators"
  ],
  "_stars": 28,
  "_contributors": [
    {
      "user": "yqzhong7",
      "count": 179,
      "uuid": 32525464
    }
  ],
  "_userbio": {
    "uuid": 32525464,
    "type": "user",
    "name": "Yongqi Zhong"
  },
  "_downloads": {
    "count": 983,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/AIPW"
  },
  "_mentions": 11,
  "_devurl": "https://github.com/yqzhong7/aipw",
  "_searchresults": 63,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/AIPW.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/yqzhong7/aipw",
  "_realowner": "yqzhong7",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.6.3.2",
      "date": "2021-06-11"
    },
    {
      "version": "0.6.9.2",
      "date": "2025-04-05"
    },
    {
      "version": "0.6.9.3",
      "date": "2026-04-12"
    }
  ],
  "_exports": [
    "AIPW",
    "AIPW_base",
    "AIPW_nuis",
    "AIPW_tmle",
    "aipw_wrapper",
    "Repeated"
  ],
  "_datasets": [
    {
      "name": "eager_sim_obs",
      "title": "Simulated Observational Study",
      "object": "eager_sim_obs",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sim_A",
        "sim_Y",
        "eligibility",
        "loss_num",
        "age",
        "time_try_pregnant",
        "BMI",
        "meanAP"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "eager_sim_rct",
      "title": "Simulated Randomized Trial",
      "object": "eager_sim_rct",
      "class": [
        "data.frame"
      ],
      "fields": [
        "sim_Y",
        "sim_Tx",
        "eligibility",
        "loss_num",
        "age",
        "time_try_pregnant",
        "BMI",
        "meanAP"
      ],
      "rows": 1228,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "AIPW",
      "title": "Augmented Inverse Probability Weighting (AIPW)",
      "topics": [
        "AIPW"
      ]
    },
    {
      "page": "AIPW_base",
      "title": "Augmented Inverse Probability Weighting Base Class (AIPW_base)",
      "topics": [
        "AIPW_base"
      ]
    },
    {
      "page": "AIPW_nuis",
      "title": "Augmented Inverse Probability Weighting (AIPW) uses tmle or tmle3 as inputs",
      "topics": [
        "AIPW_nuis"
      ]
    },
    {
      "page": "AIPW_tmle",
      "title": "Augmented Inverse Probability Weighting (AIPW) uses tmle or tmle3 as inputs",
      "topics": [
        "AIPW_tmle"
      ]
    },
    {
      "page": "aipw_wrapper",
      "title": "AIPW wrapper function",
      "topics": [
        "aipw_wrapper"
      ]
    },
    {
      "page": "eager_sim_obs",
      "title": "Simulated Observational Study",
      "topics": [
        "eager_sim_obs"
      ]
    },
    {
      "page": "eager_sim_rct",
      "title": "Simulated Randomized Trial",
      "topics": [
        "eager_sim_rct"
      ]
    },
    {
      "page": "fit",
      "title": "Fit the data to the AIPW object",
      "topics": [
        "fit",
        "fit.AIPW"
      ]
    },
    {
      "page": "plot.ip_weights",
      "title": "Plot the inverse probability weights using truncated propensity scores by exposure status",
      "topics": [
        "plot.ip_weights"
      ]
    },
    {
      "page": "plot.p_score",
      "title": "Plot the propensity scores by exposure status",
      "topics": [
        "plot.p_score"
      ]
    },
    {
      "page": "Repeated",
      "title": "Repeated Crossfitting Procedure for AIPW",
      "topics": [
        "Repeated"
      ]
    },
    {
      "page": "repfit",
      "title": "Fit the data to the AIPW object repeatedly",
      "topics": [
        "repfit",
        "repfit.Repeated"
      ]
    },
    {
      "page": "stratified_fit",
      "title": "Fit the data to the AIPW object stratified by 'A' for the outcome model",
      "topics": [
        "stratified_fit",
        "stratified_fit.AIPW"
      ]
    },
    {
      "page": "summary",
      "title": "Summary of the average treatment effects from AIPW",
      "topics": [
        "summary",
        "summary.AIPW_base"
      ]
    },
    {
      "page": "summary_median",
      "title": "Summary of the 'repeated_estimates' from 'repfit()' in the Repeated object using median methods.",
      "topics": [
        "summary_median",
        "summary_median.Repeated"
      ]
    }
  ],
  "_readme": "https://github.com/yqzhong7/aipw/raw/HEAD/README.md",
  "_rundeps": [
    "bitops",
    "caTools",
    "cli",
    "codetools",
    "cpp11",
    "cvAUC",
    "data.table",
    "digest",
    "farver",
    "foreach",
    "future",
    "future.apply",
    "gam",
    "ggplot2",
    "globals",
    "glue",
    "gplots",
    "gtable",
    "gtools",
    "isoband",
    "iterators",
    "KernSmooth",
    "labeling",
    "lifecycle",
    "listenv",
    "nnls",
    "numDeriv",
    "parallelly",
    "progressr",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "rlang",
    "ROCR",
    "Rsolnp",
    "S7",
    "scales",
    "SuperLearner",
    "truncnorm",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "AIPW.Rmd",
      "filename": "AIPW.html",
      "title": "Getting Started with AIPW",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Installation",
        "Input data for analyses",
        "Using AIPW to estimate the average treatment effect",
        "One line version (Method chaining from R6class)",
        "A more detailed tutorial",
        "1. Create an AIPW object",
        "Use SuperLearner libraries",
        "Use sl3 libraries",
        "2. Fit the AIPW object",
        "3. Calculate average treatment effects",
        "Estimate the ATE with propensity scores truncation",
        "Check the balance of propensity scores and inverse probability weights by exposure status after truncation",
        "4. Calculate average treatment effects among the treated/controls",
        "stratified_fit() fits the outcome model by exposure status while fit() does not. Hence, stratified_fit() must be used to compute ATT/ATC (Kennedy et al. 2015)",
        "Parallelization with future.apply",
        "Use tmle/tmle3 fitted object as input",
        "1. tmle",
        "2.  tmle3"
      ],
      "created": "2020-05-10 17:18:05",
      "modified": "2025-04-05 15:31:12",
      "commits": 27
    },
    {
      "source": "Repated_Crossfitting.Rmd",
      "filename": "Repated_Crossfitting.html",
      "title": "Repeated Cross-fitting",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Repeated Cross-fitting",
        "Create an AIPW object",
        "Decorate with Repeated class",
        "More num_reps vs More k-split?",
        "References:"
      ],
      "created": "2023-11-04 15:56:45",
      "modified": "2023-11-04 17:15:00",
      "commits": 3
    }
  ],
  "_score": 7.723619835515464,
  "_indexed": true,
  "_nocasepkg": "aipw",
  "_universes": [
    "yqzhong7"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:09:00.000Z",
      "distro": "noble",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "127a526635069d078471c0eefc7621cf5f7bdbe4cbe3cde0fbcd3789050186fa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:08:05.000Z",
      "distro": "noble",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "3e8cc42f1a562ad3c4c9cf71e6a08987960bc6f7545a62dc79c3ebf601c54857",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:08:44.000Z",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "57b8e33181c2323f2223b5675db9ffbcb15629f236feacf169e17100034cc756",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:09:27.000Z",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "4b672b2c56d2cfdb2847d2d38b171792dbc0841a2ea608fb93789e1fb887e741",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:08:13.000Z",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "a1415d12e8130dd113f6965636e0fda3c05e0296ec0d6a67bed159222e977981",
      "status": "success",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:09:42.000Z",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "fab3b15be6f0e2ad50565faed59ece15a58fa616f04eaaec71b3c8246e7a82d5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:07:19.000Z",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "e2009bf8af50303c8f5f05c53e69a3cff5e48fdab6aacf36a54f6e7cf5e713bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.6.9.3",
      "date": "2026-06-10T07:07:16.000Z",
      "commit": "23a85c46eaad337a2a60c650fdd7542fcb042167",
      "fileid": "8c7f06dd4fd34a0b3cd921baeba89cdfa02fa647c3ffa74333154fcd5acdec42",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/yqzhong7/actions/runs/27259147451"
    }
  ]
}