estimate_ps: Estimate the propensity score

View source: R/estimate_ps.R

estimate_psR Documentation

Estimate the propensity score

Description

Estimates the Propensity Score given a treatment vector and features data frame.

Usage

estimate_ps(z, X, ps_method = "SL.xgboost")

Arguments

z

A treatment vector.

X

A features data frame.

ps_method

An estimation model for the propensity score (default: SL.xgboost).

Value

A vector of propensity score estimates.


CRE documentation built on Oct. 19, 2024, 5:07 p.m.