[R] Survival Analysis with two different events

From: sickboyedd <sickboyedd_at_gmail.com>
Date: Sun, 29 Jun 2008 10:53:10 -0700 (PDT)

Hello all,

I am hoping to use survival analysis to examine whether parasite attack increases nest death in a species of social wasp. I therefore have data for

  1. Whether the nest "died" in the 6 week census period ("Status", where 1=died, 0=survived)
  2. The day number of death/last recorded day it was observed alive.
  3. Whether the nest was attacked by the parasite (0/1 as with 1.)
  4. The day number of attack/ last recorded day the nest was observed without a parasite.

i.e. example dataset:

status death para paraday

0           42       0       42
1           32       0       42
1           25       1       13
0           42       1       25 ...

I've looked over r-help, as well as in Crawley etc., but I have yet to find a solution. Can anyone point me in the right direction or literature?

Many thanks,

Edd Almond

View this message in context: http://www.nabble.com/Survival-Analysis-with-two-different-events-tp18183526p18183526.html
Sent from the R help mailing list archive at Nabble.com.

R-help_at_r-project.org mailing list
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Received on Sun 29 Jun 2008 - 17:56:58 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 29 Jun 2008 - 18:31:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive