<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" xmlns:m="http://www.w3.org/1998/Math/MathML" id="new">
  <name>Hypothesis Testing of Single Mean and Single Proportion: Outcomes and the Type I and Type II Errors</name>
  <metadata>
  <md:version>1.4</md:version>
  <md:created>2008/06/06 17:20:24 GMT-5</md:created>
  <md:revised>2008/07/18 14:01:41.374 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="billowsky">
      <md:firstname>Barbara</md:firstname>
      
      <md:surname>Illowsky</md:surname>
      <md:email>illowskybarbara@deanza.edu</md:email>
    </md:author>
      <md:author id="sdean">
      <md:firstname>Susan</md:firstname>
      
      <md:surname>Dean</md:surname>
      <md:email>deansusan@deanza.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="cnxorg">
      <md:firstname/>
      
      <md:surname>Connexions</md:surname>
      <md:email>cnx@cnx.org</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>elementary</md:keyword>
    <md:keyword>statistics</md:keyword>
  </md:keywordlist>

  <md:abstract/>
</metadata>
  <content>
    <para id="delete_me">When you perform a hypothesis test, there are four outcomes. The outcomes are summarized
in the following table:</para>
<table id="element-689">
<?table-summary This table states the four outcomes that result from the hypothesis test. The first column are the actions, second column is if the hypothesis is true, third column is if the hypothesis is false. The first row is categorized as do not reject the null hypothesis and the second row is categorized as reject the null hypothesis>?>
<tgroup cols="3"><thead>
  <row>
    <entry>Action</entry>
    <entry>True</entry>
    <entry>False</entry>
  </row>
</thead>

<tbody>

  <row>
    <entry><emphasis>Do not reject <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math></emphasis></entry>
    <entry>Correct Outcome</entry>
    <entry>Type II error</entry>
  </row>
  <row>
    <entry><emphasis>Reject <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math></emphasis></entry>
    <entry>Type I Error</entry>
    <entry>Correct Outcome</entry>
  </row>
</tbody>



</tgroup>
<caption><m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math> = the null hypothesis</caption>
</table><para id="element-915">The four outcomes in the table are:
<list id="list-1" type="bulleted"><item>The decision is to <emphasis>not reject <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math></emphasis> when, in fact, <emphasis><m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math> is true (correct decision).</emphasis></item>
<item>The decision is to <emphasis>reject <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math></emphasis> when, in fact, <emphasis><m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math> is true</emphasis> (incorrect decision known as a
<term src="#type1err">Type I error</term>).</item>
<item>The decision is to <emphasis>not reject <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math></emphasis> when, in fact, <emphasis><m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math> is false</emphasis> (incorrect decision known
as a <term src="#type2err">Type II error</term>).</item>
<item>The decision is to <emphasis>reject <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math></emphasis> when, in fact, <emphasis><m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math> is false</emphasis> (<emphasis>correct decision</emphasis> whose
probability is called the <emphasis>Power of the Test</emphasis>).</item></list></para><para id="element-247">Each of the errors occurs with a particular probability. The Greek letters <emphasis><m:math><m:mi>α</m:mi></m:math></emphasis> and <emphasis><m:math><m:mi>β</m:mi></m:math></emphasis>
represent the probabilities.</para><para id="element-95"><emphasis><m:math><m:mi>α</m:mi></m:math></emphasis> = probability of a Type I error = <emphasis>P(Type I error)</emphasis>
= probability of rejecting the null hypothesis when the null hypothesis is true.</para><para id="element-634"><emphasis><m:math><m:mi>β</m:mi></m:math></emphasis> = probability of a Type II error = <emphasis>P(Type II error)</emphasis>
= probability of not rejecting the null hypothesis when the null hypothesis is false.</para><para id="element-222"><m:math><m:mi>α</m:mi></m:math> and <m:math><m:mi>β</m:mi></m:math> should be as small as possible because they are
probabilities of errors. They are rarely 0.</para><para id="element-225">The Power of the Test is <m:math><m:mn>1</m:mn><m:mo>-</m:mo><m:mi>β</m:mi></m:math>. Ideally, we want a high power that is
as close to 1 as possible.</para><para id="element-400">The following are examples of Type I and Type II errors.</para><example id="element-484"><para id="element-742">Suppose the null hypothesis, <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math>, is:
Frank's rock climbing equipment is safe.
</para><para id="element-905"><emphasis>Type I error</emphasis>: Frank concludes that his rock climbing equipment may not be safe when, in
fact, it really is safe. <emphasis>Type II error</emphasis>: Frank concludes that his rock climbing equipment is safe when, in fact, it is
not safe.</para><para id="element-821"><emphasis><m:math><m:mi>α</m:mi></m:math> = probability</emphasis> that Frank thinks his rock climbing equipment may not be safe when,
in fact, it really is.
<emphasis><m:math><m:mi>β</m:mi></m:math> = probability</emphasis> that Frank thinks his rock climbing equipment is safe when, in fact, it is
not.</para><para id="element-239">Notice that, in this case, the error with the greater consequence is the Type II error. (If
Frank thinks his rock climbing equipment is safe, he will go ahead and use it.)</para>
</example><example id="element-449"><para id="element-496">Suppose the null hypothesis, <m:math><m:msub><m:mi>H</m:mi><m:mi>o</m:mi></m:msub></m:math>, is:
The victim of an automobile accident is alive when he arrives at the
emergency room of a hospital.
</para><para id="element-157"><emphasis>Type I error</emphasis>: The emergency crew concludes that the victim is dead when, in fact, the
victim is alive.
<emphasis>Type II error</emphasis>: The emergency crew concludes that the victim is alive when, in fact, the
victim is dead.</para><para id="element-558"><emphasis><m:math><m:mi>α</m:mi></m:math> = probability</emphasis> that the emergency crew thinks the victim is dead when, in fact, he is
really alive = <m:math><m:mtext>P(Type I error)</m:mtext></m:math>.
<emphasis><m:math><m:mi>β</m:mi></m:math> = probability</emphasis> that the emergency crew thinks the victim is alive when, in fact, he is
dead = <m:math><m:mtext>P(Type II error)</m:mtext></m:math>.</para><para id="element-266">The error with the greater consequence is the Type I error. (If the emergency crew thinks
the victim is dead, they will not treat him.)</para>
</example>   
  </content>
<glossary>
<definition id="type1err">
    <term>Type 1 Error</term>
    <meaning>
The decision is to reject Null hypothesis, when, in fact, Null hypothesis is true.
    </meaning>
  </definition>


<definition id="type2err">
    <term>Type 2 Error</term>
    <meaning>
The decision is not to reject Null hypothesis, when, Null hypothesis is false.
    </meaning>
  </definition>


</glossary>
  
</document>
