{
  "_id": "6a17e4b2acfb0bcc41da0ad6",
  "Package": "OutcomeWeights",
  "Type": "Package",
  "Title": "Outcome Weights of Treatment Effect Estimators",
  "Version": "0.2.0.9000",
  "Description": "Many treatment effect estimators can be written as\nweighted outcomes. These weights have established use cases\nlike checking covariate balancing via packages like 'cobalt'.\nThis package takes the original estimator objects and outputs\nthese outcome weights. It builds on the general framework of\nKnaus (2024) <doi:10.48550/arXiv.2411.11559>. This version is\ncompatible with the 'grf' package and provides an internal\nimplementation of Double Machine Learning.",
  "Authors@R": "c(\nperson(\"Michael C.\", \"Knaus\", email = \"michael.knaus@uni-tuebingen.de\", role = c(\"aut\",\"cre\"), comment = c(ORCID = \"0000-0002-7328-1363\")),\nperson(\"Henri\", \"Pfleiderer\", email = \"henri.1999@web.de\", role = \"ctb\")\n)",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "URL": "https://github.com/MCKnaus/OutcomeWeights",
  "BugReports": "https://github.com/MCKnaus/OutcomeWeights/issues",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "make",
  "Repository": "https://mcknaus.r-universe.dev",
  "Date/Publication": "2026-04-28 12:40:15 UTC",
  "RemoteUrl": "https://github.com/mcknaus/outcomeweights",
  "RemoteRef": "HEAD",
  "RemoteSha": "0c94f940b04c14d0247b46842af37752e306b79e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-05-28 06:35:58 UTC",
    "User": "root"
  },
  "Author": "Michael C. Knaus [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-7328-1363>),\nHenri Pfleiderer [ctb]",
  "Maintainer": "Michael C. Knaus <michael.knaus@uni-tuebingen.de>",
  "MD5sum": "c5e25cb7d05ba163ecac915f0bf311ff",
  "_user": "mcknaus",
  "_type": "src",
  "_file": "OutcomeWeights_0.2.0.9000.tar.gz",
  "_fileid": "9130a32968801238710b9ef4b9514aa54d608be44ea1430d174ad9eb0bf37c85",
  "_filesize": 4735890,
  "_sha256": "9130a32968801238710b9ef4b9514aa54d608be44ea1430d174ad9eb0bf37c85",
  "_created": "2026-05-28T06:35:58.000Z",
  "_published": "2026-05-28T06:46:09.971Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 78237103322,
      "time": 184,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7259301225"
    },
    {
      "job": 78237103341,
      "time": 200,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7259304911"
    },
    {
      "job": 78237103337,
      "time": 193,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7259303323"
    },
    {
      "job": 78237103334,
      "time": 178,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7259299933"
    },
    {
      "job": 78237103331,
      "time": 110,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7259339111"
    },
    {
      "job": 78237103330,
      "time": 274,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7259355963"
    },
    {
      "job": 78237103316,
      "time": 160,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7259334728"
    },
    {
      "job": 78237103345,
      "time": 298,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7259387787"
    },
    {
      "job": 78236630241,
      "time": 229,
      "config": "source",
      "r": "4.6.0",
      "check": "ERROR",
      "artifact": "7259254198"
    },
    {
      "job": 78237103320,
      "time": 137,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7259289653"
    },
    {
      "job": 78237103299,
      "time": 181,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "WARNING",
      "artifact": "7259300502"
    },
    {
      "job": 78237103300,
      "time": 173,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "WARNING",
      "artifact": "7259298800"
    },
    {
      "job": 78237103297,
      "time": 155,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "WARNING",
      "artifact": "7259294321"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159",
  "_status": "failure",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mcknaus/outcomeweights",
  "_commit": {
    "id": "0c94f940b04c14d0247b46842af37752e306b79e",
    "author": "MCKnaus <31857441+MCKnaus@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #4 from romarakov/master\n\nSmoother extractors + outcome weights for DoubleML",
    "time": 1777380015
  },
  "_maintainer": {
    "name": "Michael C. Knaus",
    "email": "michael.knaus@uni-tuebingen.de",
    "login": "mcknaus",
    "description": "",
    "uuid": 31857441,
    "orcid": "0000-0002-7328-1363"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppArmadillo",
      "role": "LinkingTo"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "grf",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "pkgdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "mcknaus",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-22",
      "n": 5
    },
    {
      "week": "2025-23",
      "n": 3
    },
    {
      "week": "2025-43",
      "n": 2
    },
    {
      "week": "2025-44",
      "n": 3
    },
    {
      "week": "2025-46",
      "n": 3
    },
    {
      "week": "2026-03",
      "n": 1
    },
    {
      "week": "2026-18",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 4,
  "_contributors": [
    {
      "user": "mcknaus",
      "count": 51,
      "uuid": 31857441
    },
    {
      "user": "romarakov",
      "count": 3,
      "uuid": 147953083
    },
    {
      "user": "lkrsl",
      "count": 1,
      "uuid": 93675140
    }
  ],
  "_userbio": {
    "uuid": 31857441,
    "type": "user",
    "name": "MCKnaus"
  },
  "_downloads": {
    "count": 131,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/OutcomeWeights"
  },
  "_devurl": "https://github.com/mcknaus/outcomeweights",
  "_searchresults": 38,
  "_topics": [
    "openblas",
    "cpp",
    "openmp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/OutcomeWeights.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mcknaus/outcomeweights",
  "_realowner": "mcknaus",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2024-11-21"
    },
    {
      "version": "0.1.1",
      "date": "2024-12-20"
    }
  ],
  "_exports": [
    "dml_with_smoother",
    "get_outcome_weights",
    "get_smoother_weights",
    "NuPa_honest_forest",
    "pive_weight_maker",
    "prep_cf_mat",
    "standardized_mean_differences"
  ],
  "_help": [
    {
      "page": "dml_with_smoother",
      "title": "Double ML estimators with outcome smoothers",
      "topics": [
        "dml_with_smoother"
      ]
    },
    {
      "page": "get_outcome_weights",
      "title": "Outcome weights method",
      "topics": [
        "get_outcome_weights"
      ]
    },
    {
      "page": "get_outcome_weights.causal_forest",
      "title": "Outcome weights for the 'causal_forest' function",
      "topics": [
        "get_outcome_weights.causal_forest"
      ]
    },
    {
      "page": "get_outcome_weights.dml_with_smoother",
      "title": "Outcome weights for the 'dml_with_smoother' function",
      "topics": [
        "get_outcome_weights.dml_with_smoother"
      ]
    },
    {
      "page": "get_outcome_weights.DoubleML",
      "title": "Outcome weights for a 'DoubleML' object",
      "topics": [
        "get_outcome_weights.DoubleML"
      ]
    },
    {
      "page": "get_outcome_weights.instrumental_forest",
      "title": "Outcome weights for the 'instrumental_forest' function",
      "topics": [
        "get_outcome_weights.instrumental_forest"
      ]
    },
    {
      "page": "get_outcome_weights.ivreg",
      "title": "Outcome weights for ivreg",
      "topics": [
        "get_outcome_weights.ivreg"
      ]
    },
    {
      "page": "get_outcome_weights.lm",
      "title": "Outcome weights for the lm command",
      "topics": [
        "get_outcome_weights.lm"
      ]
    },
    {
      "page": "get_outcome_weights.lm_robust",
      "title": "Outcome weights for the 'lm_robust' command",
      "topics": [
        "get_outcome_weights.lm_robust"
      ]
    },
    {
      "page": "get_smoother_weights",
      "title": "Smoother weights method",
      "topics": [
        "get_smoother_weights"
      ]
    },
    {
      "page": "get_smoother_weights.cv.plasso",
      "title": "Smoother weights for the 'plasso::cv.plasso' function",
      "topics": [
        "get_smoother_weights.cv.plasso"
      ]
    },
    {
      "page": "get_smoother_weights.drf",
      "title": "Smoother weights for the 'drf::drf' function",
      "topics": [
        "get_smoother_weights.drf"
      ]
    },
    {
      "page": "get_smoother_weights.lm",
      "title": "Smoother weights for the 'stats::lm' function",
      "topics": [
        "get_smoother_weights.lm"
      ]
    },
    {
      "page": "get_smoother_weights.lm_robust",
      "title": "Smoother weights for the 'estimatr::lm_robust' function",
      "topics": [
        "get_smoother_weights.lm_robust"
      ]
    },
    {
      "page": "get_smoother_weights.NuisanceParameters",
      "title": "Smoother weights for outcome models",
      "topics": [
        "get_smoother_weights.NuisanceParameters"
      ]
    },
    {
      "page": "get_smoother_weights.ranger",
      "title": "Smoother weights for the 'ranger::ranger' function",
      "topics": [
        "get_smoother_weights.ranger"
      ]
    },
    {
      "page": "get_smoother_weights.regression_forest",
      "title": "Smoother weights for the 'grf::regression_forest' function",
      "topics": [
        "get_smoother_weights.regression_forest"
      ]
    },
    {
      "page": "get_smoother_weights.rlasso",
      "title": "Smoother weights for the 'hdm::rlasso' function",
      "topics": [
        "get_smoother_weights.rlasso"
      ]
    },
    {
      "page": "get_smoother_weights.xgb.Booster",
      "title": "Smoother weights for the 'xgboost::xgb.train' function",
      "topics": [
        "get_smoother_weights.xgb.Booster"
      ]
    },
    {
      "page": "NuPa_honest_forest",
      "title": "Nuisance parameter estimation via honest random forest",
      "topics": [
        "NuPa_honest_forest"
      ]
    },
    {
      "page": "pive_weight_maker",
      "title": "Outcome weights maker for pseudo-IV estimators.",
      "topics": [
        "pive_weight_maker"
      ]
    },
    {
      "page": "plot.dml_with_smoother",
      "title": "'plot' method for class 'dml_with_smoother'",
      "topics": [
        "plot.dml_with_smoother"
      ]
    },
    {
      "page": "prep_cf_mat",
      "title": "Creates matrix of binary cross-fitting fold indicators (N x # cross-folds)",
      "topics": [
        "prep_cf_mat"
      ]
    },
    {
      "page": "standardized_mean_differences",
      "title": "Calls C++ implementation to calculate standardized mean differences.",
      "topics": [
        "standardized_mean_differences"
      ]
    },
    {
      "page": "summary.dml_with_smoother",
      "title": "'summary' method for class 'dml_with_smoother'",
      "topics": [
        "summary.dml_with_smoother"
      ]
    },
    {
      "page": "summary.get_outcome_weights",
      "title": "'summary' method for class 'outcome_weights'",
      "topics": [
        "summary.get_outcome_weights"
      ]
    },
    {
      "page": "summary.standardized_mean_differences",
      "title": "'summary' method for class 'standardized_mean_differences'",
      "topics": [
        "summary.standardized_mean_differences"
      ]
    }
  ],
  "_pkglogo": "https://github.com/mcknaus/outcomeweights/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/mcknaus/outcomeweights/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "DiceKriging",
    "farver",
    "ggplot2",
    "glue",
    "grf",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lmtest",
    "Matrix",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "rlang",
    "S7",
    "sandwich",
    "scales",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libblas",
      "package": "libopenblas0-pthread",
      "source": "openblas",
      "version": "0.3.26+ds-1ubuntu0.1",
      "name": "openblas",
      "homepage": "https://www.openblas.net/",
      "description": "Optimized BLAS (linear algebra) library (shared lib, pthread)"
    },
    {
      "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"
    },
    {
      "shlib": "libgomp",
      "package": "libgomp1",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "openmp",
      "homepage": "http://gcc.gnu.org/",
      "description": "GCC OpenMP (GOMP) support library"
    }
  ],
  "_score": 5.0269416279590295,
  "_indexed": true,
  "_nocasepkg": "outcomeweights",
  "_universes": [
    "mcknaus"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:38:49.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "34e1540edd5db0d74f57b01be92d856cfba9bb6b2f60d40f415e602a43274819",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:38:55.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "3da9d40b0914a790238b61ab093ec3f51f7e355ac4b8a76e1ba355cc37c8d6f2",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:38:57.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "b23a5f4eecc77fe5006ffbec0f75d85481921ab5bab4581eebf629859b3c755c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:38:42.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "aad4b14951112027410bc8e345d863f9ec3e57e728a7a327a2e49bc55934d957",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:41:46.000Z",
      "arch": "aarch64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "ad9da94c1625ae6655062fde3564bbd8bf59e1dace5d6dae435a82b139afb7a5",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:41:59.000Z",
      "arch": "x86_64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "af7620a78b2843194a8a749f02d61a249e9467beac4dc88e64f72a0fe75b0dc8",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:41:04.000Z",
      "arch": "aarch64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "f026f745d58ca737e223868da0195e88e33012b3ee81adbc28b0384e0e3552d4",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:43:47.000Z",
      "arch": "x86_64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "815dc33884775e29bc6e13f7be4a96622ef1e113cff7a5502338f652380d7b0c",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:38:41.000Z",
      "arch": "emscripten",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "49f225be32b6e794e8011454a5261f8fabe378dc4b850a452193977e78ce24d8",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:37:55.000Z",
      "arch": "x86_64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "c56f6d752330d50f9fee04a848283a8b29fc3b52ad68ef5d23858d36352b1e36",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:37:49.000Z",
      "arch": "x86_64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "a7c07adb36c1e79f329400228cf8d6b272ca42643abc2454cbfcbd79e8040dcc",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.2.0.9000",
      "date": "2026-05-28T06:37:42.000Z",
      "arch": "x86_64",
      "commit": "0c94f940b04c14d0247b46842af37752e306b79e",
      "fileid": "630c21d0c21314b2672aef2274282b5cbbfcefb125ee592b93292d15851ef6df",
      "status": "success",
      "check": "WARNING",
      "buildurl": "https://github.com/r-universe/mcknaus/actions/runs/26558807159"
    }
  ]
}