Learn R Programming

OutcomeWeights (version 0.1.1)

get_outcome_weights.dml_with_smoother: Outcome weights for the dml_with_smoother function

Description

Post-estimation command to extract outcome weights for double ML run with an outcome smoother.

Usage

# S3 method for dml_with_smoother
get_outcome_weights(object, ..., all_reps = FALSE)

Value

  • If all_reps == FALSE: get_outcome_weights object

  • If all_reps == TRUE: additionally list omega_all_reps: A list containing the outcome weights of each repetition.

Arguments

object

An object of class dml_with_smoother, i.e. the result of running dml_with_smoother.

...

Pass potentially generic get_outcome_weights options.

all_reps

If TRUE, outcomes weights of each repetitions passed. Default FALSE.

References

Knaus, M. C. (2024). Treatment effect estimators as weighted outcomes, https://arxiv.org/abs/2411.11559.