Pearson's test for independance tests the hypothesis that given an \(r \times c\) contingency table, the row variable and the column variable are independant.

Power Calculation Parameters

To input multiple values, seperate them by a comma.

{{ this.errors }}

Power Calculation Explanation

Solve For

The unknown you are interested in solving for.

N

The sample size used to test the hypothesis.

Alpha

The \(\alpha\) (Type I error rate) level of the hypothesis test.

Power

The power (1 - Type II error rate) of the hypothesis test.

Contingency Table

The table representing pre and post treatment counts for each level. If you prefer, you can enter the raw probabilities here and you will get the same result, as long as the sum of the table is 1.