Skip to contents

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

Usage

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

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.

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.

References

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