meancentering: Mean Centering with Taking Care of the Transition Type(s)
Description
This function is needed inside the simEBMT
function.Usage
meancentering(d, x, q, x.name, q.name)
Arguments
x.name
name of the covariate for pasting the new transition
type specific covariate name
q.name
name of the transition type for pasting the new transition
type specific covariate name
Value
- A data set containing simulated event histories.
Details
Mean centering with taking care of transition-types is important for boosting of partial likelihood multi-state models as implemented by the package gamboostMSM
.