运行 ❯
获取
您自己的
网站
×
更改方向
更改主题,深色/浅色
转至 Spaces
# Specify the sample occurences (x), the sample size (n), and the null-hypothesis claim (p) x <- 10 n <- 100 p <- 0.5 # P-value from left-tail proportion test at 0.01 significance level prop.test(x, n, p, alternative = c("two.sided"), conf.level = 0.99, correct = FALSE)$p.value
[1] 1.244192e-15