AVG_EFFECT: Compute Estimated Treatment Effects

Description Usage Arguments Value Examples

View source: R/AVG_EFFECT.R

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

1
AVG_EFFECT(CATE_object)

Arguments

CATE_object

object returned by applying CATE function

Value

estimated treatment effects

Examples

1
2
3
4
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)

chiarui424/FLAME documentation built on Sept. 16, 2019, 8:43 a.m.