Andrew Yee wrote:
> Thanks for the clarification. I should have recognized the difference
> between "warning" and "error."
> But if I may take this a step further, shouldn't it then be exact=TRUE
> instead of exact=NULL?
> Thanks,
> Andrew
>
Nope. The two are equivalent for the Spearman test,
Thanks for the clarification. I should have recognized the difference
between "warning" and "error."
But if I may take this a step further, shouldn't it then be exact=TRUE
instead of exact=NULL?
Thanks,
Andrew
On 8/31/07, Peter Dalgaard <[EMAIL PROTECTED]> wrote:
>
> Andrew Yee wrote:
> > Pardon
Andrew Yee wrote:
> Pardon my ignorance, but is there a difference in cor.test between
> exact=FALSE and exact=NULL when method=spearman?
>
> Take for example:
>
> x<-c(1,2,2,3,4,5)
> y<-c(1,2,2,10,11,12)
> cor.test(x,y, method="spearman", exact=NULL)
>
> This gives an error message,
> Warning mess
Pardon my ignorance, but is there a difference in cor.test between
exact=FALSE and exact=NULL when method=spearman?
Take for example:
x<-c(1,2,2,3,4,5)
y<-c(1,2,2,10,11,12)
cor.test(x,y, method="spearman", exact=NULL)
This gives an error message,
Warning message: Cannot compute exact p-values w