Displaying 1 result from an estimated 1 matches for "resultag".
Did you mean:
resulta
2006 Oct 25
1
Incorrect 'n' returned by survfit()
I've a data set with 60000 rows of data representing 6000+ distinct loans. I did a coxph() regression on it (see call below), but a subsequent survfit() call on the coxph object is almost certainly wrong. It gives n=6 when it should be
more like 6000+ (I think)
> survfit(resultag)
Call: survfit.coxph(object = resultag)
n events median 0.95LCL 0.95UCL
6 489 Inf 2 Inf
When I reduced the dataset to just 1000 rows, the survfit()
call on the coxph object looks more correct.
> survfit(resulting)
Call: survfit.coxph(object = resulting)...