Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates for multi-state models #204

Open
ddsjoberg opened this issue Apr 22, 2024 · 0 comments
Open

Updates for multi-state models #204

ddsjoberg opened this issue Apr 22, 2024 · 0 comments

Comments

@ddsjoberg
Copy link
Collaborator

Thank you @therneau for the note!

  1. Multi-state data gets more complicated wrt number at risk.
    Consider the following simple model (for the colon cancer data set)
library(survival)
state <- c("enroll", "progression", "death")
smat <- matrix(0, 3, 3, dimnames=list(state, state))
smat[1:2, 3] <- smat[1,2] <- 1
statefig(1:2, smat)

The number at risk for the enroll:progression transition is the number at the foot of the arrow; the number at risk for the death state is the sum of the number in the enroll and progression box. The first is probably the right label for a cumulative hazard curve. Is the second the one we want for the Prob("death") curve? But then you can't have just one n.risk row for a plot with multiple groups.

  1. For multi-state curves, there are advocates for both "stacked" and non stacked forms.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant