Re: [R] cumulative incidence for mstate in Survival package in R

2013-12-31 Thread Jieyue Li
Thanks a lot for the reply! On Tue, Dec 31, 2013 at 1:59 AM, Göran Broström wrote: > On 12/30/2013 11:04 PM, Jieyue Li wrote: > >> Dear All, >> >> I want to have the cumulative incidence curves for 'mstate' data using >> Survival package in R. But I got some problems: >> I. Problem 1: >> 1. If I

Re: [R] cumulative incidence for mstate in Survival package in R

2013-12-31 Thread Göran Broström
On 12/31/2013 09:05 PM, Jieyue Li wrote: Thanks a lot for the reply! On Tue, Dec 31, 2013 at 1:59 AM, Göran Broström mailto:goran.brost...@umu.se>> wrote: On 12/30/2013 11:04 PM, Jieyue Li wrote: Dear All, I want to have the cumulative incidence curves for 'mstate' data

Re: [R] cumulative incidence for mstate in Survival package in R

2013-12-31 Thread Terry Therneau
Question 1: How to get just 2 cumulative incidence curves when there are multiple covariates. I don't understand what you want. Assume that we have "liver transplant" and "death while waiting for a transplant" as my two events. There are overall curves (2), or one can create curves separate

Re: [R] cumulative incidence for mstate in Survival package in R

2013-12-31 Thread Göran Broström
On 12/30/2013 11:04 PM, Jieyue Li wrote: Dear All, I want to have the cumulative incidence curves for 'mstate' data using Survival package in R. But I got some problems: I. Problem 1: 1. If I only use intercept without any covariates, I can have 'right' cumulative incidence curves (2 for 2 compe