Date: 2014-04-12 03:37 pm (UTC)
На пальцах теория изложена тут: http://www.stat.yale.edu/Courses/1997-98/101/chisq.htm. Для практических вычислений удобна R (http://www.r-project.org), где этот тест делает функция prop.test:

> control <- 48177*c(.13,1-.13)
> small.win <- (5675-354)*c(.14,1-.14)
> large.win <- 354*c(.18,1-.18)


> prop.test(matrix(c(control,small.win), byrow=TRUE,nrow=2))

2-sample test for equality of proportions with continuity correction

data: matrix(c(control, small.win), byrow = TRUE, nrow = 2)
X-squared = 4.122, df = 1, p-value = 0.04233
alternative hypothesis: two.sided
95 percent confidence interval:
-0.0198992486 -0.0001007514
sample estimates:
prop 1 prop 2
0.13 0.14

> prop.test(matrix(c(control,large.win), byrow=TRUE,nrow=2))

2-sample test for equality of proportions with continuity correction

data: matrix(c(control, large.win), byrow = TRUE, nrow = 2)
X-squared = 7.3146, df = 1, p-value = 0.00684
alternative hypothesis: two.sided
95 percent confidence interval:
-0.091556474 -0.008443526
sample estimates:
prop 1 prop 2
0.13 0.18

> prop.test(matrix(c(small.win,large.win), byrow=TRUE,nrow=2))

2-sample test for equality of proportions with continuity correction

data: matrix(c(small.win, large.win), byrow = TRUE, nrow = 2)
X-squared = 4.025, df = 1, p-value = 0.04483
alternative hypothesis: two.sided
95 percent confidence interval:
-0.082599157 0.002599157
sample estimates:
prop 1 prop 2
0.14 0.18
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Profile

scholar_vit: (Default)
scholar_vit

January 2019

S M T W T F S
  12345
678 9101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 1st, 2025 11:41 am
Powered by Dreamwidth Studios