EXAMPLE 8.7 Sample Size for Comparing Two Sunblock Lotions

In Example 8.4, we performed the significance test for comparing two sunblock lotions in a setting where each subject used the two lotions and the product that provided better protection was recorded. Although your product performed better 13 times in 20 trials, the the value of was not sufficiently far from the null hypothesized value of for us to reject the . Let's suppose that the true percent of the time that your lotion would perform better is and we plan to test the null hypothesis versus the two-sided alternative using a type I error probability of 0.05.

What sample size should we choose if we want to have an 80% chance of rejecting ? Outputs from JMP and Minitab are given in Figure 8.4. JMP indicates that should be used, while Minitab suggests . The difference is due to the different methods that can be used for these calculations.

430

image
Figure 8.4: FIGURE 8.4 Software output for the significance test, Example 8.7: (a) JMP; (b) Minitab.