norm_w_to_n: Function to normalize weights to N or to N in treated and...

View source: R/plasso.R

norm_w_to_nR Documentation

Function to normalize weights to N or to N in treated and controls separately

Description

Function to normalize weights to N or to N in treated and controls separately

Usage

norm_w_to_n(w, d = NULL)

Arguments

w

vector of weights that should be normalized

d

vector of treament indicators

Value

Normalized weights


MCKnaus/causalDML documentation built on June 11, 2025, 12:30 a.m.