0.08 T TEST Previously, based on the sample standard deviation of 2.8, the sample size of 196, and the confidence level of 95%, we found that the range of likely sample means runs from about 6.3 to about 7.1. Since our sample mean of 7.3 fell outside of that range, we concluded that we had sufficient evidence to reject the null hypothesis that the mean customer service rating had not changed. Now let's calculate the p-value for our sample of movie theater customers and find out exactly how unlikely it would be to select a sample that has an average customer satisfaction rating at least as extreme as 7.3, if the average customer satisfaction rating is actually still 6.7. "At least as extreme" means at least as far from 6.7 as 7.3 is, that is, outside of the range 6.7±0.6. Thus, in this case, the likelihood that we would obtain a sample at least as extreme as 7.3 is the likelihood of obtaining a sample less than or equal to 6.1 or greater than or equal to 7.3. Although there are multiple ways to calculate a p-value in Excel, we will use a t-test, the most common method used for hypothesis tests. The t-test uses a t-distribution, which provides a more conservative estimate of the p-value when the sample size is small. Recall that as the sample size increases, the t-distribution converges to a normal distribution, so a t-distribution can be used for large samples as well. Companies tend to use the t-distribution rather than the normal distribution because it is safe for both small and large samples. Unfortunately, the process for conducting a one-sample hypothesis test in Excel is a bit unwieldy. To use Excel's T.TEST function for a hypothesis test with one sample, we must create a second column of data that will act as a second sample. We will walk through how to use the T.TEST function but please understand that the most important thing to take away from this discussion is the interpretation of the p-value. =T.TEST(array1, array2, tails, type) array1 is a set of numerical values or cell references. We will place our sample data in this range. T TEST Now let's calculate the p-value for our sample of movie theater customers and find out exactly how unlikely it would be to select a sample that has an average customer satisfaction rating at least as extreme as 7.3, if the average customer satisfaction rating is actually still 6.7. "At least as extreme" means at least as far from 6.7 as 7.3 is, that is, outside of the range 6.7±0.6. Thus, in this case, the likelihood that we would obtain a sample at least as extreme as 7.3 is the likelihood of obtaining a sample less than or equal to 6.1 or greater than or equal to 7.3. Although there are multiple ways to calculate a p-value in Excel, we will use a t-test, the most common method used for hypothesis tests. The t-test uses a t-distribution, which provides a more conservative estimate of the p-value when the sample size is small. Recall that as the sample size increases, the t-distribution converges to a normal distribution, so a t-distribution can be used for large samples as well. Companies tend to use the t-distribution rather than the normal distribution because it is safe for both small and large samples. Unfortunately, the process for conducting a one-sample hypothesis test in Excel is a bit unwieldy. To use Excel's T.TEST function for a hypothesis test with one sample, we must create a second column of data that will act as a second sample. We will walk through how to use the T.TEST function but please understand that the most important thing to take away from this discussion is the interpretation of the p-value. =T.TEST(array1, array2, tails, type) array1 is a set of numerical values or cell
references. We will place our sample data in this range. Fail to reject the null hypothesis =T.TEST(array1, array2, tails, type) array1 is a set of numerical values or cell references. We will place our sample data in this range. The p-value of our sample, which has a mean of 7.3, is T.TEST(A2:A197,B2:B197,1,3)=0.0013. Notice that 0.0013, the p-value from our one-sided test for the sample mean 7.3, is half of 0.0026, the p-value from our two-sided test for the sample mean 7.3. This should make sense. In each case, the p-value is the probability of obtaining a sample mean at least as extreme as 7.3 under the assumption that the null hypothesis is true. In the two-sided test, this is the probability of obtaining a sample with a mean less than 6.1 or greater than 7.3; in the one-sided test it is the probability of obtaining a sample with a mean greater than 7.3. Thus, we can perform a two-sided hypothesis test and just divide the resulting p-value by two to obtain the p-value for the one-sided test. 530 ± CONFIDENCE.NORM(0.05,100,25) Correct! Question 2 of 11 3.2 Summary Lesson Summary We use hypothesis tests to substantiate a claim about a population mean (or other population parameter). The null hypothesis (H0) is a statement about a topic of interest about the population. It is typically based on historical information or conventional wisdom. We always start a hypothesis test by assuming that the null hypothesis is true and then test to see if we can nullify it using evidence from a sample. The null
hypothesis is the opposite of the hypothesis we are trying to prove (the alternative hypothesis). Before conducting a hypothesis test: Determine whether to analyze a change in a single population or compare two populations. To conduct a hypothesis test, we must follow these steps: State the null and alternative hypotheses. Excel Summary Calculating the range of likely sample means using CONFIDENCE.NORM or CONFIDENCE.T 3.2 Summary Lesson Summary We use hypothesis tests to substantiate a claim about a population mean (or other population parameter). The null hypothesis (H0) is a statement about a topic of interest about the population. It is typically based on historical information or conventional wisdom. We always
start a hypothesis test by assuming that the null hypothesis is true and then test to see if we can nullify it using evidence from a sample. The null hypothesis is the opposite of the hypothesis we are trying to prove (the alternative hypothesis). Before conducting a hypothesis test: Determine whether to analyze a change in a single population or compare two populations. To conduct a hypothesis test, we must follow these steps: State the null and alternative hypotheses. Excel Summary Calculating the range of likely sample means using CONFIDENCE.NORM or CONFIDENCE.T 550 ± CONFIDENCE.NORM(0.05,100,100) 530 ± CONFIDENCE.NORM(0.05,100,25) 550 ± CONFIDENCE.NORM(0.05,100,100) When the pThe smaller (closer to 0) the p-value, the stronger is the evidence against the null hypothesis. If the p-value is less than or equal to the specified significance level α, the null hypothesis is rejected; otherwise, the null hypothesis is not rejected.
Can the pThe p-value only tells you how likely the data you have observed is to have occurred under the null hypothesis. If the p-value is below your threshold of significance (typically p < 0.05), then you can reject the null hypothesis, but this does not necessarily mean that your alternative hypothesis is true.
How do you reject a hypothesis with pIf the p-value is less than 0.05, we reject the null hypothesis that there's no difference between the means and conclude that a significant difference does exist. If the p-value is larger than 0.05, we cannot conclude that a significant difference exists.
What does rejecting the pIf the p-value is lower than a pre-defined number, the null hypothesis is rejected and we claim that the result is statistically significant and that the alternative hypothesis is true. On the other hand, if the result is not statistically significant, we do not reject the null hypothesis.
|