search for: risklimit

Displaying 1 result from an estimated 1 matches for "risklimit".

Did you mean: risklimits
2008 Dec 04
1
comparing SAS and R survival analysis with time-dependent covariates
...3.236: data trythis; input id days timedeli stat; datalines; 1 3 .5 1 2 1.5 1 1 3 6 1000 0 4 8 1000 1 5 8 1 0 6 21 1000 1 7 11 3 1 run; proc phreg data=trythis; model days*stat(0)=deli/risklimits ties=exact; if timedeli>days then deli=0; else deli=1; run; Example (continued). R gives HR=3.91: tmp = data.frame(id=c(1, 1, 2, 2, 3, 4, 5, 5, 6, 7, 7), start=c(0.0, 0.5, 0.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 3.0), end=c(0.5, 3.0, 1.0, 1.5, 6.0, 8.0, 1.0, 8.0, 21.0, 3.0, 11.0...