The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

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, 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. For data nested in few clusters, a within-cluster design splits participants within every cluster, grows the tree on the outcome centered by cluster, and confirms the partition three ways (confirm_within()). The underlying 'ctree' algorithm is provided by 'partykit' (Hothorn & Zeileis, 2015; Hothorn, Hornik & Zeileis, 2006 <doi:10.1198/106186006X133933>).

Version: 1.3.0
Depends: R (≥ 4.0.0)
Imports: partykit (≥ 1.2-0), mice (≥ 3.0.0), stats, methods
Suggests: sandwich, MASS, nnet, knitr, rmarkdown, testthat (≥ 3.0.0)
Published: 2026-11-07
DOI: 10.32614/CRAN.package.ctreeMI
Author: Phillip Sherlock ORCID iD [aut, cre]
Maintainer: Phillip Sherlock <phillip.sherlock at ufl.edu>
BugReports: https://github.com/Phillip-Sherlock/ctreeMI/issues
License: GPL (≥ 3)
URL: https://github.com/Phillip-Sherlock/ctreeMI
NeedsCompilation: no
Materials: NEWS
CRAN checks: ctreeMI results

Documentation:

Reference manual: ctreeMI.html , ctreeMI.pdf
Vignettes: Discover, then confirm (source, R code)
Few clusters: the within-cluster design (source, R code)

Downloads:

Package source: ctreeMI_1.3.0.tar.gz
Windows binaries: r-devel: ctreeMI_1.3.0.zip, r-release: ctreeMI_1.3.0.zip, r-oldrel: ctreeMI_1.3.0.zip
macOS binaries: r-release (arm64): ctreeMI_1.3.0.tgz, r-oldrel (arm64): ctreeMI_1.3.0.tgz, r-release (x86_64): ctreeMI_1.3.0.tgz, r-oldrel (x86_64): ctreeMI_1.3.0.tgz
Old sources: ctreeMI archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=ctreeMI to link to this page.

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.