-
-
Save anonymous/8f4a5f5c1adfde3b67e1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
n<-2000 #sample size | |
std<-1.0 #std dev | |
sm<-6283/n #sample mean | |
t.cv<-qt(0.95,n-1) #t-critical value for 95% conf interval | |
c(sm-(t.cv*(std/sqrt(n))), sm+(t.cv*(std/sqrt(n)))) # 3.104703 3.178297 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment