binom test 3 Performs an exact test of
Sign up to view full document!
SIGN UP
binom. test() 3 Performs an exact test of a simple null hypothesis about the probability of success in a Bernoulli experiment. binom. test(x, n, p = 0. 5, alternative = c("two. sided", "less", "greater"), conf. level = 0. 95) x: 成功的次數,或是一個二維的向量,分別代表成功及失敗 n: 實驗的次數 p: 成功的機率
Example 4 p-value=0. 781>0. 05,不拒絕H 0。
Example 7 P-value=0. 7278>0. 05, not reject H 0.
Fisher’s exact test 26
- Slides: 30