Skip to content

flexBCF

1.0.2

Fast & Flexible Implementation of Bayesian Causal Forests

0packages depend
1.4Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Sameer K. DeshpandeFirst published 2025-11-251 releasesCRAN page ↗GitHub ↗

A faster implementation of Bayesian Causal Forests (BCF; Hahn et al. (2020) doi:10.1214/19-BA1195), which uses regression tree ensembles to estimate the conditional average treatment effect of a binary treatment on a scalar output as a function of many covariates. This implementation avoids many redundant computations and memory allocations present in the original BCF implementation, allowing the model to be fit to larger datasets. The implementation was originally developed for the 2022 American Causal Inference Conference's Data Challenge. See Kokandakar et al. (2023) doi:10.1353/obs.2023.0024 for more details.

Install

Health

CRAN checks
13OK
Slowest check: 4.4 min · r-devel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
1
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    11 OK · 2 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
Examples that run
0%
Documented parameters
72%
Return-value docs
100%
References docs
33%

Downloads

1.4K
CRAN downloads in the past year
Rank #22,403 · ~4/day · ~119/mo
Daily download trend is not available in this view yet.
15330 days
49790 days
1.4K1 year
Compare downloads with other packages →
Also on431 r2u20 autocran

Repository

Repository
4Stars
1Forks
0Open issues
0Open PRs
0Releases
29Commits
1Contributors
29 commits · Last activity 2025-12-01

Stars over time

2023-08-05 · 42026-07-07 · 4

Repository practices

Upstream repositoryBeta

1 development-tooling and community-health practice detected across 1 family in the upstream repository

Checks run against github.com/skdeshpande91/flexbcf on 2026-08-23.

Continuous integration (1)
GitHub Actions
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
3 external dependencies (excludes base and recommended)
Depends (0)
none
Imports (1)
LinkingTo (2)
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (2)
Maintainer (1)
Author, Maintainer
Authors (2)
Author, Maintainer
Package Timeline

1 release. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.2Latest
    2026-03-10 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-11-25
Total releases
1 / 1 yrs
License
GPL (>= 3) OSI
Download size
39 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("flexBCF")
Deshpande, S. K., & Kokandakar, A. H. (2025). flexBCF: Fast & Flexible Implementation of Bayesian Causal Forests (Version 1.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.flexBCF

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for flexBCF version 1.0.2 [Data set]. HJJB, LLC. Data release v2026-08-26. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy