Displaying 1 result from an estimated 1 matches for "exercisedate".
2008 Apr 28
1
Survival Regression with multiple events per subject
...lt;- survreg(formula=Surv(time,exercise)~itm+posret+negret,
data=Data, dist="weibull")
summary(survRegData)
My Question is: how can I modify the above command for the use of multiple
events per subject when the optionid is used for indicating the subject?
The dataset look like:
data | exercisedate | itm | posret | negret | optionid| exercise | time
1996 | 1996 | 1.4518 | 0.05487 |-0.4485 | 1 | 0 | 1
1997 | 1997 | 2.4535 | 0.00385 |-0.2525 | 1 | 1 | 5
1998 | 1998 | 1.2523 | 0.04486 |-0.1482 | 2 | 1 | 8
1999 | 1999...