tidy_att: Get average treatment effect on treated draws from posterior

View source: R/average-treatment-effects-posterior.R

tidy_attR Documentation

Get average treatment effect on treated draws from posterior

Description

ATT = average Treatment Effects on Treated Assumes treated column is either a integer column of 1's (treated) and 0's (nontreated) or logical indicating treatment if TRUE.

Usage

tidy_att(model, treatment, common_support_method, cutoff, ...)

Arguments

model

A supported Bayesian model fit that can provide fits and predictions.

treatment

A character string specifying the name of the treatment variable.

common_support_method

Either "sd", or "chisq". Default is unspecified, and no common support calculation is done.

cutoff

Cutoff for common support (if in use).

...

Arguments to be passed to tidybayes::fitted_draws typically scale for BART models.

Value

A tidy data frame (tibble) with treatment effect values.


tidytreatment documentation built on March 18, 2022, 6:30 p.m.