norm_w_to_n: Normalization of sample weights for potential sample weights

View source: R/internal.plasso.R

norm_w_to_nR 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.


plasso documentation built on May 29, 2024, 6:46 a.m.