Skip to content

Instantly share code, notes, and snippets.

@mcfunley
Created November 25, 2015 07:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mcfunley/b7b9320e7f0bafcbaab2 to your computer and use it in GitHub Desktop.
Save mcfunley/b7b9320e7f0bafcbaab2 to your computer and use it in GitHub Desktop.
$ R
> prop.test(c(126033, 110144), c(210000, 210000))
prop.test(c(126033, 110144), c(210000, 210000))
2-sample test for equality of proportions with continuity correction
data: c(126033, 110144) out of c(210000, 210000)
X-squared = 2442, df = 1, p-value < 2.2e-16
alternative hypothesis: two.sided
95 percent confidence interval:
0.07266518 0.07865863
sample estimates:
prop 1 prop 2
0.6001571 0.5244952
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment