Package: ctreeMI 0.1.0

Phillip Sherlock

ctreeMI: Conditional Inference Trees with Stacked Multiple Imputation

Implements the stacked-imputation workflow for conditional inference trees ('ctree') described in Sherlock et al. (2026) <doi:10.1080/00273171.2026.2661244>. When data contain missing values, multiply imputed datasets (e.g., from 'mice') are stacked vertically and a single 'ctree' is fit on the combined data. To correct for the artificially inflated sample size introduced by stacking, the pruning significance threshold is divided by the number of imputations M (the Stack/M correction), producing a conservative but interpretable single tree that incorporates imputation uncertainty without requiring pooling of structurally different trees. Also exports stack_imputations() and rescale_alpha() as standalone utilities. The underlying 'ctree' algorithm is provided by 'partykit' (Hothorn & Zeileis, 2015; Hothorn, Hornik & Zeileis, 2006 <doi:10.1198/106186006X133933>).

Authors:Phillip Sherlock [aut, cre]

ctreeMI_0.1.0.tar.gz
ctreeMI_0.1.0.tar.gz(r-4.7-any)ctreeMI_0.1.0.tar.gz(r-4.6-any)
ctreeMI_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
ctreeMI/json (API)

# Install 'ctreeMI' in R:
install.packages('ctreeMI', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/phillip-sherlock/ctreemi/issues

On CRAN:

Conda:

1.00 score 3 exports 67 dependencies

Last updated from:08c92d62de. Checks:4 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK139
source / vignettesOK226
linux-release-x86_64OK127
wasm-releaseOK116

Exports:ctree_stackedrescale_alphastack_imputations

Dependencies:backportsbitbit64bootbroomclicliprcodetoolscpp11crayondplyrforcatsforeachFormulagenericsglmnetgluehavenhmsinumiteratorsjomolatticelibcoinlifecyclelme4magrittrMASSMatrixmiceminqamitmlmvtnormnlmenloptrnnetnumDerivordinalpanpartykitpillarpkgconfigprettyunitsprogresspurrrR6rbibutilsRcppRcppEigenRdpackreadrreformulasrlangrpartshapestringistringrsurvivaltibbletidyrtidyselecttzdbucminfutf8vctrsvroomwithr