CERFIT
0.2.0Causal Effect Random Forest of Interaction Trees
Overview
Fits a Causal Effect Random Forest of Interaction Trees (CERFIT) which is a modification of the Random Forest algorithm where each split is chosen to maximize subgroup treatment heterogeneity. Doing this allows it to estimate the individualized treatment effect for each observation in either randomized controlled trial (RCT) or observational data. For more information see L. Li, R. A. Levine, and J. Fan (2022) doi:10.1002/sta4.457.
Install
Health
- OK2026-04-2214 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-1813 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-04-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-04-0913 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
- OK2026-03-1014 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- 98%
- Return-value docs
- 100%
- References docs
- 20%
Downloads
Dependencies
Nothing depends on this yet.
Code & Tests
- Cyclomatic complexity
- 5.0 median / 49 max
Test coverage
Line coverage
–
Expression
–
Tests / Examples
–
Functions
15 2 exported
Complexity
15.2 avg / 49 max
Call network
15 nodes / 7 edges
Call graph
Open call graph →Lowest coverage
Per-function coverage is not measured for this package yet.
Datasets
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| educational | data.frame | 1,000 × 7 | – |
| warts | tbl_df/tbl/data.frame | 180 × 8 | – |
People & History
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- 0.2.0Latest
- RR 4.6.0 released · 2026-04-24
- 0.1.12025-09-26 · diff ↗
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.1.02022-06-01
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-06-01
- Total releases
- 3 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 2.10
- Bundled data
- 6.4 KB / 2 files
- Download size
- 48 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet