estimate_ps {CRE}R 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.


[Package CRE version 0.2.7 Index]