Re: [R] t-test behavior given that the null hypothesis is true

2013-01-09 Thread Ted Harding
Ah! You have aqssigned a parameter "equal.var=TRUE", and "equal.var" is not a listed paramater for t.test() -- see ?t.test : t.test(x, y = NULL, alternative = c("two.sided", "less", "greater"), mu = 0, paired = FALSE, var.equal = FALSE, conf.level = 0.95, ...) Try it instead with "v

Re: [R] t-test behavior given that the null hypothesis is true

2013-01-09 Thread Ted Harding
On 09-Jan-2013 08:50:46 Pavlos Pavlidis wrote: > Dear all, > I observer a strange behavior of the pvalues of the t-test under > the null hypothesis. Specifically, I obtain 2 samples of 3 > individuals each from a normal distribution of mean 0 and variance 1. > Then, I calculate the pvalue using the

[R] t-test behavior given that the null hypothesis is true

2013-01-09 Thread Pavlos Pavlidis
Dear all, I observer a strange behavior of the pvalues of the t-test under the null hypothesis. Specifically, I obtain 2 samples of 3 individuals each from a normal distribution of mean 0 and variance 1. Then, I calculate the pvalue using the t-test (var.equal=TRUE, samples are independent). When I