Enter raw data that is formatted as described on the right:
This calculator runs a two sample test of dependent proportions for a given sample data set and specified null and alternative hypotheses. Enter the data in the text area to the left. The data must be formatted with one pair of scores for each row. The data on each row must be separated by a space, tab, or comma. Alternatively, below the text area, you can enter the properties of the contingency table. If you enter raw data, the program will fill in the contingency table for you.

Enter a value for the null hypothesis. This value should indicate the absence of an effect in your data. Since the test is for a difference of proportions it must be between the values \(-1\) and \(+1\). Indicate whether your alternative hypothesis involves one-tail or two-tails. If it is a one-tailed test, then you need to indicate whether it is a positive (right tail) test or a negative (left tail) test.

Enter an \(\alpha\) value for the hypothesis test. This is the Type I error rate for your hypothesis test. It also determines the confidence level \(100 \times (1-\alpha)\) for a confidence interval.

Press the Run Test button and a table summarizing the computations and conclusions will appear below.

Or complete the contingency table:
Has Trait 2?
No Yes
Has Trait 1? Yes \(A=\) \(B=\)
No \(C=\) \(D=\)
Specify hypotheses:
\(H_0: P_1 - P_2 =\)
\(H_a:\)
\(\alpha=\)
Test summary
Null hypothesis \(H_0: P_1 - P_2=\)
Alternative hypothesis \(H_a: P_1 - P_2 \)
Type I error rate \(\alpha=\)
Sample size \(n=\)
Sample proportion for group 1 \(p_1=\)
Sample proportion for group 2 \(p_2=\)
Disagreement proportion \(p_d=\)
Standard error \(s_{p_1 - p_2}=\)
Test statistic \(z=\)
\(p\) value \(p=\)
Decision
Confidence interval critical value \(z_{cv}=\)
Confidence interval CI95=