calculate_ps_weights: Calculates propensity score weights.

View source: R/weighting.R

calculate_ps_weightsR Documentation

Calculates propensity score weights.

Description

Calculates propensity score weights.

Usage

calculate_ps_weights(treatment, ps, estimand = "ATE")

Arguments

treatment

a logical vector for treatment status.

ps

numeric vector of propensity scores

estimand

character string indicating which estimand to be used. Possible values are ATE (average treatment effect), ATT (average treatment effect for the treated), ATC (average treatement effect for the controls), ATM (Average Treatment Effect Among the Evenly Matchable), ATO (Average Treatment Effect Among the Overlap Populatio)


jbryer/psa documentation built on Nov. 17, 2023, 8:21 a.m.