R 이항검정

Jmnote (토론 | 기여)님의 2017년 7월 2일 (일) 21:51 판 (새 문서: ;R binom.test() ==양측 검정== <source lang='console'> > binom.test(27,50,.50) Exact binomial test data: 27 and 50 number of successes = 27, number of trials = 50, p-value = 0...)
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)
R binom.test()

1 양측 검정

> binom.test(27,50,.50)

	Exact binomial test

data:  27 and 50
number of successes = 27, number of trials = 50, p-value = 0.6718
alternative hypothesis: true probability of success is not equal to 0.5
95 percent confidence interval:
 0.3932420 0.6818508
sample estimates:
probability of success 
                  0.54

2 단측 검정

> binom.test(27,50,.50,alternative="greater")

	Exact binomial test

data:  27 and 50
number of successes = 27, number of trials = 50, p-value = 0.3359
alternative hypothesis: true probability of success is greater than 0.5
95 percent confidence interval:
 0.4147572 1.0000000
sample estimates:
probability of success 
                  0.54

3 같이 보기

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}