9.36 Plot the test statistic and the P-values.
Here is a two-way table of counts. The two categorical variables are and , and the possible values for each of these variables are 0 and 1. Notice that the second row depends upon a quantity that we call . For this exercise, you will examine how the test statistic and its corresponding P-value depend upon this quantity. Notice that the row sums are both 100.
0 | 1 | |
---|---|---|
0 | 50 | 50 |
1 |