mstate requires that the dataset be in long format i.e. one line for each transition for which a subject is at risk. But i have a time dependent covariate that changes within a state i.e. even before a transition occurs to next state. How can I use mstate in this scenario?
mstate requires that the dataset be in long format i.e. one line for each transition for which a subject is at risk. But i have a time dependent covariate that changes within a state i.e. even before a transition occurs to next state. How can I use mstate in this scenario?