http://vavi6vaewwf7gtpsjxeufyanr7qxcfd4upcdgm2wg2xzanqzv3uahiyd.onion/index.php?title=통계학&curid=103&diff=0&oldid=193
우리는 암발생이 수컷 쥐에서 더 빈번한지 통계적으로 알고 싶다. # prop.test 함수 사용 (binom.test 함수도 가능)
res <- prop.test(x = 95, n = 160, p = 0.5, correct = FALSE)
res 결과 1-sample proportions test without continuity correction
data: 95 out of 160, null probability 0.5
X-squared = 5.625, df = 1, p-value = 0.01771
alternative hypothesis: true p is not equal to 0.5
95 percent confidence interval:
0.5163169 0.6667870
sample estimates:
p
0.59375 검정 결과...