Skip to content

Instantly share code, notes, and snippets.

@nozma
Created July 24, 2016 16:35
Show Gist options
  • Select an option

  • Save nozma/d5217d65876ddc527ad54c206671d92a to your computer and use it in GitHub Desktop.

Select an option

Save nozma/d5217d65876ddc527ad54c206671d92a to your computer and use it in GitHub Desktop.
カテゴリカルデータ解析第3章練習問題解答
# 練習問題
# 1.
binom.test(134, 200)$conf.int
# 2.
binom.test(145, 300, 0.3)
# 3.
p <- c(0.382, 0.219, 0.305, 0.094)
x <- c(39, 16, 27, 15)
chisq.test(x, p = p)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment