wk5+Lecture

 Week 5: Hypothesis Testing II: One Sample Hypothesis Tests - Lecture

This lecture uses MathML to make math formulas more readable. __ [|Learn more.] __

Hypothesis Testing **__ [|The Basic Idea of Hypothesis Testing] __ | __ [|An Example and theFive Steps of Hypothesis Testing] __ | __ [|The Essential Variations] __ | __ [|Problem Situation: z Tests about a Population Mean (] __** **__ [|σ] __** **__ [|Known): Two-Sided Alternatives] __ | __ [|Problem Situation: t Tests about a Population Mean (] __** σ **__ [|Unknown)] __ | __ [|Problem Situation: z Tests about a Population Proportion] __ | __ [|Summary and Conclusions] __** In Weeks 3 and 4, we looked first at sampling distributions and then at confidence intervals, culminating in honing our ability to make inferences from a single sample to a population mean or proportion. This week, we will introduce "hypothesis testing," which is the alternative way of making inferences from a single sample to a population mean or proportion. Hypothesis testing uses the same concepts and tools that we used with sampling distributions and confidence intervals, but it puts them into a special hypothesis testing framework. The reason for having a special hypothesis testing framework is that hypothesis testing can be characterized as a battle between the "new" and the "old." The old is conservative; it believes in the status quo and it believes that the new is not really new, but is simply an extension or a variation of the old. The new approach is revolutionary; it believes that things have changed fundamentally and that the old ways must be abandoned. The old or conservative approach assumes that business circumstances are relatively stable, and that outlying data is simply expected variance. The new approach assumes that the data variation is an indication of fundamentally new business circumstances. Now, both perspectives are entirely reasonable, and neither is inherently right or wrong. In our view, it depends on the particular situation and the facts of the case. But, in any given situation, how does one decide between them? The special hypothesis testing framework is a procedure for evaluating these competing claims to "the truth." We will turn to the details of this procedure shortly. Before doing so, however, we will briefly introduce an analogy between hypothesis testing and our criminal justice system. This will provide an intuitive way of conveying the basic idea of hypothesis testing. A cornerstone of our criminal justice system, and our democracy, is that a person is considered innocent until proven guilty. Moreover, the proof of guilt must be "beyond a reasonable doubt" as decided unanimously by a jury of one's peers. While we all know that juries do sometimes convict innocent persons, who may be incarcerated for years or even put to death, the criminal justice system is designed to do everything possible to prevent wrongful convictions. To paraphrase Winston Churchill on democracy, "it's not a good system of government, it's just the best ever devised." Hypothesis testing arose in the context of scientific research. Scientists are driven to discover the new and the better; say, for example, the claim to have discovered a new "wonder drug" or "alternative health" treatment. This drive runs directly into the skepticism of those who argue that the new is not really new, nor is it necessarily better. In the language of hypothesis testing, the new is called the alternative hypothesis, symbolized as H a , and the old or skeptical view is called the null hypothesis, symbolized as H 0. The hypothesis testing procedure basically works like this: The null hypothesis assumes an initial population mean or proportion. Based on this assumption, a probability distribution is laid out. Next, we establish -- **before gathering any data** -- what it will take for us to reject (or not reject) our original assumption. Then we gather sample data; we compare the sample data to the pre-established basis for rejecting, or not rejecting, our original assumption; and we make a judgment about whether or not to reject our original assumption. Finally, we interpret our findings in plain English (which means that we explain our results using words, numbers, and pictures that can be understood by someone who has never studied statistics), in the terms of the problem. This process is critical in business decision making by managers. Hypothesis testing is sometimes considered a "reality check" or "insurance policy" regarding whether or not a line of business reasoning is reasonable. In the following section of this lecture, we will present a problem situation that details a five-step hypothesis testing procedure, both manually and using Minitab. **Don't be worried by the unfamiliar terms in the //Five Steps of Hypothesis Testing//: we will define and illustrate each of them within the problem**. After our demonstration of the problem situation and the use of the seven steps of hypothesis testing, we will lay out the essential variations on the theme, as we have done in previous lectures. And we will conclude by demonstrating the variations with problem situations, again manually and with Minitab. **Consider the following problem situation:** A bank manager has developed a new system meant to reduce the time customers spend waiting to be served by tellers during peak business hours. Typical waiting times during peak business hours under the current system are roughly nine to ten minutes. The bank manager hopes that the new system will lower typical waiting times to less than six minutes.
 * || ||
 * **The Basic Idea of Hypothesis Testing** || [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/021805ibtt.gif align="right" caption="Back to Top" link="http://vizedhtmlcontent.next.ecollege.com/(NEXT(2b031cbafe))/Main/CourseMode/VizedHtmlView/RenderVizedHtmlView.ed?courseItemSubId=162296899&courseItemType=CourseContentItem&#top"]] ||
 * || ||
 * **An Example and the Five Steps of Hypothesis Testing** || [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/021805ibtt.gif align="right" caption="Back to Top" link="http://vizedhtmlcontent.next.ecollege.com/(NEXT(2b031cbafe))/Main/CourseMode/VizedHtmlView/RenderVizedHtmlView.ed?courseItemSubId=162296899&courseItemType=CourseContentItem&#top"]] ||

A random sample of 100 customers is observed, and the wait times are available in the data file "WaitTime" at the publisher's web site (which has a link in the webliography), and via the Minitab link under Course Home (where you will find a tutorial on how to access all of the text book data files). The random sample of //n// = 100 waiting times yields a sample mean of x −  = 5.46 minutes. Assuming σ = 2.47 (we'll use the sample standard deviation, //s//, in a later example). For the given problem situation and data, complete **the Five Steps of Hypothesis Testing (which are taken from our text book)**, as follows (keep in mind that steps four and fivecan be done using a critical value rule OR using a //p//-value):
 * 1) State the null hypothesis H 0  and the alternative hypothesis H a.
 * 2) Specify the level of significance α  : for this problem situation, use each of

α = .10, .05, .01, and .001. **Using a critical value rule:** If we are not given a value for α, we can use the Weight of Evidence Table, as follows: If the //p//-value for testing H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 is less than Note: if the //p//-value is equal to or greater than .10, we say we have **little evidence** that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is false and <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is true. Here is a **//summary box//**, which summarizes the critical value and the //p//-value approaches to hypothesis testing: about a population mean, when σ is known. __ Click here for Description __
 * 1) Select the test statistic.
 * 1) Determine the critical value rule for deciding whether to reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  (and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  ).
 * 2) Collect the sample data, compute the value of the test statistic, and decide whether to reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  (and accept) <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  . Interpret the statistical results.
 * Interpreting the Weight of Evidence Against the Null Hypothesis:**
 * .10, we say we have **some evidence** that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is false and <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is true.
 * .05, we say we have **strong evidence** that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is false and <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is true.
 * .01, we say we have **very strong evidence** that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is false and <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is true.
 * .001, we say we have **extremely strong evidence** that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is false and <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mtext" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">is true.
 * || **Important Steps** || ** Key Points **

(A "think aloud" about the Important Steps) || <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">< <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6. Then we can construct the null hypothesis as the opposite, or complement. The null hypothesis **always includes 0**. In this problem, the null hypothesis is <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≥ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6. || <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α is the probability of a Type I error. A Type I error is the probability of wrongly rejecting the null hypothesis and accepting the alternative hypothesis, when in fact the null hypothesis is true. In our criminal justice example, a Type I error is the probability of wrongly convicting someone. In this problem situation, we are going to try out several different values of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α. || <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">( <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">−) is from the population mean assumed by the null hypothesis <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">( <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">) , divided by the standard error of the mean <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">( <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">σn <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/). Notice that this is the same way we have previously created z-scores, except that previously with confidence intervals, and now with hypothesis testing, we use the special "standard error." || > > Use the specified values of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α to find the critical value given in the critical value rule. <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.10 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= − <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.28, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.05 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= − <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.65  , <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.01 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= − <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">2.33  , <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.001 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;"><− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3.09  || The critical value rule starts with a given <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α (in this problem we have chosen to work with four <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α <span class="mi" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">'s , but we will take them one at a time). Take <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.10 as the first example. Since our alternative hypothesis is <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">< <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6, we will be focusing on the left (or lower) tail of the normal probability curve. If <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.10, we need to find the z-score, which we label <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.10  , and which has .10 in the left tail. We figured out this kind of problem numerous times in our previous work with the normal probability distributions. As a quick review: if we start with .10 in the left tail, we look up .10 in the body of the table or cumulative areas under the standard normal curve. Then we get the z-score by following the row to the left column and up the column, to get the second decimal of the z-score. In our example, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.10 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.28. Notice that it is a negative number because we are on the left side of the mean in the normal curve. The same process is followed for the other <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's to find the <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">α  -scores. || > > The test statistic is <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;"> μ <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">σn <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">5.46 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6 <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">2.47100 <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/  , z = -2.19 > > Our conclusion is that we will reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α > =.10 and .05, because the test statistic from the actual data, z= > -2.19, is less than <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.10 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= − <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.28, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.05 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= − <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.65. at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α > =.01, and .001, do **not** reject= > = <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 and do **not**accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a , because the test statistic z = > -2.19 is not less than <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.01 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= − <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">2.33 or <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.001 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;"><− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3.09. > > **Interpretation**: We conclude that there is "strong evidence," at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's of .10 and .05, that the mean waiting time is less than 6 minutes. But, we cannot conclude at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's of .01 or .001 that the mean waiting time is less than 6 minutes. || Here we are filling in values in the test statistic formula (see #3 above).
 * # State the null hypothesis <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 and the alternative hypothesis <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  . <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≥ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6 , <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">< <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6  || Often, we start with the alternative hypothesis, by carefully reading the problem, looking for the **new** or **desired** state. In this problem, the bank manager **hopes** that the new system will lower the mean waiting time to less than 6 minutes. Thus, we make our alternative hypothesis
 * # **Specify the level of significance:** for this problem situation, use each of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α = .10, .05, .01, and .001. || The **level of significance**
 * # **Select the test statistic.** The test statistic is <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;"> μ <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">σn <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/ || The **test statistic** comes from the data. In this problem, it is a z-score. It captures how far our sample mean
 * # **Using a critical value rule:** || There are **two** ways to test hypotheses, which **always**come to the same conclusion. One way is called **the critical value rule**, and the other way is called **the //p//-value approach**. In much of our work going forward, we will end up using the //p//-value approach because this is what Minitab gives us. But it is important to also understand the "critical value rule" because it very clearly lays out the logic of hypothesis testing. ||
 * # Determine the critical value rule for deciding whether to reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 (and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  ).
 * # Collect the sample data and compute the value of the test statistic, and decie whether to reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 (and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  ). Interpret statistical results.

Here we can see clearly the fundamental logic of hypothesis testing. We started with an assumption about the population mean, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≥ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6 (using <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6  ). Then we established the critical value <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.10 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.28, which is the z-score with <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.10  as the left tail. Finally, we compare our test statistic z = -2.19, which comes from our actual sample data. Because z = -2.19 is less than -1.28, it is further out in the left tail. This tells us that we can reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≥ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6 and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">< <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6 , with an <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.10  chance of being wrong.

So far, we have been immersed in the mechanics of hypothesis testing. Now, we come back to the terms of the problem situation and translate our findings into plain English. || > > The test statistic is <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">σn <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">5.46 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6 <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">2.47100 <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/  , z = -2.19 > > The Test statistic from the actual data, z = -2.19, has a //p//-value = .0143. || As we did when using the critical value rule above, we calculate the test statistic, which uses our actual data to calculate a z-score.
 * # ** Using a //p//-value: (Remember, the first three steps are the same as in the "critical value rule" approach above.) ** || **Remember, using //p//-values is the second way of testing hypotheses.** ||
 * # **Collect the sample data, compute the value of the test statistic, and compute the //p//-value**.

Our test statistic z = -2.19. Now we find the corresponding area under the left tail of the normal curve. We did this numerous times in our work with the normal distribution. As a brief review: start with z = -2.19. Go to the table of cumulative areas under the standard normal curve; find the area under the normal curve corresponding to -2.19, namely .0143. This is the //p//-value = .0143. || > > Therefore, reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">o, and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  , at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α > =.10 and= > = <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α = > .05, because the //p//-value = .0143 is less than these <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's. But, do **not** reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">o , and do**not** accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  , at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α > =.01 and= > = <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α = > .001, because the //p//-value = .0143 is **not** less than these <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's. > > We conclude that there is strong evidence, at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's of .10 and .05, that the mean waiting time is less than 6 minutes. But we cannot conclude at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's of .01 or .001 that the mean waiting time is less than 6 minutes. || We compare the p-value = .0143 to each of our <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's. If our p-value is less than an <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α , it means we can reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  at the particular value of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α. Even more concretely, we can say the probability of being wrong in rejecting <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 and accepting <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  is the p-value = .0143.
 * # Reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">o at level of significance <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  if the p-value is less than <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  . Interpre the statistical results.

Finally, it is very important to note, and remember, that the p-value approach and the critical value rule approach always yield the same results, and either result needs to be interpreted in the terms of the actual problem situation, in plain English. ||  || Now, here's the link to learn how to use Minitab to do hypothesis testing. And, here is the Minitab output you should get.
 * [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/tutorial.gif align="absMiddle" caption="Tutorial"]] Tutorial ||
 * || [[image:http://vizedhtmlcontent.next.ecollege.com/CurrentCourse/Multimedia/Z_Mean_Less_Than_Thb.jpg align="right" caption="Tutorial" link="@http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/SSO/hub2/sso.html?node=26559"]]  ||   ||

Notice that the Minitab output gives the //p//-value = .0144 (our hand calculation got .0143, which was a little less precise, at the fourth decimal) and the z value (the test statistic) = -2.19. If we use //p//-values, we can compare them immediately to the <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α 's, and reject the <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  's (and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  ) for any <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  's for which the //p//-value is less. If we use the critical value rule, we have to hand calculate the <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">α <span class="mi" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">'s, as we did in our hand calculations. Let's now consider a concrete example of each of the essential variations. Again, we will do them both "by hand" and using Minitab. **<span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ ** **Known): Two-Sided Alternatives** || || An automobile parts supplier owns a machine that produces a cylindrical engine part. This part is supposed to have an outside diameter of three inches. Parts with diameters that are too small or too large do not meet customer requirements and must be rejected. Lately, the company has experienced problems meeting customer requirements. The technical staff feels that the mean diameter produced by the machine is off target. In order to verify this, a special study will randomly sample 40 parts produced by the machine. The 40 sampled parts will be measured, and if the results obtained cast a substantial amount of doubt on the hypothesis that the mean diameter equals the target value of three inches, the company will assign a problem-solving team to intensively search for the causes of the problem. > =3.006 inches. Assuming <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ equals .016, use critical values and a //p//-value to test <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  versus <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  by setting <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  = > .05. Should the problem-solving team be assigned? Here is the "summary box," we introduced above which summarizes the critical value and the //p//-value approach to hypothesis testing about a population mean when σ is known. In this example, we will be using a two-sided alternative hypothesis.
 * || ||
 * **The Essential Variations** || [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/021805ibtt.gif align="right" caption="Back to Top" link="http://vizedhtmlcontent.next.ecollege.com/(NEXT(2b031cbafe))/Main/CourseMode/VizedHtmlView/RenderVizedHtmlView.ed?courseItemSubId=162296899&courseItemType=CourseContentItem&#top"]] ||
 * 1) Our example above was a one-tailed hypothesis test. Furthermore, it was a left or lower-tailed test. One-tailed hypothesis tests also can be right or upper-tailed tests, in which case the z-scores are positive rather than negative. In addition to one-tailed tests, hypothesis tests can be two-tailed tests, in which <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=  [a particular value] and <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≠  to [the same particular] value. The only real complication here is figuring out the splitting of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  between the two tails and determining the //p//-value.
 * 2) In our example above, we assumed that we knew the population standard deviation, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ , but most often we don't know <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ  , and, therefore, as we saw with confidence intervals, we use the sample standard deviation, //s//, and the t distribution instead of the standard normal distribution.
 * 3) Also, as with confidence intervals, we want to be able to make inferences about the population proportion in addition to the population mean. Again, the concepts are the same, but the formulas change to reflect proportions rather than means.
 * || ||
 * **Problem Situation: z Tests about a Population Mean (**
 * Consider the following problem situation:**
 * 1) The parts supplier wishes to set up a hypothesis test so that the problem-solving team will be assigned when the null hypothesis is rejected and the alternative hypothesis is accepted. Set up the null and alternative hypotheses for this situation.
 * 2) In the context of this situation, interpret making a Type I error; interpret making a Type II error.
 * 3) Suppose it costs the company $3,000 a day to assign the problem-solving team to a project. Is this $3,000 figure the daily cost of a Type I or a Type II error? Explain.
 * 4) A sample of 40 parts yields a sample mean diameter of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">−
 * 1) Suppose that product specifications state that each and every part must have a diameter between 2.95 and 3.05 inches; that is, the specifications are 3 inches ±.05 inches. Use the sample information given in part d to estimate an interval that contains almost all (99.73%) of the diameters. Compare this estimated interval with the specification limits. Are the specification limits being met, or are some diameters outside the specification limits? Explain.
 * || **Important Steps** || ** Key Points **

(A "think aloud" about the Important Steps) || <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≠ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3. || <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≠ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3, and we form the problem-solving team mistakenly, then we will be wasting $3,000/day. || > > The critical value <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.10 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.28, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.05 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.65  , <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.01 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">2.33  , <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.001 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;"><− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3.09  || These are essentially the same mechanics we employed before. The critical difference here is that, because we now have a two-tailed test, we divide the <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α into the two tails. As before, we compare the z-score, the test statistic (which includes our sample data, z = 2.37) to the critical value, preset based on <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.025 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.96. Because the test statistic is greater than the critical value (that is, further out in the tail), we reject the null hypothesis and accept the alternative hypothesis. || > > The test statistic z = <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">σn <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/ = <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3.006 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3.000 <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.01640 <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=  2.37. > > The critical value <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mi" style="font-family: MathJax_Math; font-size: 9px; text-decoration: none; vertical-align: 0px;">α <span class="mn" style="font-family: MathJax_Main; font-size: 9px; text-decoration: none; vertical-align: 0px;">2 <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">/ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 9px; text-decoration: none; vertical-align: 0px;">.052 <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">/ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.025 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.96. > > Since <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">> <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mi" style="font-family: MathJax_Math; font-size: 9px; text-decoration: none; vertical-align: 0px;">α <span class="mn" style="font-family: MathJax_Main; font-size: 9px; text-decoration: none; vertical-align: 0px;">2 <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">/, we reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  and we accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  = .05. > > Therefore, "yes", the problem-solving team should be assigned. || These are essentially the same mechanics we employed before. The critical difference here is that, because we now have a two-tailed test, we divide the <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α into the two tails. As before, we compare the z-score, the test statistic (which includes our sample data, z = 2.37) to the critical value, preset based on <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α, <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.025 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.96. Because the test statistic is greater than the critical value (that is, further out in the tail), we reject the null hypothesis and accept the alternative hypothesis. || > > z (the test statistic) = 2.37. The corresponding //p//-value = 2*.0089 = .0178. Since .0178 < <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α = .05, we reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  and we accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  = .05. > > Therefore, "yes", the problem-solving team should be assigned. || As before, the //p//-value approach starts with the test statistic, and we find the area in the tail corresponding to the test statistic. The critical difference for the two-tailed case is that the //p//-value includes both tails and, therefore, the area under one tail that we find has to be doubled before comparing it to <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α , which includes both tails. || To learn how to use Minitab to find the test statistic and the p-value, use the following link. Here is the Minitab output you should get.
 * # <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 = 3 inches; <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≠ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3  inches. || Careful reading of the problem situation tells us that "parts with diameters that are **too small or too large** do not meet customer requirements and must be rejected." (Emphasis added.) Notice that the alternative hypothesis refers to an undesirable condition,
 * # Type I error = conclude the problem-solving team should be formed, that is, concluding that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">≠ <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">3, when it's not needed. Type II error = conclude the problem-solving team should not be formed when it is needed. || Remember our criminal justice example: the Type I error would be wrongly convicting an innocent person, and the Type II error would be wrongly not convicting a guilty person. ||
 * # A Type I error would result in a $3,000 daily expenditure that was not needed. || If we mistakenly conclude that the population mean
 * # Use the summary box to find the critical value rule corresponding to the alternative hypothesis. Use the specified values of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α to find the critical value given in the critical value rule.
 * # Applying the Critical Value Rule:
 * # Applying the //p//-Value:
 * # Product specifications = 2.95 to 3.05 inches. 99.73% interval = 3.006 ± 3*.016 = 2.958 to 3.054: therefore, "no" the specification limits are not being met; some diameters are outside the specification limits. 3.054 is larger than 3.05. || **The product specifications** represent the range of values we require. The 99.73% interval is the **//actual output//** that we get. By comparing the two ranges, we can see that some of the actual output will be outside the specification range. The needed response by management is to find a way to narrow the range of the actual output. Sometimes, though, management goes back and reviews the product specifications, and may conclude that they were unrealistically tight. If loosened up without affecting the needed quality, the actual production might then be acceptable. ||  ||
 * [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/tutorial.gif align="absMiddle" caption="Tutorial"]] Tutorial ||
 * || [[image:http://vizedhtmlcontent.next.ecollege.com/CurrentCourse/Multimedia/Z_Mean_Not_Equal_Thb.jpg align="right" caption="Tutorial" link="@http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/SSO/hub2/sso.html?node=26560"]]  ||   ||

**<span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ ** **Unknown)** || || Since we generally do not know the population standard deviation  <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ , as we saw with Confidence Intervals, we can use the sample standard deviation //s//, and the //t// distribution. To illustrate this variation of hypothesis testing, we will return to the Bank Customer Waiting Time Case, which we presented earlier in this lecture. This time, though, we will assume we do **not** know <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ  , so we will use the sample standard deviation//s//. Here is a brief description of the problem situation: A bank manager has developed a new system meant to reduce the time customers spend waiting to be served by tellers during peak business hours. Typical waiting times during peak business hours under the current system are roughly nine to ten minutes. The bank manager hopes that the new system will lower typical waiting times to less than six minutes.
 * **Problem Situation: t Tests about a Population Mean (**
 * **Problem Situation: t Tests about a Population Mean (**

A random sample of 100 customers is observed, and the wait times are available in the Excel data file "WaitTime," at the publisher's website, which has a link in the Webliography. The random sample of 100 waiting times yields a sample mean of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− =5.46 minutes and a sample standard deviation s= 2.475. Let <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ denote the mean of all possible bank customer waiting times using the new system and consider testing <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6  versus <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">< <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6. a) Perform a //t// test of these hypotheses by setting <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  = .05, and using a critical value. b) Find and interpret the //p//-value for the hypothesis test. Here is a **summary box**, which summarizes the critical value and the //p//-value approach to hypothesis testing about a population mean, **when** **<span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ ** **is unknown**.


 * || **Important Steps** || ** Key Points **

(A "think aloud" about the Important Steps) || > > The critical value <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">t <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">α <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=− <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">t <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.05 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">=− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">1.660. > > The test statistic <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">t <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">x <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">μ <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">sn <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">5.46 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">6.<span class="skype_pnh_print_container">00 <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">2.475100 <span class="skype_pnh_container"><span class="skype_pnh_mark"> begin_of_the_skype_highlighting <span class="skype_pnh_highlighting_inactive_common"> <span class="skype_pnh_dropart_span"> <span class="skype_pnh_textarea_span"><span class="skype_pnh_text_span">002.475100  <span class="skype_pnh_mark">end_of_the_skype_highlighting   <span style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">√ <span style="font-family: MathJax_Size1; font-size: 16px; text-decoration: none; vertical-align: 0px;">/ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= > > //t// = -2.18. > > And, since -2.18 is less than -1.660, reject <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  = .05. || This problem type is just like the one-tail hypothesis test we did above, **except** for three things. 1) We are using //s//, the sample standard deviation, instead of <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">σ , the population standard deviation.  2) We are using the //t// distribution to find the critical value. || > =.05, we reject= > = <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 and accept <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  at <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α  = > .05. || And, 3) for the //p//-value we have to rely on Minitab, because the //t// table doesn't have enough detail. Except for these three differences, however, the critical value and //p//-value approaches work the same as in the example using //z//values. ||  || To learn how to use Minitab to find the test statistic and the p-value, use the following link.  Here is the Minitab output you should get.
 * # Applying the Critical Value Rule:
 * # //p//-Value: t = -2.18 → .0158. Note: Our //t// table won't provide the //p//-value; we have to use Minitab, as we show below. Because the //p//-value is below the <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α
 * [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/tutorial.gif align="absMiddle" caption="Tutorial"]] Tutorial ||
 * || [[image:http://vizedhtmlcontent.next.ecollege.com/CurrentCourse/Multimedia/T_Mean_Less_Than_Thb.jpg align="right" caption="Tutorial" link="@http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/SSO/hub2/sso.html?node=26558"]]  ||   ||

We will conclude our work on hypothesis testing with a single variable by considering the case of a large sample test about a population proportion. As an example, we will revisit the following problem situation, involving a customer satisfaction survey at Bank of America, which we first encountered in our Week 3 Lecture. //Quality Progress//, February 2005, reports on the results achieved by Bank of America in improving customer satisfaction and customer loyalty by listening to the "voice of the customer." A key measure of customer satisfaction is the response on a scale from 1 to 10 to the question, "Considering all the business you do with Bank of America, what is your overall satisfaction with Bank of America?" Suppose that a random sample of 350 current customers results in 195 customers with a response of 9 or 10 representing "customer delight."
 * **Problem Situation: z Tests about a Population Proportion** || [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/021805ibtt.gif align="right" caption="Back to Top" link="http://vizedhtmlcontent.next.ecollege.com/(NEXT(2b031cbafe))/Main/CourseMode/VizedHtmlView/RenderVizedHtmlView.ed?courseItemSubId=162296899&courseItemType=CourseContentItem&#top"]] ||
 * **Problem Situation: z Tests about a Population Proportion** || [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/021805ibtt.gif align="right" caption="Back to Top" link="http://vizedhtmlcontent.next.ecollege.com/(NEXT(2b031cbafe))/Main/CourseMode/VizedHtmlView/RenderVizedHtmlView.ed?courseItemSubId=162296899&courseItemType=CourseContentItem&#top"]] ||
 * Let //p// denote the true proportion of all current Bank of America customers who would respond with a 9 or 10, and note that the historical proportion of customer delight for Bank of America has been .48. Calculate the //p//-value for testing <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">p <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.48 versus <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">: <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">p <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">> <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.48  . How much evidence is there that //p// exceeds .48?
 * 1) Bank of America has a base of nearly 30 million customers. Do you think that the sample results have practical importance? Explain your opinion.
 * || **Important Steps** || ** Key Points **

(A "think aloud" about the Important Steps) || > > **The test statistic = 2.88** || The most important point about this problem type is that the hypothesis testing framework is the same as it is for the mean, **except** for the change in the test statistic formula. Just be sure to note that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">p <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">̂ is the sample proportion and <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">p <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0  is the population proportion under the null hypothesis. || <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">α in this problem. We can still use the //p//-value approach by using the earlier table for "Interpreting the Weight of Evidence against the Null Hypothesis" provided above. We can also use the //p//-value by itself to say, "there is a probability of only .002 that we are making a mistake in rejecting <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 and accepting <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  ." || **Here is a "summary box," which summarizes the critical value and the //p//-value approaches to hypothesis testing about a population proportion.**
 * # **The test statistic =** <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">p <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">̂ − <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">p <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">p <span class="mn" style="font-family: MathJax_Main; font-size: 9px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">( <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">1 <span class="mo" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">− <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">p <span class="mn" style="font-family: MathJax_Main; font-size: 9px; text-decoration: none; vertical-align: 0px;">0 <span class="mo" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">) <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">n <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">−−−−−− <span style="font-family: MathJax_Size2; font-size: 16px; text-decoration: none; vertical-align: 0px;">√ <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">z <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">= <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.557 <span class="mo" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">− <span class="mn" style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">.480 <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.480 <span class="mo" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">( <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">1 <span class="mo" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">− <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">.480 <span class="mo" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">) <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">350 <span style="font-family: MathJax_Main; font-size: 16px; text-decoration: none; vertical-align: 0px;">−−−−−−−− <span style="font-family: MathJax_Size2; font-size: 16px; text-decoration: none; vertical-align: 0px;">√
 * # From the test statistic //z// = 2.88 we find the //p//-value = .002. Because the //p//-value is less than .01, we can use the Weight of Evidence table to conclude that we have "very strong evidence" that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mn" style="font-family: MathJax_Main; font-size: 11px; text-decoration: none; vertical-align: 0px;">0 is false and that <span class="mi" style="font-family: MathJax_Math; font-size: 16px; text-decoration: none; vertical-align: 0px;">H <span class="mi" style="font-family: MathJax_Math; font-size: 11px; text-decoration: none; vertical-align: 0px;">a  is true, namely that //p// exceeds .48. || Notice that we are not given a value for
 * With 30 million customers, there is great practical significance in the results, because the more delighted customers there are, the more repeat business, and the more referrals there will be for Bank of America. || As always, at the conclusion of an analysis, we want to return to the language of the problem situation and reflect on the real-world meaning of our results. ||  ||

To learn how to use Minitab to do an hypothesis test with the proportion, use the following link. And, here is the Minitab output you should get.
 * [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/tutorial.gif align="absMiddle" caption="Tutorial"]] Tutorial ||
 * || [[image:http://vizedhtmlcontent.next.ecollege.com/CurrentCourse/Multimedia/Z_Proportion_Greater_Than_Thb.jpg align="right" caption="Tutorial" link="@http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/SSO/hub2/sso.html?node=26561"]]  ||   ||

This concludes our work on hypothesis testing with a single variable, including means and proportions, one-tail and two-tail tests, and known and unknown population standard deviation. In the next two lectures, we turn to the consideration of two or more variables, a procedure known as //Regression//. All of our hard work will be tremendously useful as we employ confidence intervals and hypothesis testing to making inferences and predictions about one variable (which we'll call the dependent variable), and using one or more additional variables (which we'll call independent variables) as the basis for our predictions. Finally, we should note that in our use of Minitab to support us in doing hypothesis testing, we have used summary data. However, often we will want to start with raw data, which Minitab can also handle very nicely. Here is a link to show you how to do hypothesis testing with raw data. And, here is the final Minitab output you should get.
 * || ||
 * **Summary and Conclusions** || [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/021805ibtt.gif align="right" caption="Back to Top" link="http://vizedhtmlcontent.next.ecollege.com/(NEXT(2b031cbafe))/Main/CourseMode/VizedHtmlView/RenderVizedHtmlView.ed?courseItemSubId=162296899&courseItemType=CourseContentItem&#top"]] ||
 * [[image:http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/Images/tutorial.gif align="absMiddle" caption="Tutorial"]] Tutorial ||
 * || [[image:http://vizedhtmlcontent.next.ecollege.com/CurrentCourse/Multimedia/Hypothesis_Test_with_Raw_Data_Thb.jpg align="right" caption="Tutorial" link="@http://vizedhtmlcontent.next.ecollege.com/ec/Courses/13775/CRS-DVUO-2148869/SSO/hub2/sso.html?node=26557"]]  ||   ||

Cases and the associated data sets contained in this lecture were drawn from the publisher's web site for our text book, __Essentials of Business Statistics__, 4th Edition, Bowerman, McGraw-Hill, New York, O'Connell, Murphree, and Orris