Advertisement
Guest User

Untitled

a guest
Jul 24th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. # 練習問題
  2. # 1.
  3. binom.test(134, 200)$conf.int
  4.  
  5. # 2.
  6. binom.test(145, 300, 0.3)
  7.  
  8. # 3.
  9. p <- c(0.382, 0.219, 0.305, 0.094)
  10. x <- c(39, 16, 27, 15)
  11. chisq.test(x, p = p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement