Learn R Programming

FLAME (version 1.0.0)

AVG_EFFECT: Compute Estimated Treatment Effects

Description

AVG_EFFECT computes estimated treatment effects. Estimated treatment effect is the weighted average of CATEs, with weight being the number of units in each matched group.

Usage

AVG_EFFECT(CATE_object)

Arguments

CATE_object

object returned by applying CATE function

Value

estimated treatment effects

Examples

Run this code
# NOT RUN {
data(toy_data)
result <- FLAME::FLAME_bit(data = toy_data, holdout = toy_data)
CATE_object <- FLAME::CATE(FLAME_object = result, cov_name = c("X1", "X2"), cov_val = c("2", "2"))
FLAME::AVG_EFFECT(CATE_object)
# }

Run the code above in your browser using DataLab