norm_w_to_n {plasso}R Documentation

Normalization of sample weights for potential sample weights

Description

norm_w_to_n normalizes weights either to N or to N in treated and controls separately.

Usage

norm_w_to_n(w, d = NULL)

Arguments

w

Vector or n x 1 matrix of weights that should be normalized

d

Vector of treatment indicators

Value

Normalized weights.


[Package plasso version 0.1.2 Index]