calculate_ps_weights: Calculates propensity score weights.

View source: R/boot.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)


PSAboot documentation built on Oct. 24, 2023, 1:06 a.m.