wtd_moment: Given Propensity Scores, Group Indicators, and Weights:...

Description Usage Arguments Value

View source: R/balance_functions.R

Description

Given Propensity Scores, Group Indicators, and Weights: Estimate Group Non-Central Moment

Usage

1
wtd_moment(X, TI, w, mom = 1)

Arguments

X

A Single Vector of Covariate Information

TI

Indicators where 1 in group and zero otherwise. Typically treatment/exposure indicators.

w

Weights.

mom

Power of Moment, default to 1.

Useful for covariate balance where the groups are defined by exposure levels.

Value

Weighted Group Non-Central Moment


bvegetabile/entbal documentation built on July 28, 2021, 8:50 p.m.