Learn R Programming

model4you (version 0.9-7)

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

Description

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) ; for details on model-based forests for estimation of individual treatment effects see Seibold, Zeileis and Hothorn (2017) .

Copy Link

Version

Install

install.packages('model4you')

Monthly Downloads

599

Version

0.9-7

License

GPL-2 | GPL-3

Maintainer

Heidi Seibold

Last Published

January 20th, 2021

Functions in model4you (0.9-7)

.modelfit

Fit function when model object is given
node_pmterminal

Panel-Generator for Visualization of pmtrees
lm_plot

Density plot for a given lm model with one binary covariate.
coeftable.survreg

Table of coefficients for survreg model
.prepare_args

Prepare input for ctree/cforest from input of pmtree/pmforest
binomial_glm_plot

Plot for a given logistic regression model (glm with binomial family) with one binary covariate.
objfun

Objective function
coxph_plot

Survival plot for a given coxph model with one binary covariate.
logLik.pmtree

Extract log-Likelihood
.add_modelinfo

Add model information to a personalised-model-ctree
pmtree

Compute model-based tree from model.
rss

Residual sum of squares
print.pmtree

Methods for pmtree
survreg_plot

Survival plot for a given survreg model with one binary covariate.
pmtest

Test if personalised models improve upon base model.
pmodel

Personalised model
varimp.pmforest

Variable Importance for pmforest
predict.pmtree

pmtree predictions
objfun.pmtree

Objective function of a given pmtree
objfun.pmodel_identity

Objective function of personalised models
one_factor

Check if model has only one factor covariate.
pmforest

Compute model-based forest from model.