<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5 plus MathML//EN" "http://cnx.rice.edu/cnxml/0.5/DTD/cnxml_mathml.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:m="http://www.w3.org/1998/Math/MathML" xmlns:bib="http://bibtexml.sf.net/" id="id10469632">
  <name>Hypothesis Testing: Two Population Means and Two Population Proportions: Practice 2</name>
  <metadata>
  <md:version>1.5</md:version>
  <md:created>2008/06/22 19:54:02 GMT-5</md:created>
  <md:revised>2008/08/15 12:15:16.545 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>This module provides a practice of Hypothesis Testing: Two Population Means and Two Population Proportions:  as a part of Collaborative Statistics collection (col10522) by Barbara Illowsky and Susan Dean.</md:abstract>
</metadata>
  <content>
<!--empty document?-->
    <section id="element-123"><name>Student Learning Outcome</name>
<list id="list-2356124" type="bulleted"><item>
The student will explore the properties of hypothesis testing with two averages.</item>
</list></section><section id="element-117"><name>Given</name>
<para id="element-676">
The U.S. Center for Disease Control reports that the average life expectancy for whites born in 1900 was 47.6 years and for nonwhites it was 33.0 years. (http://www.cdc.gov/nchs/data/dvs/nvsr53_06t12.pdf ) Suppose that you randomly survey death records for people born in 1900 in a certain county. Of the 124 whites, the average life span was 45.3 years with a standard deviation of 12.7 years. Of the 82 nonwhites, the average life span was 34.1 years with a standard deviation of 15.6 years. Conduct a hypothesis test to see if the average life spans in the county were the same for whites and nonwhites.
</para></section><section id="element-128"><name>Hypothesis Testing: Two Averages</name>
<exercise id="element-385"><problem>
  <para id="element-249">Is this a test of averages or proportions? 
  </para>
</problem>

<solution>
  <para id="element-583">Averages</para>
</solution>
</exercise><exercise id="element-818"><problem>
  <para id="element-591">
State the null and alternative hypotheses.
  </para>

<list id="list-972634987" type="named-item"><?mark .?>
<item><name>a</name>
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:msub><m:mi>H</m:mi><m:mstyle fontsize="8pt"><m:mrow><m:mi>0</m:mi></m:mrow></m:mstyle></m:msub><m:mi>:</m:mi></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{H rSub { size 8{0} } :} {}</m:annotation></m:semantics></m:math></item>

<item><name>b</name>
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:msub><m:mi>H</m:mi><m:mstyle fontsize="8pt"><m:mrow><m:mi>a</m:mi></m:mrow></m:mstyle></m:msub><m:mi>:</m:mi></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{H rSub { size 8{a} } :} {}</m:annotation></m:semantics></m:math></item></list>
</problem>

<solution>
  <list id="list-8273648" type="named-item"><?mark .?>
<item><name>a</name>
<m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:msub>
                    <m:mi>H</m:mi>
                    <m:mstyle fontsize="8pt">
                      <m:mrow>
                        <m:mi>0</m:mi>
                      </m:mrow>
                    </m:mstyle>
                  </m:msub>
                  <m:mi>:</m:mi>
                  <m:mrow>
                    <m:msub>
                      <m:mi>μ</m:mi>
                      <m:mstyle fontsize="8pt">
                        <m:mrow>
                          <m:mi>W</m:mi>
                        </m:mrow>
                      </m:mstyle>
                    </m:msub>
                    <m:mo stretchy="false">=</m:mo>
                    <m:msub>
                      <m:mi>μ</m:mi>
                      <m:mstyle fontsize="8pt">
                        <m:mrow>
                          <m:mstyle fontstyle="italic">
                            <m:mrow>
                              <m:mtext>NW</m:mtext>
                            </m:mrow>
                          </m:mstyle>
                        </m:mrow>
                      </m:mstyle>
                    </m:msub>
                  </m:mrow>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{H rSub { size 8{O} } :μ rSub { size 8{W} } =μ rSub { size 8{ ital "NW"} } } {}</m:annotation>
        </m:semantics>
      </m:math>
</item>

<item><name>b</name>
      <m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:msub>
                    <m:mi>H</m:mi>
                    <m:mstyle fontsize="8pt">
                      <m:mrow>
                        <m:mi>a</m:mi>
                      </m:mrow>
                    </m:mstyle>
                  </m:msub>
                  <m:mi>:</m:mi>
                  <m:mrow>
                    <m:msub>
                      <m:mi>μ</m:mi>
                      <m:mstyle fontsize="8pt">
                        <m:mrow>
                          <m:mi>W</m:mi>
                        </m:mrow>
                      </m:mstyle>
                    </m:msub>
                    <m:mo stretchy="false">≠</m:mo>
                    <m:msub>
                      <m:mi>μ</m:mi>
                      <m:mstyle fontsize="8pt">
                        <m:mrow>
                          <m:mstyle fontstyle="italic">
                            <m:mrow>
                              <m:mtext>NW</m:mtext>
                            </m:mrow>
                          </m:mstyle>
                        </m:mrow>
                      </m:mstyle>
                    </m:msub>
                  </m:mrow>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{H rSub { size 8{a} } :μ rSub { size 8{W} }  &lt;&gt; μ rSub { size 8{ ital "NW"} } } {}</m:annotation>
        </m:semantics>
      </m:math>
</item>
    </list>
</solution>
</exercise><exercise id="element-22"><problem>
  <para id="element-103">Is this a right-tailed, left-tailed, or two-tailed test? How do you know?

</para>
  
</problem>

<solution>
  <para id="element-313">two-tailed
  </para>
</solution>
</exercise><exercise id="element-708"><problem>
  <para id="element-44">What is the Random Variable of interest for this test?</para>
</problem>
<solution>
<para id="monday">

      <m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:msub>
                    <m:mover accent="true">
                      <m:mi>X</m:mi>
                      <m:mo>¯</m:mo>
                    </m:mover>
                    <m:mstyle fontsize="8pt">
                      <m:mrow>
                        <m:mi>W</m:mi>
                      </m:mrow>
                    </m:mstyle>
                  </m:msub>
                  <m:mo stretchy="false">−</m:mo>
                  <m:msub>
                    <m:mover accent="true">
                      <m:mi>X</m:mi>
                      <m:mo>¯</m:mo>
                    </m:mover>
                    <m:mstyle fontsize="8pt">
                      <m:mrow>
                        <m:mstyle fontstyle="italic">
                          <m:mrow>
                            <m:mtext>NW</m:mtext>
                          </m:mrow>
                        </m:mstyle>
                      </m:mrow>
                    </m:mstyle>
                  </m:msub>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{ {overline  {X}}  rSub { size 8{W} }  -  {overline  {X}}  rSub { size 8{ ital "NW"} } } {}</m:annotation>
        </m:semantics>
      </m:math>
    </para>
</solution></exercise><exercise id="element-386"><problem>
  <para id="element-101">In words, define the Random Variable for this test.</para>
</problem>
<solution>
<para id="Thursday">
student-t
</para>
</solution></exercise><exercise id="element-7"><problem>
  <para id="element-189">Which distribution (Normal or student-t) would you use for this hypothesis test?</para>
</problem>
</exercise><exercise id="element-464"><problem>
  <para id="element-847">Explain why you chose the distribution you did for the above question.</para>
</problem>
</exercise><exercise id="element-345"><problem>
  <para id="element-330">Calculate the test statistic. </para>
</problem>

<solution>
  <para id="element-769">5.42</para>
</solution>
</exercise><exercise id="element-814"><problem>
  <para id="element-359">Sketch a graph of the situation. Label the horizontal axis. Mark the hypothesized difference and the sample difference. Shade the area corresponding to the <m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>p</m:mi><m:mo stretchy="false">−</m:mo><m:mrow/></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{p - {}} {}</m:annotation></m:semantics></m:math>value.
<figure><media type="image/png" src="9.png">
 
  <media type="image/png" src="9.png"/>
</media></figure>

  </para>
</problem>
</exercise><exercise id="element-287"><problem>
  <para id="element-604">Find the 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>p</m:mi><m:mo stretchy="false">−</m:mo><m:mrow/></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{p - {}} {}</m:annotation></m:semantics></m:math>value: </para>
</problem>

<solution>
  <para id="element-24">0.0000</para>
</solution>
</exercise><exercise id="element-723"><problem>
 <para id="element-99">
   At a pre-conceived 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mrow><m:mi>α</m:mi><m:mo stretchy="false">=</m:mo><m:mn>0</m:mn></m:mrow><m:mtext>.</m:mtext><m:mtext>05</m:mtext></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{α=0 "." "05"} {}</m:annotation></m:semantics></m:math>, what is your:
<list id="list-2353627788" type="named-item"><?mark .?>
<item><name>a</name>
Decision:</item>
<item><name>b</name>
Reason for the decision:</item>
<item><name>c</name>
Conclusion (write out in a complete sentence):</item>
</list>
</para>
</problem>

<solution>
  <list id="element-307" type="named-item"><?mark .?><item><name>a</name>Reject the null hypothesis</item></list>
</solution>
</exercise></section><section id="element-669"><name>Discussion Question</name><exercise id="exerciseonekjh">
<problem>
<para id="element-553">Does it appear that the averages are the same? Why or why not?</para></problem></exercise></section>
  </content>
</document>
