wAttSplines: Target weighting function, for ATT

Description Usage Arguments Value

View source: R/testfunctions_splines.R

Description

Target weighting function, for the ATT.

Usage

1
wAttSplines(z, d, ed)

Arguments

z

vector, the value of the instrument (redundant in this function; included to exploit apply()).

d

0 or 1, indicating treatment or control (redundant in this function; included to exploit apply()).

ed

scalar, unconditional probability of taking up treatment.

Value

scalar.


ivmte documentation built on Sept. 17, 2021, 5:06 p.m.