Академический Документы
Профессиональный Документы
Культура Документы
DOI: 10.1198/000313008X332421
20
Once the students have grasped this basic behavior, we introduce the possibility of < 0 in H0 .
If < 0, the distribution of the p-values will be concentrated near 1 (top left of Figure 2).
Simulation number
15
10
3.2
1.0
Figure 1.
of 2.
1.5
2.0
Interval
2.5
3.0
3. EXAMPLES
Prednisone
Prednisone + VCR
Column Total
Success
Failure
Row Total
38
34.67
4
7.33
42
14
17.33
52
7
3.67
11
21
63
243
8
0
Density
Density
10
10
0.0
0.2
0.4
0.6
pvalues
0.8
1.0
0.0
0.4
0.6
pvalues
0.8
1.0
10
8
0
Density
10
Density
0.2
0.0
0.2
0.4
0.6
pvalues
0.8
1.0
0.0
0.2
0.4
0.6
pvalues
0.8
1.0
Figure 2. Histograms of 10,000 simulated p-values under the null hypothesis with = 0.5 (top left) and = 0 (top right), or the alternative
= 0.5 (bottom left), = 1 (bottom right).
0.2
0.4
0.6
pvalues
0.8
1.0
0.0
0.2
0.4
0.6
0.8
1.0
0.0
0.2
0.4
0.6
0.8
1.0
pvalues
0.8
Cumulative proportion
10
0.0
0.2
0.4
0.6
pvalues
0.8
1.0
0.0
0.4
Density
0.0
0.0
0.4
Density
0.8
Cumulative proportion
10
Chisquare test
pvalues
Figure 3. Histogram and ECDF plots of 1,000 null p-values for chi-square (top) and Fishers exact tests (bottom). The entries of the two-way
table are hypergeometrically distributed.
REFERENCES
245