OLS_pred_w: This function calculates the OLS weights for the fitted...

Description Usage Arguments Value

View source: R/dmlmt.R

Description

This function calculates the OLS weights for the fitted values of each observation

Usage

1
OLS_pred_w(x, t, y, cs_i = NULL)

Arguments

x

Matrix of covariates (N x p matrix)

t

Vector of binary treament indicator

y

Vector of outcomes

cs_i

If not NULL, boolean vector to indicate that observation is on support

Value

Vector of weights


MCKnaus/dmlmt documentation built on Dec. 4, 2020, 9:48 a.m.