Conditional Inference Trees with Stacked Multiple Imputation

Implements the stacked-imputation workflow for conditional inference trees ('ctree') described in Sherlock et al. (2026) . 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, every node-level test statistic is divided by the number of imputations M, the node-level p-values are recomputed from the chi-squared reference distribution 'ctree' uses (including its multiplicity adjustment across candidate splitting variables), and the tree is compressed bottom-up (the Stack/M correction). Degrees of freedom are derived for each node and each candidate variable, so univariate, bivariate and higher-dimensional outcomes are all handled, as are unordered factor predictors, whose degrees of freedom depend on how many levels remain in a node. The result is a single interpretable tree that incorporates imputation uncertainty without requiring pooling of structurally different trees. Also exports stack_imputations(), rescale_statistic(), prune_stackM(), node_table() and report_ctreeMI() as standalone utilities. The underlying 'ctree' algorithm is provided by 'partykit' (Hothorn & Zeileis, 2015; Hothorn, Hornik & Zeileis, 2006 ).


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("ctreeMI")

1.1.0 by Phillip Sherlock, 16 days ago


https://github.com/Phillip-Sherlock/ctreeMI


Report a bug at https://github.com/Phillip-Sherlock/ctreeMI/issues


Browse source code at https://github.com/cran/ctreeMI


Authors: Phillip Sherlock [aut, cre] (ORCID:


Documentation:   PDF Manual  


GPL (>= 3) license


Imports partykit, mice, stats, methods

Suggests testthat


See at CRAN