wAttSplines: Target weighting function, for ATT

View source: R/testfunctions_splines.R

wAttSplinesR Documentation

Target weighting function, for ATT

Description

Target weighting function, for the ATT.

Usage

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.


jkcshea/ivmte documentation built on Aug. 31, 2024, 6:44 p.m.