<?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>The Chi-Square Distribution: Summary of Formulas</name>
  <metadata>
  <md:version>1.4</md:version>
  <md:created>2008/06/23 12:48:13 GMT-5</md:created>
  <md:revised>2008/07/15 10:15:12.949 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 an summary on formulas used in Chi-Square Distribution as a part of Collaborative Statistics collection (col10522) by Barbara Illowsky and Susan Dean.</md:abstract>
</metadata>
  <content>
<rule type="formula" id="r1">
<name>The Chi-square Probability Distribution </name>
  <statement>    
<para id="delete_me"><m:math><m:mi>μ</m:mi><m:mo>=</m:mo><m:mtext>df</m:mtext></m:math> and <m:math><m:mi>σ</m:mi><m:mo>=</m:mo><m:msqrt><m:mn>2</m:mn><m:mo>⋅</m:mo><m:mtext>df</m:mtext></m:msqrt></m:math>
</para>
</statement>
</rule>

<rule type="formula" id="r2"><name>Goodness-of-Fit Hypothesis Test</name><statement> 
<list id="list2" type="bulleted"><item>Use goodness-of-fit to test whether a data set fits a particular
probability distribution.</item>
<item>The degrees of freedom are <m:math><m:mtext>number of cells or categories - 1</m:mtext></m:math>.</item>
<item>The test statistic is 

<m:math>
<m:munder>
<m:mo>Σ</m:mo>
<m:mi>n</m:mi>
</m:munder>
<m:mfrac>
<m:mrow>
<m:mo>(</m:mo>
<m:mi>O</m:mi>
<m:mo>−</m:mo>
<m:mi>E</m:mi>
<m:msup>
<m:mo>)</m:mo>
<m:mn>2</m:mn>
</m:msup>
</m:mrow>
<m:mrow>
<m:mi>E</m:mi>
</m:mrow>
</m:mfrac>
</m:math>
, where
<m:math><m:mi>O</m:mi></m:math> = observed values (data),
<m:math><m:mi>E</m:mi></m:math> = expected values (from theory), and
<m:math><m:mi>n</m:mi></m:math> = the number of different data cells
or categories.
</item>
<item>The test is right-tailed.</item>
</list>
</statement>
</rule>

<rule type="formula" id="r3"><name>Test of Independence</name><statement> 
<list id="list3" type="bulleted"><item>Use the test of independence to test whether two factors are
independent or not.</item>
<item>The degrees of freedom are equal to
<m:math><m:mtext>(number of columns - 1)(number of rows - 1)</m:mtext></m:math>.</item>
<item>The test statistic is

<m:math>
<m:munder>
<m:mi>Σ</m:mi>
<m:mrow>
<m:mo>(</m:mo>
<m:mi>i</m:mi>
<m:mo>⋅</m:mo>
<m:mi>j</m:mi>
<m:mo>)</m:mo>
</m:mrow>
</m:munder>
<m:mfrac>
<m:mrow>
<m:mo>(</m:mo>
<m:mi>O</m:mi>
<m:mo>-</m:mo>
<m:mi>E</m:mi>
<m:msup>
<m:mo>)</m:mo>
<m:mn>2</m:mn>
</m:msup>
</m:mrow>
<m:mrow>
<m:mi>E</m:mi>
</m:mrow>
</m:mfrac>
</m:math> where
<m:math><m:mi>O</m:mi></m:math> = observed values,
<m:math><m:mi>E</m:mi></m:math> = expected values,
<m:math><m:mi>i</m:mi></m:math> = the number of rows in the
table, and 
<m:math><m:mi>j</m:mi></m:math> = the number of columns in
the table.
</item>
<item>The test is right-tailed.</item>
<item>If the null hypothesis is true, the expected number 
<m:math>
<m:mi>E</m:mi>
<m:mo>=</m:mo>
<m:mfrac>
<m:mtext>(row total)(column total)</m:mtext>
<m:mtext>total surveyed</m:mtext>
</m:mfrac>
</m:math>.

</item>
</list>
</statement>
</rule>

<rule type="formula" id="r4"><name>Test of a Single Variance</name><statement> 
<list id="list4" type="buleted"><item>Use the test to determine variation.</item>
<item>The degrees of freedom are the number of samples - 1.</item>
<item>The test statistic is

<m:math>
<m:mfrac>
<m:mrow>
<m:mo>(</m:mo>
<m:mi>n</m:mi>
<m:mo>-</m:mo>
<m:mn>1</m:mn>
<m:mo>)</m:mo>
<m:mo>⋅</m:mo>
<m:msup>
<m:mi>s</m:mi>
<m:mn>2</m:mn>
</m:msup>
</m:mrow>
<m:mrow>
<m:msup>
<m:mi>σ</m:mi>
<m:mn>2</m:mn>
</m:msup>
</m:mrow>
</m:mfrac>
</m:math>

, where <m:math><m:mi>n</m:mi></m:math> = the total number of data, <m:math><m:msup><m:mi>s</m:mi><m:mn>2</m:mn></m:msup></m:math> = sample variance, and <m:math><m:msup><m:mi>σ</m:mi><m:mn>2</m:mn></m:msup></m:math> = population variance.
</item>
<item>The test may be left, right, or two-tailed.</item>
</list> 
</statement>
</rule>  
  </content>
  
</document>
