Re: [R] basic anova and t-test question

2005-08-31 Thread Spencer Graves
Does the following answer your question: set.seed(1) z0 - rnorm(100) p.z - 2*pnorm(-abs(z0)) sum(p.z0.05) [1] 5 pchisq(sum(z0^2), 100, lower=FALSE) [1] 0.917285 Some of the 100 (in this case) normal random deviates seem statistically significant, even though the

[R] basic anova and t-test question

2005-08-26 Thread Arne.Muller
Hello, I'm posting this to receive some comments/hints about a rather statistical than R-technical question ... . In an anova of a lme factor SSPos11 shows up non-significant, but in the t-test of the summay 2 of the 4 levels (one for constrast) are significant. See below for some truncated