Learn R Programming

htetree (version 0.1.20)

Causal Inference with Tree-Based Machine Learning Algorithms

Description

Estimating heterogeneous treatment effects with tree-based machine learning algorithms and visualizing estimated results in flexible and presentation-ready ways. For more information, see Brand, Xu, Koch, and Geraldo (2021) . Our current package first started as a fork of the 'causalTree' package on 'GitHub' and we greatly appreciate the authors for their extremely useful and free package.

Copy Link

Version

Install

install.packages('htetree')

Monthly Downloads

352

Version

0.1.20

License

GPL-2 | GPL-3

Maintainer

Jiahui Xu

Last Published

January 13th, 2025

Functions in htetree (0.1.20)

honest.est.causalTree

honest re-estimation and change the frame of object using estimation sample
hte_ipw

Estimate Heterogeneous Treatment Effect via Adjusted Causal Tree
model.frame.causalTree

Intermediate function for causalTree
na.causalTree

Intermediate function for causalTree
saveGCSS

Save CSS File Embedded in Shiny App
simulation.1

A Simulated Dataset
saveInd

Save HTML Index Embedded in Shiny App
hte_match

Estimate Heterogeneous Treatment Effect via Adjusted Causal Tree
saveUI

Save Shiny UI Temporarily
makeplots

Visualize Causal Tree and the Estimated Results
hte_plot_line

Visualize the Estimated Results
matchinleaves

NN Matching in Leaves
saveServ

Save Shiny Server Temporarily
saveFiles

Save Necessary Files to Run Shiny App
saveBCSS

Save Javascript Embedded in Shiny App
hte_plot

Visualize the Estimated Results
htetree.anova

Intermediate function for causalTree
plotOutcomes

Intermediate function for hte_plot_line
runDynamic

Visualize Causal Tree and Treatment Effects via Shiny
getDensities

Getting Distribution in Treatment and Control Groups
importance

Caclulate variable importance
clearTemp

Clear Temporary Files
est.causalTree

Intermediate function for causalTree
honest.est.rparttree

honest re-estimation and change the frame of object using estimation sample
causalTree.control

Intermediate function for causalTree
causalTreecallback

Intermediate function for causalTree
causalTreeco

Intermediate function for causalTree
getDefaultPath

Get the Current Working Directory
honest.rparttree

Honest recursive partitioning Tree
honest.causalTree

Causal Effect Regression and Estimation Trees: One-step honest estimation
causalTree.matrix

Intermediate function for causalTree
formatg

Intermediate function for causalTree
estimate.causalTree

estimate causal Tree
causalTree

Causal Effect Regression and Estimation Trees
causalTree.branch

Compute the "branches" to be drawn for an causalTree object
bundScript

Include the Javascript Used in Shiny
init.causalForest

Causal Effect Regression and Estimation Forests (Tree Ensembles)
hte_causalTree

Estimate Heterogeneous Treatment Effect via Causal Tree
hte_forest

Estimate Heterogeneous Treatment Effect via Random Forest