model4you: Stratified and Personalised Models Based on Model-Based Trees and Forests

Model-based trees for subgroup analyses in clinical trials and model-based forests for the estimation and prediction of personalised treatment effects (personalised models). Currently partitioning of linear models, lm(), generalised linear models, glm(), and Weibull models, survreg(), is supported. Advanced plotting functionality is supported for the trees and a test for parameter heterogeneity is provided for the personalised models. For details on model-based trees for subgroup analyses see Seibold, Zeileis and Hothorn (2016) <doi:10.1515/ijb-2015-0032>; for details on model-based forests for estimation of individual treatment effects see Seibold, Zeileis and Hothorn (2017) <doi:10.1177/0962280217693034>.

Version: 0.9-1
Depends: R (≥ 3.1.0), partykit (≥ 1.2-0), grid
Imports: sandwich, stats, ggplot2, Formula, gridExtra, survival
Suggests: mvtnorm,, psychotools, strucchange, plyr, knitr, ggbeeswarm, MASS
Published: 2018-02-08
Author: Heidi Seibold [aut, cre], Achim Zeileis [aut], Torsten Hothorn [aut]
Maintainer: Heidi Seibold <heidi at>
License: GPL-2 | GPL-3
NeedsCompilation: no
Materials: NEWS
In views: MachineLearning
CRAN checks: model4you results


Reference manual: model4you.pdf
Package source: model4you_0.9-1.tar.gz
Windows binaries: r-prerel:, r-release:, r-oldrel: not available
OS X binaries: r-prerel: model4you_0.9-1.tgz, r-release: model4you_0.9-1.tgz
Old sources: model4you archive


Please use the canonical form to link to this page.