The likelihood ratio test of independance tests the hypothesis that given an \(r \times c\) contingency table, the row variable and the column variable are independant. Though the underlying formulation of the is different from Pearson's test of independance, from a power perspective, they are asymtotically the same.

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.