Tidy Methods for Bayesian Treatment Effect Models


[Up] [Top]

Documentation for package ‘tidytreatment’ version 0.2.2

Help Pages

avg_treatment_effects Get (conditional) average treatment effect draws from posterior
bartmodel1 Example model 1
bartmodel1_modelmatrix Model matrix used for 'bartmodel1'
covariate_importance Counts of variable overall inclusion
covariate_with_treatment_importance Counts of variable inclusion when interacting with treatment
fitted_draws.bartMachine Get fitted draws from posterior of 'bartMachine' model
fitted_draws.lbart Get fitted draws from posterior of 'lbart' model
fitted_draws.mbart Get fitted draws from posterior of 'mbart' model
fitted_draws.mbart2 Get fitted draws from posterior of 'mbart2' model
fitted_draws.pbart Get fitted draws from posterior of 'pbart' model
fitted_draws.wbart Get fitted draws from posterior of 'wbart' model
fitted_draws_BART Get fitted draws from posterior of 'BART'-package models
has_common_support Evaluate if observations have common support.
has_tidytreatment_methods Check if a model class has required generic methods for tidytreatment functions.
highDim_testdataset3 ACIC2019 High Dimensional Test Dataset
posterior_trees_BART Get posterior tree draws into tibble format from BART model
predicted_draws.bartMachine Get predict draws from posterior of 'bartMachine' model
predicted_draws.wbart Get predict draws from posterior of 'wbart' model
predicted_draws_BART Get predict draws from posterior of 'BART'-package models
residual_draws.bartMachine Get residual draw for 'bartMachine' model
residual_draws.pbart Get residual draw for 'pbart' model
residual_draws.wbart Get residual draw for 'wbart' model
residual_draws_BART Get residual draw for BART model
simulate_su_hill_data Simulate data with scenarios from Hill and Su (2013)
suhillsim1 Example simulated dataset 1
tidytreatment tidytreatment: Tidy methods for Bayesian treatment effect models
tidy_ate Get average treatment effect draws from posterior
tidy_att Get average treatment effect on treated draws from posterior
treatment_effects Get (individual) treatment effect draws from posterior
treatment_effects.default Get treatment effect draws from posterior
variance_draws Get variance draws from posterior of BART models