c:ms:2017:schedule:week15
This is an old revision of the document!
t-test
x1 <- rnorm(10, mean=100, sd=15) x1 t.test(x1, mu=95)
- What is the std error value?
- What if you have a sample with a large size?
- How do you get your se?
ster <- sd(x1)/sqrt(length(x1)) difx <- mean(x1)-95 tvalue <- difx/ster difx ster tvalue
x2 <- rnorm(100, mean=100, sd=15) head(x2) tail(x2) t.test(x2, mu=95) ster <- sd(x2)/sqrt(length(x2)) difx <- mean(x2)-95 tvalue <- difx/ster difx ster tvalue
c/ms/2017/schedule/week15.1497401672.txt.gz · Last modified: 2017/06/14 09:24 by hkimscil