sOlsSplines: IV-like weighting function, OLS specifications

View source: R/testfunctions_splines.R

sOlsSplinesR Documentation

IV-like weighting function, OLS specifications

Description

IV-like weighting function for OLS specifications.

Usage

sOlsSplines(x = NULL, d, j, exx)

Arguments

x

vector, the value of the covariates other than the intercept and the treatment indicator.

d

0 or 1, indicating treatment or control.

j

scalar, position of the component one is interested in constructing the IV-like weight for.

exx

matrix corresponding to E[XX'].

Value

scalar.


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