[R] [pROC] roc.test returns "NA" p-value...

Uwe Ligges ligges at statistik.tu-dortmund.de
Wed Apr 25 11:10:57 CEST 2012


Probably you got NAs in some bootstrap results, or you got a 0 variance, 
or you hat 0 observations in a group you compared to another group? 
Check the data and the separate results!

Uwe Ligges


On 25.04.2012 09:28, O wrote:
> Hello,
>
> I am comparing two ROC curves with bootstraping.  However, some runs return
> "p-value = NA," and I have no clue why.
>
> Is this anyhow related to like sample size or no sufficient numbers of
> bootstraping?  I used the default value (i.e. boot.n=2000), and the number
> of observations are quite big since I am comparing maps (e.g., the largest
> has more than 9 million observations).
>
> It'd would be great if someone could explain why this is happening.
>
> With thanks,
> OK
>
> --
> View this message in context: http://r.789695.n4.nabble.com/pROC-roc-test-returns-NA-p-value-tp4585795p4585795.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list