computeWeightControl: One iteration of weight

Description Usage Arguments Value

View source: R/weights.R

Description

Single iteration of weight demean w.r.t. continuous control.

Usage

1
computeWeightControl(dt, w_i, denom, c)

Arguments

dt

data.table.

w_i

Character. Weight to demean.

denom

Numeric. Relative size of untreated population.

c

Character. Name of the control to demean on.

Value

Void. Mutate the weight vector in the original data.table.


CdfInnovLab/didImputation documentation built on Dec. 17, 2021, 1:57 p.m.