<?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>Linear Regression and Correlation: Practice</name>
  <metadata>
  <md:version>1.7</md:version>
  <md:created>2008/06/22 21:22:13 GMT-5</md:created>
  <md:revised>2008/10/27 17:54:41.430 GMT-5</md:revised>
  <md:authorlist>
      <md:author id="sdean">
      <md:firstname>Susan</md:firstname>
      
      <md:surname>Dean</md:surname>
      <md:email>deansusan@deanza.edu</md:email>
    </md:author>
      <md:author id="billowsky">
      <md:firstname>Barbara</md:firstname>
      
      <md:surname>Illowsky</md:surname>
      <md:email>illowskybarbara@deanza.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="sdean">
      <md:firstname>Susan</md:firstname>
      
      <md:surname>Dean</md:surname>
      <md:email>deansusan@deanza.edu</md:email>
    </md:maintainer>
    <md:maintainer id="billowsky">
      <md:firstname>Barbara</md:firstname>
      
      <md:surname>Illowsky</md:surname>
      <md:email>illowskybarbara@deanza.edu</md:email>
    </md:maintainer>
    <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 Linear Regression and Correlation as a part of Collaborative Statistics collection (col10522) by Barbara Illowsky and Susan Dean.</md:abstract>
</metadata>
  <content>
    <section id="element-217"><name>Student Learning Outcomes</name>
<list id="list-23453" type="bulleted">


<item>The student will explore the properties of linear regression.</item>



</list></section><section id="element-476"><name>Given</name>
<para id="element-532">The data below are real.  Keep in mind that these are only reported figures. (<cite>Source:  Centers for Disease Control and Prevention, National Center for HIV, STD, and TB Prevention, October 24, 2003</cite>)
</para><table id="element-806">
<?table-summary This table presents the year of reporting AIDS cases and deaths in the first column, number of AIDS cases diagnosed in the second column, and number of AIDS deaths in the third column.?>
<name>Adults and Adolescents only, United States </name>
<tgroup cols="3"><colspec colnum="1" colname="c1"/>
        <colspec colnum="2" colname="c2"/>
        <colspec colnum="3" colname="c3"/>
        <tbody>
          <row>
            <entry>
              <emphasis>Year </emphasis>
            </entry>
            <entry>
              <emphasis># AIDS cases diagnosed</emphasis>
            </entry>
            <entry>
              <emphasis># AIDS deaths </emphasis>
            </entry>
          </row>
          <row>
            <entry>Pre-1981</entry>
            <entry>91</entry>
            <entry>29</entry>
          </row>
          <row>
            <entry>1981</entry>
            <entry>319</entry>
            <entry>121</entry>
          </row>
          <row>
            <entry>1982</entry>
            <entry>1,170</entry>
            <entry>453</entry>
          </row>
          <row>
            <entry>1983</entry>
            <entry>3,076</entry>
            <entry>1,482</entry>
          </row>
          <row>
            <entry>1984</entry>
            <entry>6,240</entry>
            <entry>3,466</entry>
          </row>
          <row>
            <entry>1985</entry>
            <entry>11,776</entry>
            <entry>6,878</entry>
          </row>
          <row>
            <entry>1986</entry>
            <entry>19,032</entry>
            <entry>11,987</entry>
          </row>
          <row>
            <entry>1987</entry>
            <entry>28,564</entry>
            <entry>16,162</entry>
          </row>
          <row>
            <entry>1988</entry>
            <entry>35,447</entry>
            <entry>20,868</entry>
          </row>
          <row>
            <entry>1989</entry>
            <entry>42,674</entry>
            <entry>27,591</entry>
          </row>
          <row>
            <entry>1990</entry>
            <entry>48,634</entry>
            <entry>31,335</entry>
          </row>
          <row>
            <entry>1991</entry>
            <entry>59,660</entry>
            <entry>36,560</entry>
          </row>
          <row>
            <entry>1992</entry>
            <entry>78,530</entry>
            <entry>41,055</entry>
          </row>
          <row>
            <entry>1993</entry>
            <entry>78,834</entry>
            <entry>44,730</entry>
          </row>
          <row>
            <entry>1994</entry>
            <entry>71,874</entry>
            <entry>49,095</entry>
          </row>
          <row>
            <entry>1995</entry>
            <entry>68,505</entry>
            <entry>49,456</entry>
          </row>
          <row>
            <entry>1996</entry>
            <entry>59,347</entry>
            <entry>38,510</entry>
          </row>
          <row>
            <entry>1997</entry>
            <entry>47,149</entry>
            <entry>20,736</entry>
          </row>
          <row>
            <entry>1998</entry>
            <entry>38,393</entry>
            <entry>19,005</entry>
          </row>
          <row>
            <entry>1999</entry>
            <entry>25,174</entry>
            <entry>18,454</entry>
          </row>
          <row>
            <entry>2000</entry>
            <entry>25,522</entry>
            <entry>17,347</entry>
          </row>
          <row>
            <entry>2001</entry>
            <entry>25,643</entry>
            <entry>17,402</entry>
          </row>
          <row>
            <entry>2002</entry>
            <entry>26,464</entry>
            <entry>16,371</entry>
          </row>
          <row>
            <entry>
              <emphasis>Total</emphasis>
            </entry>
            <entry>
              <emphasis>802,118</emphasis>
            </entry>
            <entry>
              <emphasis>489,093</emphasis>
            </entry>
          </row>
        </tbody>
      

</tgroup>
</table><note>We will use the columns “year” and “# AIDS cases diagnosed” for all questions unless otherwise stated.</note></section><section id="element-718"><name>Graphing</name>
<para id="element-85">Graph “year” vs. “# AIDS cases diagnosed.” <emphasis>Plot the points on the graph located below in the section titled "Plot" </emphasis>. Do not include pre-1981. Label both axes with words. Scale both axes.
</para></section><section id="element-1"><name>Data</name>
<exercise id="element-54"><problem>
  <para id="element-930">
Enter your data into your calculator or computer. The pre-1981 data should not be included. Why is that so?
  </para>
</problem>
</exercise></section><section id="element-341"><name>Linear Equation</name>
<para id="element-730">Write the linear equation below, rounding to 4 decimal places:
</para><exercise id="element-222"><problem>
<para id="element-50234233422">
Calculate the following:

  <list id="list-234" type="named-item"><?mark .?>
<item><name>a</name>
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>a</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{a={}} {}</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:mi>b</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{b={}} {}</m:annotation></m:semantics></m:math></item>

<item><name>c</name> 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mstyle fontstyle="italic"><m:mrow><m:mtext>corr</m:mtext></m:mrow></m:mstyle><m:mrow><m:mtext>.</m:mtext><m:mo stretchy="false">=</m:mo><m:mrow/></m:mrow></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{ ital "corr" "." ={}} {}</m:annotation></m:semantics></m:math></item>

<item><name>d</name>
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>n</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{n={}} {}</m:annotation></m:semantics></m:math>(# of pairs)</item></list></para>
</problem>

<solution>
  <list id="list-345" type="named-item">
<?mark .?>
<item><name>a</name>
<m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:mi>a</m:mi>
                  <m:mo stretchy="false">=</m:mo>
                  <m:mtext>-3,448,225</m:mtext>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{a="-3,448,225"} {}</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:mi>b</m:mi>
                  <m:mo stretchy="false">=</m:mo>
                  <m:mtext>1750</m:mtext>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{b="1750"} {}</m:annotation>
        </m:semantics>
      </m:math>
</item>      

<item><name>c</name>
      <m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:mstyle fontstyle="italic">
                    <m:mrow>
                      <m:mtext>corr</m:mtext>
                    </m:mrow>
                  </m:mstyle>
                  <m:mrow>
                    <m:mtext>.</m:mtext>
                    <m:mo stretchy="false">=</m:mo>
                    <m:mn>0</m:mn>
                  </m:mrow>
                  <m:mtext>.</m:mtext>
                  <m:mtext>4526</m:mtext>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{ ital "corr" "." =0 "." "4526"} {}</m:annotation>
        </m:semantics>
      </m:math></item>
    
<item><name>d</name>      <m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:mi>n</m:mi>
                  <m:mo stretchy="false">=</m:mo>
                  <m:mtext>22</m:mtext>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{n="22"} {}</m:annotation>
        </m:semantics>
      </m:math>
 </item>   </list>
</solution>
</exercise><exercise id="element-537"><problem>
  <para id="element-803">equation: 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mover accent="true"><m:mi>y</m:mi><m:mo stretchy="false">^</m:mo></m:mover><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{ { hat  {y}}={}} {}</m:annotation></m:semantics></m:math> 
  </para>
</problem>

<solution>
  <para id="element-747"><m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:mover accent="true">
                    <m:mi>y</m:mi>
                    <m:mo stretchy="false">^</m:mo>
                  </m:mover>
                  <m:mo stretchy="false">=</m:mo>
                  <m:mtext>-3,448,225</m:mtext>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{ { hat  {y}}="-3,448,225"} {}</m:annotation>
        </m:semantics>
      </m:math>
    

      <m:math>
        <m:semantics>
          <m:mrow>
            <m:mstyle fontsize="12pt">
              <m:mrow>
                <m:mrow>
                  <m:mrow>
                    <m:mo stretchy="false">+</m:mo>
                    <m:mtext>1750</m:mtext>
                  </m:mrow>
                  <m:mi>x</m:mi>
                </m:mrow>
              </m:mrow>
            </m:mstyle>
            <m:mrow/>
          </m:mrow>
          <m:annotation encoding="StarMath 5.0"> size 12{+"1750"x} {}</m:annotation>
        </m:semantics>
      </m:math>
    
  </para>
</solution>
</exercise></section><section id="element-653"><name>Solve</name>
<exercise id="element-578"><problem>
  <para id="element-632">
Solve.

<list id="list-2352634" type="named-list"><?mark .?>
<item><name>a</name>
 When 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">=</m:mo><m:mtext>1985</m:mtext></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{x="1985"} {}</m:annotation></m:semantics></m:math>, 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mover accent="true"><m:mi>y</m:mi><m:mo stretchy="false">^</m:mo></m:mover><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{ { hat  {y}}={}} {}</m:annotation></m:semantics></m:math></item>

<item><name>b</name>
When 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">=</m:mo><m:mtext>1990</m:mtext></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{x="1990"} {}</m:annotation></m:semantics></m:math>, 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mover accent="true"><m:mi>y</m:mi><m:mo stretchy="false">^</m:mo></m:mover><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{ { hat  {y}}={}} {}</m:annotation></m:semantics></m:math></item>
  </list></para>
</problem>

<solution>
 <list id="list-3463146" type="named-item"><?mark .?>
<item>
<name>a</name>25082</item>
<item>
<name>b</name>33,831</item>
  </list>
</solution>
</exercise></section><section id="element-478"><name>Plot</name>
<para id="element-263">
Plot the 2 above points on the graph below. Then, connect the 2 points to form the regression line.
</para>
<media type="image/pg" src="9.png">
<param name="alt" value="Blank graph with horizontal and vertical axes."/>

<param name="print-width" value="4in"/>
</media>
<para id="element-2352642">	
Obtain the graph on your calculator or computer.
</para></section><section id="element-163"><name>Discussion Questions</name>
<para id="element-844">Look at the graph above.
</para><exercise id="element-508"><problem>
  <para id="element-348">
Does the line seem to fit the data? Why or why not?
  </para>
</problem>
</exercise><exercise id="element-717"><problem>
  <para id="element-160">
	Do you think a linear fit is best? Why or why not?
  </para>
</problem>
</exercise><exercise id="element-593"><problem>
  <para id="element-659">Hand draw a smooth curve on the graph above that shows the flow of the data.
  </para>
</problem>
</exercise><exercise id="element-658"><problem>
  <para id="element-893">
 What does the correlation imply about the relationship between time (years) and the number of diagnosed AIDS cases reported in the U.S.?
  </para>
</problem>
</exercise><exercise id="element-352"><problem>
  <para id="element-843">
Why is “year” the independent variable and “# AIDS cases diagnosed.” the dependent variable (instead of the reverse)?
  </para>
</problem>
</exercise><exercise id="element-560"><problem>
  <para id="element-457">Solve. 
<list id="list-23526" type="named-item"><?mark .?>
<item><name>a</name>When 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mi>x</m:mi><m:mo stretchy="false">=</m:mo><m:mtext>1970</m:mtext></m:mrow></m:mrow></m:mstyle><m:mrow/></m:mrow><m:annotation encoding="StarMath 5.0"> size 12{x="1970"} {}</m:annotation></m:semantics></m:math>, 
<m:math><m:semantics><m:mrow><m:mstyle fontsize="12pt"><m:mrow><m:mrow><m:mover accent="true"><m:mi>y</m:mi><m:mo stretchy="false">^</m:mo></m:mover><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{ { hat  {y}}={}} {}</m:annotation></m:semantics></m:math>:</item>
<item><name>b</name>Why doesn’t this answer make sense?</item>
</list></para>
</problem>

<solution>
  <list id="list-9726435" type="named-item"><?mark .?>
<item><name>a</name>
-1164
</item>
</list>
 
</solution>
</exercise></section>   
  </content>
  
</document>
