wtd_mean: 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 Expection

Usage

1
wtd_mean(X, TI, w)

Arguments

X

A Single Vector of Covariate Information

TI

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

w

Weights.

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

Value

Weighted Group Expectation


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