Skip to content

Confidence bands with function survplot

2 messages · Tian3507, David Winsemius

#
On Dec 3, 2012, at 1:19 PM, Tian3507 wrote:

            
Reading the "manual" would seem to be the first step:

" conf.int
..... This argument is ignored for fits from survfit, which must have  
previously specified confidence interval specifications."

Although I then noted that your code (and the obvious shift of  
conf.int as an argument to survfit) _both_ created the same confidence  
bands on my machine, so we appear to have different versions (or OS or  
machines)  running. Reading the help page for survfit leaves me a bit  
puzzled since the default for conf.int is 0.95, so I am unable to  
explain why you did not get the confidence bands.

OS= Mac 10.6.8; R= 2.15.2;  rms_3.5-0  Hmisc_3.9-3

-- 

David.