Random Forests for time-fixed and time-dependent predictors: The DynForest R package - Bordeaux Population Health Accéder directement au contenu
Pré-Publication, Document De Travail Année : 2023

Random Forests for time-fixed and time-dependent predictors: The DynForest R package

Anthony Devaux
Cécile Proust-Lima
  • Fonction : Auteur
  • PersonId : 1222956
Robin Genuer

Résumé

The R package DynForest implements random forests for predicting a categorical or a (multiple causes) time-to-event outcome based on time-fixed and time-dependent predictors. Through the random forests, the time-dependent predictors can be measured with error at subject-specific times, and they can be endogeneous (i.e., impacted by the outcome process). They are modeled internally using flexible linear mixed models (thanks to lcmm package) with time-associations pre-specified by the user. DynForest computes dynamic predictions that take into account all the information from time-fixed and time-dependent predictors. DynForest also provides information about the most predictive variables using variable importance and minimal depth. Variable importance can also be computed on groups of variables. To display the results, several functions are available such as summary and plot functions. This paper aims to guide the user with a step-by-step example of the different functions for fitting random forests within DynForest.
Fichier principal
Vignette du fichier
draft_HAL_v0.pdf (524.64 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03970683 , version 1 (02-02-2023)
hal-03970683 , version 2 (10-04-2024)

Identifiants

Citer

Anthony Devaux, Cécile Proust-Lima, Robin Genuer. Random Forests for time-fixed and time-dependent predictors: The DynForest R package. 2023. ⟨hal-03970683v1⟩
26 Consultations
385 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More