Skip to content

AHB (Adaptive Hyper-box) R package provides two main algorithms: AHB_fast_match and AHB_MIP_match for Interpretable Individualized Treatment Effect Estimation.

Notifications You must be signed in to change notification settings

thowell332/AHB-R-package

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

AHB

A R package for performing matching for observational causal inference on datasets containing discrete and continuous covariates

Documentation here

AHB is a R package for performing matching for observational causal inference on datasets containing discrete and continuous covariates. It implements the mixed integer program algorithm for Adaptive Hyper-Boxes (AHB_MIP_matching and approximate fast algorithm for Adaptive Hyper-Boxes (AHB_fast_matching) which match treatment and control units in unit-specific, hyper-box-shaped regions of the covariate space. The resulting matched groups are interpretable, because the matches are made on covariates, and high-quality, because machine learning is used to determine which covariates are important to match on.

Installation

Dependencies

AHB requires R version (>=4.0.0). Install from here if needed. Required:

  • utils (>=4.0.0)
  • stats (>=4.0.0)
  • Rcpp (>=1.0.4.6)
  • bartMachine (>=1.2.5.1) or xgboost (>=1.0.0.2)
  • Rcplex (>= 0.3.3) or Rglpk (>=0.6.4)

If your R version does not have these packages, install from here.

User Installation

Download it directly from github

About

AHB (Adaptive Hyper-box) R package provides two main algorithms: AHB_fast_match and AHB_MIP_match for Interpretable Individualized Treatment Effect Estimation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 83.7%
  • C++ 16.3%