<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" href="../Math/XSL/pmathml.xsl"?>
<!--        This document was created  with

            S O F T 4 S C I E N C E      S c i W r i t e r   

            http://www.soft4science.com     e-mail: info@soft4science.com
-->
<html pref:renderer="mathplayer-dl" xmlns:pref="http://www.w3.org/2002/Math/preference" xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="Generator" content="soft4science SciWriter" />
    <meta name="template" content="" />
    <meta name="Style-Numbering" content="&lt;Numbering sections=&quot;False&quot; tables=&quot;none&quot; /&gt;" />
    <meta name="Style-ParagraphMargins" content="&lt;ParagraphMargins h1_bottom=&quot;1&quot; h1_top=&quot;1&quot; h2_bottom=&quot;1&quot; h2_top=&quot;1&quot; h3_bottom=&quot;1&quot; h3_top=&quot;1&quot; h4_bottom=&quot;1&quot; h4_top=&quot;1&quot; h5_bottom=&quot;1&quot; h5_top=&quot;1&quot; h6_bottom=&quot;1&quot; h6_top=&quot;1&quot; /&gt;" />
    <meta name="Style-Headings" content="&lt;Headings color=&quot;Black&quot; /&gt;" />
    <meta name="Style-GeneralText" content="&lt;GeneralText textIndent=&quot;0&quot; /&gt;" />
    <meta name="PreferedMathMLRenderer" content="mathplayer_dl" />
    <meta name="guid" content="ad6f0718-294f-4466-8691-947f1c041457" />
    <meta name="date_lastUpdated" content="2005-09-30T09:56:41" />
    <meta name="date_created" content="2004-06-29T20:43:05" />
    <meta name="keywords" content="Calculus" />
    <meta name="author" content="John Weber" />
    <title>John Weber - GPC - Math 1431 - Chapter 4 Notes</title>
    <style type="text/css"><![CDATA[
    /* - CSS code generated by soft4science SciWriter  -*/

    body{font-size:14.25pt}
    table{font-size:14.25pt}
    a:link,a:active,a:visited{color:blue}
    img{border-width:0px}
    p,li,td,caption, blockquote{font-family:"Times New Roman",times}
    p{text-indent:0em}
    h1,h2,h3,h4,h5,h6{font-family:"Times New Roman",times;color:#000000}
    p{margin-top:0em;margin-bottom:0em}
    li{margin-top:0em;margin-bottom:0em}
    h1{font-size:160%;margin-top:1em;margin-bottom:1em}
    h2{font-size:150%;margin-top:1em;margin-bottom:1em}
    h3{font-size:140%;margin-top:1em;margin-bottom:1em}
    h4{font-size:130%;margin-top:1em;margin-bottom:1em}
    h5{font-size:120%;margin-top:1em;margin-bottom:1em}
    h6{font-size:110%;margin-top:1em;margin-bottom:1em}
    table{margin-top:1em;margin-bottom:1em}
    pre{margin-top:1em;margin-bottom:1em}
    hr{margin-top:1em;margin-bottom:1em}
    ul,ol{margin-top:0em;margin-bottom:0em}

    math          {font-family:"Times New Roman",times,CMSY10, CMEX10, Symbol}
    mml\:math    {font-family:"Times New Roman",times,CMSY10, CMEX10, Symbol}
    math[display="block"]{display:block;text-align:center;font-style: normal;}
    math *.[mathvariant="normal"] {font-weight: normal;font-style: normal;}
    math *.[mathvariant="bold"]   {font-weight: bold;font-style: normal;}
    math *.[mathvariant="italic"] {font-weight: normal;font-style: italic;}
    math *.[mathvariant="bold-italic"] {font-weight: bold;font-style: italic;}
    math *.[mathvariant="double-struck"]{font-family:msbm;font-weight: normal;font-style: normal;}
    math *.[mathvariant="script"]{font-family: eusb;font-weight: normal;font-style: normal;}
    math *.[mathvariant="bold-script"]{font-family: eusb;font-weight: bold;font-style: normal;}
    math *.[mathvariant="fraktur"] {font-family: eufm;font-weight: normal;font-style: normal;}
    math *.[mathvariant="bold-fraktur"] {font-family: eufm;font-weight: bold;font-style: italic;}
    math *.[mathvariant="sans-serif}"] {font-family: sans-serif,Arial,Lucida Sans Unicode, Verdana;font-weight: normal;font-style: normal;}
    math *.[mathvariant="bold-sans-serif"] {font-family: sans-serif,Arial, Lucida Sans Unicode, Verdana;font-weight: bold;font-style: normal;}
    math *.[mathvariant="sans-serif-italic"]{font-family: sans-serif,Arial, Lucida Sans Unicode, Verdana;font-weight: normal;font-style: italic;}
    math *.[mathvariant="sans-serif-bold-italic"] { font-family: sans-serif,Arial, Lucida Sans Unicode, Verdana ;font-weight: bold;font-style: italic;}
    math *.[mathvariant="monospace"] {font-family: monospace};
    math *.[mathsize="small"] {font-size: 80%};
    math *.[mathsize="big"] {font-size: 125%};
    msub>*:first-child[mathsize="big"],msup>*:first-child[mathsize="big"],msubsup>*:first-child[mathsize="big"],munder>*:first-child[mathsize="big"],mover>*:first-child[mathsize="big"],munderover>*:first-child[mathsize="big"],mmultiscripts>*:first-child[mathsize="big"],mroot>*:first-child[mathsize="big"] {font-size: 125%}
    msub>*:first-child[mathsize="small"],msup>*:first-child[mathsize="small"],msubsup>*:first-child[mathsize="small"],munder>*:first-child[mathsize="small"],mover>*:first-child[mathsize="small"],munderover>*:first-child[mathsize="small"],mmultiscripts>*:first-child[mathsize="small"],mroot>*:first-child[mathsize="small"] {  font-size: 80%}
    msub>*:first-child,msup>*:first-child,msubsup>*:first-child,munder>*:first-child,mover>*:first-child,munderover>*:first-child,mmultiscripts>*:first-child,mroot>*:first-child {  font-size: 100%}
    msub>*[mathsize="big"],msup>*[mathsize="big"],msubsup>*[mathsize="big"],munder>*[mathsize="big"],mover>*[mathsize="big"],munderover>*[mathsize="big"],mmultiscripts>*[mathsize="big"],math[display="inline"] mfrac>*[mathsize="big"],math *[scriptlevel="+1"][mathsize="big"] {  font-size: 89%  /* (.71 times 1.25) */}
    msub>* [mathsize="small"],msup>*[mathsize="small"],msubsup>*[mathsize="small"],munder>*[mathsize="small"],mover>*[mathsize="small"],munderover>*[mathsize="small"],mmultiscripts>*[mathsize="small"],math[display="inline"] mfrac>*[mathsize="small"],math *[scriptlevel="+1"][mathsize="small"] {  font-size: 57% /* (.71 times .80) */}
    msub>*,msup>*,msubsup>*,munder>*,mover>*,munderover>*,mmultiscripts>*,math[display="inline"] mfrac>*,math *[scriptlevel="+1"] {  font-size: 71%}
    mroot>*[mathsize="big"] {  font-size: 62%  /* (.50 times 1.25) */}
    mroot>*[mathsize="small"] {  font-size: 40% /* (.50 times .80) */}
    mroot>* {  font-size: 50%}
    .s4s-table-right{text-align:right}
    .s4s-table-right table{margin-left:auto;margin-right:0;text-align:left;}
    .s4s-table-right caption{margin-left:auto;margin-right:auto;text-align:center;}
    .s4s-table-center{text-align:center;}
    .s4s-table-center table{margin-left:auto;margin-right:auto;text-align:left;}
    .s4s-table-center caption{margin-left:auto;margin-right:auto;text-align:center;}
    .s4s-empty-paragraph{height:1em;width:textwidth}
    .s4s-noindent{text-indent:0em}
    .s4s-citation          {text-decoration:none}
    .s4s-section-reference {text-decoration:none}
    .s4s-theorem-reference {text-decoration:none}
    .s4s-table-reference   {text-decoration:none}
    .s4s-figure-reference  {text-decoration:none}
    .s4s-equation-reference{text-decoration:none}
    /* - CSS code generated by soft4science SciWriter  -*/
]]></style>
  </head>
  <body style="margin-left:50px;margin-right:50px;margin-top:50px;margin-bottom:50px">
    <p class="s4s-noindent">
      <span style="font-size:80%">www.john-weber.com</span>
    </p>
    <h1 class="s4s-section-numbered" id="SECTION.9c9a1249-5026-49ff-9987-db797e41b166">Chapter 4: Scatterplots and Correlation</h1>
    <hr />
    <h3 class="s4s-section-numbered" id="SECTION.e4331bc8-4fe7-496c-bde9-57b84b5faf16">
      <span style="color:Blue">Knowledge Prerequisites</span>
    </h3>
    <h4 class="s4s-section-numbered" id="SECTION.eb1947ef-373e-4cd2-a4b4-f519173f08ab">Variables</h4>
    <ol>
      <li>
        <strong>declarative knowledge (definitions)</strong>
        <ol>
          <li>independent variable</li>
          <li>dependent variable</li>
        </ol>
      </li>
      <li>
        <strong>procedural knowledge</strong>
        <ol>
          <li>how to plot points, <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>&#x00028;</mo><mi>x</mi><mo>&#x0002C;</mo><mi>y</mi><mo>&#x00029;</mo></mrow></math></li>
        </ol>
      </li>
      <li>
        <strong>conditional knowledge</strong>
        <ol>
          <li />
        </ol>
      </li>
      <li>
        <strong>resources</strong>
      </li>
    </ol>
    <hr />
    <h3 class="s4s-section-numbered" id="SECTION.541469b1-6c65-4551-9c65-ecf7706ab813">
      <span style="color:Green">Learning Goals</span>
    </h3>
    <ol>
      <li>
        <strong>declarative knowledge (definitions)</strong>
        <ol>
          <li>response variable</li>
          <li>explanatory variable</li>
          <li>categorical variable</li>
          <li>scatterplot</li>
          <li>positive/negative association</li>
          <li>correlation</li>
          <li>correlation coeeficient, <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math></li>
        </ol>
      </li>
      <li>
        <strong>procedural knowledge</strong>
        <ol>
          <li>how to construct a <a href="http://gpc.edu/%7Ejweber/math1431/ti83scatter.htm">scatterplot</a></li>
          <li>how to calculate the <a href="http://gpc.edu/%7Ejweber/math1431/ti83corCoeff.htm">correlation coefficient, <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math></a></li>
          <li>how to show categorical variables in scatterplots</li>
        </ol>
      </li>
      <li>
        <strong>conditional knowledge</strong>
        <ol>
          <li>know how construct a scatterplot<ol><li>correctly identify and place the explanatory and response variables</li><li>appropriately label the graph</li></ol></li>
          <li>know how interpret a scatterplot <ol><li>identify <strong>clusters</strong> of data;</li><li>the <strong>form</strong> of the relationship (linear is the only form we will consider in the course); </li><li>the direction of the relationship: positively/negatively association;</li><li>the strength of the relationship: strong (<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math> near <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>&#x000B1;</mo><mn>1</mn></math>) or weak (<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math> near <math xmlns="http://www.w3.org/1998/Math/MathML"><mn>0</mn></math>).</li></ol></li>
          <li>be able to distinguish between types of data.</li>
          <li>know the facts about correlation listed on p. 91 of text.</li>
        </ol>
      </li>
    </ol>
    <hr />
    <h3 class="s4s-section-numbered" id="SECTION.5107892a-0860-47da-8095-15431a1e8f9f">
      <span style="color:Red">Questions to Ponder</span>
    </h3>
    <ol>
      <li>What is the best way to study/prepare for the concepts in this section? Are there are other methods to study these concepts?</li>
      <li>What questions do you need to ask the instructor?</li>
    </ol>
    <hr />
    <h3 class="s4s-section-numbered" id="SECTION.09b05e4a-237c-4460-bc9b-eebfd8658bff">Purpose of this Section</h3>
    <ol>
      <li>To study a relationship between two variables. We are often interested in comparisons among several distributions or relationships among several variables. A study of data often leads us to ask whether there is a correlation between two variables that are closely linked in the data.</li>
    </ol>
    <hr />
    <h3 class="s4s-section-numbered" id="SECTION.71ab9e60-203d-44d4-9fe0-21324d832c91">General Notes</h3>
    <h6 class="s4s-section-numbered" id="SECTION.5d9da4d6-00bb-457c-9d64-0ccacc80ff45">Scatterplots</h6>
    <p class="s4s-noindent">To study a relationship between two variables, we need to measure both variables on the same individuals. But we need to be cautious of possible <strong>lurking variables</strong>.</p>
    <p class="s4s-empty-paragraph"> </p>
    <p>General procedure for studying possible relationships between two variables:</p>
    <ol>
      <li>Plot the data and add numerical summaries.</li>
      <li>Look for overall pattern and deviations from those patterns.</li>
      <li>Use mathematical models to describe regular patterns.</li>
    </ol>
    <p class="s4s-noindent">Here is how to <a href="ti83scatter.htm">construct a scatterplot on the TI-83</a>. Note when drawing a scatterplot make sure both axes have the same scale!</p>
    <h6 class="s4s-section-numbered" id="SECTION.1101b8d6-0d72-429e-8a12-d59d61848b59">Correlation Coefficient, <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>r</mi></math></h6>
    <p class="s4s-noindent">Measures the strength and direction of the linear association between two quantitative variables. The correlation coefficient is calculated as follows:</p>
    <table class="s4s-eq" width="95%">
      <tbody>
        <tr>
          <td align="center">
            <math display="block" xmlns="http://www.w3.org/1998/Math/MathML">
              <mi>r</mi>
              <mo>&#x0003D;</mo>
              <mfrac>
                <mrow>
                  <mn>1</mn>
                </mrow>
                <mrow>
                  <mi>n</mi>
                  <mo>&#x02212;</mo>
                  <mn>1</mn>
                </mrow>
              </mfrac>
              <mo>&#x02211;</mo>
              <mrow>
                <mo>&#x00028;</mo>
                <mfrac>
                  <mrow>
                    <msub>
                      <mrow>
                        <mi>x</mi>
                      </mrow>
                      <mrow>
                        <mi>i</mi>
                      </mrow>
                    </msub>
                    <mo>&#x02212;</mo>
                    <mover>
                      <mrow>
                        <mi>x</mi>
                      </mrow>
                      <mo>&#x000AF;</mo>
                    </mover>
                  </mrow>
                  <mrow>
                    <msub>
                      <mi>s</mi>
                      <mrow>
                        <mi>x</mi>
                      </mrow>
                    </msub>
                  </mrow>
                </mfrac>
                <mo>&#x00029;</mo>
                <mrow>
                  <mo>&#x00028;</mo>
                  <mfrac>
                    <mrow>
                      <msub>
                        <mrow>
                          <mi>y</mi>
                        </mrow>
                        <mrow>
                          <mi>i</mi>
                        </mrow>
                      </msub>
                      <mo>&#x02212;</mo>
                      <mover>
                        <mrow>
                          <mi>y</mi>
                        </mrow>
                        <mo>&#x000AF;</mo>
                      </mover>
                    </mrow>
                    <mrow>
                      <msub>
                        <mi>s</mi>
                        <mrow>
                          <mi>y</mi>
                        </mrow>
                      </msub>
                    </mrow>
                  </mfrac>
                  <mo>&#x00029;</mo>
                </mrow>
              </mrow>
            </math>
          </td>
        </tr>
      </tbody>
    </table>
    <p class="s4s-noindent">where <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow><mi>x</mi></mrow><mrow><mi>i</mi></mrow></msub></math> and <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow><mi>y</mi></mrow><mrow><mi>i</mi></mrow></msub></math> are are the observations of one individual, <math xmlns="http://www.w3.org/1998/Math/MathML"><mover><mrow><mi>x</mi></mrow><mo>&#x000AF;</mo></mover></math>and <math xmlns="http://www.w3.org/1998/Math/MathML"><mover><mrow><mi>y</mi></mrow><mo>&#x000AF;</mo></mover></math> are the means of the two variables, and <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow><mi>s</mi></mrow><mrow><mi>x</mi></mrow></msub></math> and <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mrow><mi>s</mi></mrow><mrow><mi>y</mi></mrow></msub></math> are the standard deviations of the two variables. The factor <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>&#x00028;</mo><mfrac><mrow><msub><mrow><mi>x</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>&#x02212;</mo><mover><mrow><mi>x</mi></mrow><mo>&#x000AF;</mo></mover></mrow><mrow><msub><mi>s</mi><mrow><mi>x</mi></mrow></msub></mrow></mfrac><mo>&#x00029;</mo></math> standardizes all the <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math> observations and <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>&#x00028;</mo><mfrac><mrow><msub><mrow><mi>y</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>&#x02212;</mo><mover><mrow><mi>y</mi></mrow><mo>&#x000AF;</mo></mover></mrow><mrow><msub><mi>s</mi><mrow><mi>y</mi></mrow></msub></mrow></mfrac><mo>&#x00029;</mo></math> standardizes all the <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi></math> observations. Here are steps to <a href="ti83corCoeff.htm">find the correlation coefficient using the TI-83 calculator</a>.</p>
    <p class="s4s-empty-paragraph"> </p>
    <p>IMPORTANT: Correlation is not a complete description of twovariable data. You should also include the means and standard deviations of each variable.</p>
    <h6 class="s4s-section-numbered" id="SECTION.e5b562af-4bde-478f-b373-3265bbd7d6ae">Resources:</h6>
    <ul>
      <li>Summarizing and Presenting Data: Presenting Data for Two Continuous Measurements - <a href="http://www.anu.edu.au/nceph/surfstat/surfstat-home/1-4-1.html">http://www.anu.edu.au/nceph/surfstat/surfstat-home/1-4-1.html</a> - This page provides a discussion of scatterplots.</li>
      <li>Guessing Correlations - <a href="http://www.stat.uiuc.edu/~stat100/java/GCApplet/GCAppletFrame.html">http://www.stat.uiuc.edu/~stat100/java/GCApplet/GCAppletFrame.html</a> - This applet gives you four scatterplots and four correlation coefficients. You match them up. </li>
      <li>Correlation/Outliers Applet - <a href="http://www.math.tamu.edu/FiniteMath/FinalBuild/Classes/Correlation/">http://www.math.tamu.edu/FiniteMath/FinalBuild/Classes/Correlation/</a> - This applet can provide you with real insight into how to read scatterplots and into how correlation coefficients can be misleading.</li>
      <li>Correlation coefficient - <a href="http://noppa5.pc.helsinki.fi/koe/corr/cor7.html">http://noppa5.pc.helsinki.fi/koe/corr/cor7.html</a> - This applet allows you to choose the numerical correlation coefficient and they give you a scatterplot with that coefficient.</li>
    </ul>
    <hr />
    <p class="s4s-noindent">
      <a href="math1431.htm">Back to John Weber's MATH 1431 Page</a>
    </p>
    <p>
      <a href="../../john.html">Back to john-weber.com</a>
    </p>
    <hr />
    <p class="s4s-empty-paragraph" />
    <p class="s4s-empty-paragraph" />
  </body>
</html>
