Re: [R] Surv(): Stop time must be > start time, NA created

2011-06-03 Thread Dimitris Rizopoulos
On 6/3/2011 12:32 PM, Federico Calboli wrote: On 3 Jun 2011, at 11:27, Dimitris Rizopoulos wrote: this sounds like a competing risks problem. Maybe you would be interested in a cause-specific hazard regression or the Fine& Gray model (http://cran.r-project.org/package=cmprsk). I will loo

Re: [R] Surv(): Stop time must be > start time, NA created

2011-06-03 Thread Federico Calboli
On 3 Jun 2011, at 11:27, Dimitris Rizopoulos wrote: > this sounds like a competing risks problem. Maybe you would be interested in > a cause-specific hazard regression or the Fine & Gray model > (http://cran.r-project.org/package=cmprsk). I will look into that,but, biologically, parkinson leads

Re: [R] Surv(): Stop time must be > start time, NA created

2011-06-03 Thread Dimitris Rizopoulos
this sounds like a competing risks problem. Maybe you would be interested in a cause-specific hazard regression or the Fine & Gray model (http://cran.r-project.org/package=cmprsk). Recently there was also a special issue in JSS on this topic (http://www.jstatsoft.org/v38). I hope it helps.

[R] Surv(): Stop time must be > start time, NA created

2011-06-03 Thread Federico Calboli
I am writing to get a better handle on a warning I am getting from a coxph analysis I am doing. I am analysing age of onset of dementia *after* the onset of parkinson disease. My data looks like: age.park age.dem age.death censor x1 x2 x3 x4 1 76 8788 0 16 33 E3