<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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="m11165">

  <name>Median and Mean</name>

  <metadata>
  <md:version>2.3</md:version>
  <md:created>2003/05/14</md:created>
  <md:revised>2003/07/11 14:58:36.262 GMT-5</md:revised>
  <md:authorlist>
    <md:author id="dmlane">
      <md:firstname>David</md:firstname>
      
      <md:surname>Lane</md:surname>
      <md:email>lane@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="dmlane">
      <md:firstname>David</md:firstname>
      
      <md:surname>Lane</md:surname>
      <md:email>lane@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="kclarks">
      <md:firstname>Kyle</md:firstname>
      
      <md:surname>Clarkson</md:surname>
      <md:email>kclarks@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>Median</md:keyword>
    <md:keyword>Mean</md:keyword>
  </md:keywordlist>

  <md:abstract/>
</metadata>



  <content>
    <para id="Strongbad">
      In the section <cnxn document="m10942">Introduction to
      Central Tendency</cnxn>, we saw that the center
      of a distribution could be defined three ways:
      <list id="coollist" type="enumerated">
	<item>the point on which a distribution would balance,</item>
	<item>the value whose average <term>absolute deviation</term> 
	from all the other values is minimized, and</item> 
	<item>the value whose squared difference from all the other values is
	minimized.</item>
      </list>
      From the simulation in this chapter, you discovered 
      (we hope) that the mean is the point on which a distribution
      would balance, the median is the value that minimizes the sum
      of absolute deviations, and the mean is the value that
      minimizes the sum of the squared values.  
    </para>

    <para id="Trogdor">
      <cnxn target="table1" strength="9"/> shows the absolute and
      squared deviations of the numbers 2, 3, 4, 9, and 16 from their
      median of 4 and their mean of 6.8. You can see that the sum of
      absolute deviations from the median (20) is smaller than the sum
      of absolute deviations from the mean (22.8). On the other hand,
      the sum of squared deviations from the median (174) is larger
      than the sum of squared deviations from the mean (134.8).
    </para>

    <table id="table1" frame="all">
      <name>Absolute and squared deviations from the median of 3 and
	the mean of 6.8.</name>
      <tgroup cols="5" colsep="1" rowsep="1">
	<thead>
	  <row>
	    <entry>Value</entry>
	    <entry>Absolute Deviation from Median</entry>
	    <entry>Absolute Deviation from Mean</entry>
	    <entry>Squared Deviation from Median</entry>
	    <entry>Squared Deviation from Mean</entry>
	  </row>
	</thead>
	<tbody>
	  <row>
	    <entry align="center">2</entry>
	    <entry align="center">2</entry>
	    <entry align="center">4.8</entry>
	    <entry align="center">4</entry>
	    <entry align="center">23.04</entry>
	  </row>
	  <row>
	    <entry align="center">3</entry>
	    <entry align="center">1</entry>
	    <entry align="center">3.8</entry>
	    <entry align="center">1</entry>
	    <entry align="center">14.44</entry>
	  </row>
	  <row>
	    <entry align="center">4</entry>
	    <entry align="center">0</entry>
	    <entry align="center">2.8</entry>
	    <entry align="center">0</entry>
	    <entry align="center">7.84</entry>
	  </row>
	  <row>
	    <entry align="center">9</entry>
	    <entry align="center">5</entry>
	    <entry align="center">2.2</entry>
	    <entry align="center">25</entry>
	    <entry align="center">4.84</entry>
	  </row>
	  <row>
	    <entry align="center">16</entry>
	    <entry align="center">12</entry>
	    <entry align="center">9.2</entry>
	    <entry align="center">144</entry>
	    <entry align="center">84.64</entry>
	  </row>
	  <row>
	    <entry align="center"><emphasis>Total</emphasis></entry>
	    <entry align="center"><emphasis>20</emphasis></entry>
	    <entry align="center"><emphasis>22.8</emphasis></entry>
	    <entry align="center"><emphasis>174</emphasis></entry>
	    <entry align="center"><emphasis>134.80</emphasis></entry>
	  </row>
	</tbody>
      </tgroup>
    </table>
    
    <para id="TheCheat">
      Moreover, <cnxn target="figure1" strength="9"/> shows that the
      distribution balances at the mean of 6.8 and not at the median
      of 4. The relative advantages and disadvantages of the mean and
      median are discussed in the section <cnxn document="m11011">
      Comparing Measures of Central Tendency</cnxn>
      later in this chapter.
    </para>

    <figure id="figure1">
      <media type="image/png" src="balance1.png"/>
      <caption>
	The distribution balances at the mean of 6.8 and not at the median
	of 4.0.
      </caption>
    </figure>

    <para id="Strongmad">
      When a distribution is symmetric, then the mean, and the median
      are the same. Consider the following distribution: 1, 3, 4, 5,
      6, 7, 9. The mean and median are both 5. The mean, median, and
      mode are identical in the bell-shaped normal distribution.
    </para>


  </content>
  
</document>
