outcome_diff: Outcome difference

Description Usage Arguments Value

View source: R/outputs.R

Description

Calculates the diffrence between E(Y|I=1) and E(Y|I=0)

Usage

1
outcome_diff(Y, wgt1, wgt = rep(1, length(Y)))

Arguments

Y

outcome vector (must be numeric without NA's).

wgt1

weights under I = 1

wgt

an optional vector of weights.

Value

outcome difference


optinterv documentation built on March 26, 2020, 7:05 p.m.