estimate_eif_wmean: Obtain an estimate of the efficient influence function for...

Description Usage Arguments

View source: R/wmean_fn.R

Description

Obtain an estimate of the efficient influence function for the treatment-specific weighted mean parameter

Usage

1
2
3
4
5
6
7
estimate_eif_wmean(
  trt_spec_cond_mean_est,
  trt_spec_prob_est,
  trt_level,
  out,
  treat
)

Arguments

trt_spec_cond_mean_est

Conditional mean for trt_level

trt_spec_prob_est

Propensity for trt_level

trt_level

Treatment level

out

A numeric vector containing the outcomes. Missing outcomes are allowed.

treat

A numeric vector containing treatment status. Missing values are not allowed unless the corresponding entry in out is also missing. Only values of 0 or 1 are treated as actual treatment levels. Any other value is assumed to encode a value for which the outcome is missing and the corresponding outcome value is ignored.


drord documentation built on May 21, 2021, 1:06 a.m.