<< Chapter < Page | Chapter >> Page > |
Use the sample data to calculate the actual probability of getting the test result, called the p-value . The p-value is the probability that, if the null hypothesis is true, the results from another randomly selected sample will be as extreme or more extreme as the results obtained from the given sample.
A large p-value calculated from the data indicates that we should fail to reject the null hypothesis . The smaller the p-value, the more unlikely the outcome, and the stronger the evidence is against the null hypothesis. We would reject the null hypothesis if the evidence is strongly against it.
Draw a graph that shows the p-value. The hypothesis test is easier to perform if you use a graph because you see the problem more clearly.
Suppose a baker claims that his bread height is more than 15 cm, on the average. Several of his customers do not believe him. Topersuade his customers that he is right, the baker decides to do a hypothesis test. He bakes 10 loaves of bread. The mean height of the sample loaves is 15.7 cm. The bakerknows from baking hundreds of loaves of bread that the standard deviation for the height is 1.0 cm. and the distribution of heights is normal.
The null hypothesis could be : The alternate hypothesis is :
The words "is more than" translates as a " " so " " goes into the alternate hypothesis. The null hypothesis contains the = sign.
Since is known ( cm.), the distribution for the population is known to be normal with mean and standard deviation .
Suppose the null hypothesis is true (the mean height of the loaves is no more than 15 cm). Then is the mean height (15.7 cm) calculated from the sample unexpectedly large?The hypothesis test works by asking the question how unlikely the sample mean would be if the null hypothesis were true. The graph shows how far out the sample mean is onthe normal curve. The p-value is the probability that, if we were to take other samples, any other sample mean would fall at least as far out as 15.7 cm.
The p-value, then, is the probability that a sample mean is the same or greater than 15.7 cm. when the population mean is, in fact, 15 cm. We can calculate this probability using the normal distribution for means as presented in an earlier chapter.
which is approximately 0.02.
A p-value of approximately 0.02 tells us that it is highly unlikely that a loaf of bread rises no more than 15 cm, on the average. That is, only 2% of all loaves of bread would be atleast as high as 15.7 cm. purely by CHANCE had the population mean height really been 15 cm. Because the outcome of 15.7 cm. is so unlikely (meaning it is happening NOT by chance alone) , we conclude that the evidence is strongly against the null hypothesis (the mean height is at most 15cm.). There is sufficient evidence that the true mean height for the population of the baker's loaves of bread is greater than 15 cm.
Notification Switch
Would you like to follow the 'Collaborative statistics using spreadsheets' conversation and receive update notifications?