[FORGED] Re: Issue with t.test
On 13/03/19 9:06 AM, Greg Snow wrote:
<SNIP>
The only time I have seen t.test give a p-value of 1 is when the data mean exactly equals the null hypothesis mean and the alternative is the default of two.sided.
<SNIP> Doesn't have to be *exact* equality. Just close! E.g.: set.seed(42) x <- runif(10) mew <- 0.63626 mew==mean(x) # FALSE t.test(x,mu=mew) cheers, Rolf
Honorary Research Fellow Department of Statistics University of Auckland Phone: +64-9-373-7599 ext. 88276