Re: [R] one sample t-test

2013-02-24 Thread Jim Lemon
On 02/25/2013 06:04 AM, Karsten Rincke wrote: Hello, I am reasoning about a question concerning the t-test for one sample. My data includes 150 values (mean 10.07) which I want to compare to mu=9. A tow-sided t-test yields t.test(data,mu=9) One Sample t-test data: data t = 3.0099, d

[R] one sample t-test

2013-02-24 Thread Karsten Rincke
Hello, I am reasoning about a question concerning the t-test for one sample. My data includes 150 values (mean 10.07) which I want to compare to mu=9. A tow-sided t-test yields > t.test(data,mu=9) One Sample t-test data: data t = 3.0099, df = 149, p-value = 0.00307 alternative hypothesi

Re: [R] one-sample t-test with correlated (clustered) observations

2009-02-06 Thread Ian Fiske
To handle the correlations, you can treat individuals as random blocks. So you have a mixed model with measurement technique crossed with measured attribute and random intercepts for each individual. You can fit this with lmer() in the lme4 package. Keep in mind there are a number of variations

[R] one-sample t-test with correlated (clustered) observations

2009-02-06 Thread Paul Artes
I would like to estimate the difference between two measurement techniques. With both techniques, 4 measurements were obtained in each of 15 individuals. (These are not *repeated* measurements though - each of the 4 is of a different attribute). The naive approach would be a paired t-test, but of