<?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="new1">
  <name>Foundations of Probability Theory: Basic Definitions</name>
  <metadata>
  <md:version>1.2</md:version>
  <md:created>2003/05/12</md:created>
  <md:revised>2003/08/01 15:24:24.703 GMT-5</md:revised>
  <md:authorlist>
    <md:author id="dhj">
      <md:firstname>Don</md:firstname>
      
      <md:surname>Johnson</md:surname>
      <md:email>dhj@rice.edu</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist>
    <md:maintainer id="dhj">
      <md:firstname>Don</md:firstname>
      
      <md:surname>Johnson</md:surname>
      <md:email>dhj@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="erkrause">
      <md:firstname>Eileen</md:firstname>
      
      <md:surname>Krause</md:surname>
      <md:email>erkrause@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:maintainer id="lizzardg">
      <md:firstname>Elizabeth</md:firstname>
      
      <md:surname>Gregory</md:surname>
      <md:email>lizzardg@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="kevinduh">
      <md:firstname>Kevin</md:firstname>
      
      <md:surname>Duh</md:surname>
      <md:email>kevinduh@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mariyah">
      <md:firstname>Mariyah</md:firstname>
      
      <md:surname>Poonawala</md:surname>
      <md:email>mariyah@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="mjeanes">
      <md:firstname>Matthew</md:firstname>
      
      <md:surname>Jeanes</md:surname>
      <md:email>mjeanes@rice.edu</md:email>
    </md:maintainer>
    <md:maintainer id="jsilv">
      <md:firstname>Jeffrey</md:firstname>
      
      <md:surname>Silverman</md:surname>
      <md:email>jsilv@rice.edu</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist>
    <md:keyword>sample space</md:keyword>
    <md:keyword>event</md:keyword>
    <md:keyword>mutually exclusive</md:keyword>
    <md:keyword>probability measure</md:keyword>
    <md:keyword>axioms of probability</md:keyword>
    <md:keyword>a priori probabilities</md:keyword>
    <md:keyword>conditional probability</md:keyword>
    <md:keyword>statistically independent</md:keyword>
    <md:keyword>Bayes' Rule</md:keyword>
  </md:keywordlist>

  <md:abstract>This module covers the basic ideas of Probability Theory.  It reviews the laws of boolean algebra, describes how to compute a priori and conditional probabilities, and uses these properties to obtain Bayes' Rule.</md:abstract>
</metadata>

  <content>
    <section id="section1">
      <name>Basic Definitions</name>
      <para id="para1">
	The basis of probability theory is a set of events - sample
	space - and a systematic set of numbers - probabilities -
	assigned to each event.  The key aspect of the theory is the
	system of assigning probabilities.  Formally, a <term>sample
	space</term> is the set <m:math><m:ci>Ω</m:ci></m:math>
	of all possible outcomes <m:math> <m:ci><m:msub>
	<m:mi>ω</m:mi> <m:mi>i</m:mi> </m:msub></m:ci> </m:math>
	of an experiment.  An <term>event</term> is a collection of
	sample points <m:math> <m:ci><m:msub> <m:mi>ω</m:mi>
	<m:mi>i</m:mi> </m:msub></m:ci> </m:math> determined by some
	set-algebraic rules governed by the laws of Boolean algebra.
	Letting <m:math><m:ci>A</m:ci></m:math> and
	<m:math><m:ci>B</m:ci></m:math> denote events, these laws are
	  <m:math display="block">
	    <m:mtext>Union:</m:mtext>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:union/>
		<m:ci>A</m:ci>
		<m:ci>B</m:ci>
	      </m:apply>
	      <m:set>
		<m:bvar><m:ci>ω</m:ci></m:bvar>
		<m:condition>
		  <m:apply>
		    <m:or/>
		    <m:apply>
		      <m:in/>
		      <m:ci>ω</m:ci>
		      <m:ci>A</m:ci>
		    </m:apply>
		    <m:apply>
		      <m:in/>
		      <m:ci>ω</m:ci>
		      <m:ci>B</m:ci>
		    </m:apply>
		  </m:apply>
		</m:condition>
	      </m:set>
	    </m:apply>
	  </m:math>

	<m:math display="block">
	  <m:mtext>Intersection:</m:mtext>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:intersect/>
	      <m:ci>A</m:ci>
	      <m:ci>B</m:ci>
	    </m:apply>
	    <m:set>
	      <m:bvar><m:ci>ω</m:ci></m:bvar>
	      <m:condition>
		<m:apply>
		  <m:and/>
		  <m:apply>
		    <m:in/>
		    <m:ci>ω</m:ci>
		    <m:ci>A</m:ci>
		  </m:apply>
		  <m:apply>
		    <m:in/>
		    <m:ci>ω</m:ci>
		    <m:ci>B</m:ci>
		  </m:apply>
		</m:apply>
	      </m:condition>
	    </m:set>
	  </m:apply>
	</m:math>

	<m:math display="block">
	  <m:mtext>Complement:</m:mtext>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#complement"/>
	      <m:ci>A</m:ci>
	    </m:apply>
	    <m:set>
	      <m:bvar><m:ci>ω</m:ci></m:bvar>
	      <m:condition>
		<m:apply>
		  <m:notin/>
		  <m:ci>ω</m:ci>
		  <m:ci>A</m:ci>
		</m:apply>
	      </m:condition>
	    </m:set>
	  </m:apply>
	</m:math>

	<m:math display="block">
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#complement"/>
	      <m:apply>
		<m:union/>
		<m:ci>A</m:ci>
		<m:ci>B</m:ci>
	      </m:apply>
	    </m:apply>
	    <m:apply>
	      <m:intersect/>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#complement"/>
		<m:ci>A</m:ci>
	      </m:apply>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#complement"/>
		<m:ci>B</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>
	The null set <m:math><m:emptyset/></m:math> is the complement
	of <m:math><m:ci>Ω</m:ci></m:math>.  Events are said to
	be <term>mutually exclusive</term> if there is no element
	common to both events:
	<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:intersect/>
	      <m:ci>A</m:ci>
	      <m:ci>B</m:ci>
	    </m:apply>
	    <m:emptyset/>
	  </m:apply>
	</m:math>.
      </para>
      <para id="para2">
	Associated with each event 
	<m:math>
	  <m:ci><m:msub>
	      <m:mi>A</m:mi>
	      <m:mi>i</m:mi>
	    </m:msub></m:ci>
	</m:math> is a <term>probability measure</term> <m:math>
	  <m:apply>
	    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	    <m:ci>
	      <m:msub>
		<m:mi>A</m:mi>
		<m:mi>i</m:mi>
	      </m:msub>
	    </m:ci>
	  </m:apply>
	</m:math>, sometimes denoted by
	<m:math>
	  <m:ci><m:msub>
	      <m:mi>π</m:mi>
	      <m:mi>i</m:mi>
	    </m:msub></m:ci>
	</m:math>, that obeys the <term>axioms of probability</term>.

	<list id="list1" type="bulleted">
	  <item><m:math>
	      <m:apply>
		<m:geq/>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		  <m:ci><m:msub>
		      <m:mi>A</m:mi>
		      <m:mi>i</m:mi>
		    </m:msub></m:ci>
		</m:apply>
		<m:cn>0</m:cn>
	      </m:apply>
	    </m:math></item>
	  <item><m:math>
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		  <m:ci>Ω</m:ci>
		</m:apply>
		<m:cn>1</m:cn>
	      </m:apply>
	    </m:math></item>
	  <item>If <m:math>
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:intersect/>
		  <m:ci>A</m:ci>
		  <m:ci>B</m:ci>
		</m:apply>
		<m:emptyset/>
	      </m:apply>
	    </m:math>, then <m:math>
	      <m:apply>
		<m:eq/>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		  <m:apply>
		    <m:union/>
		    <m:ci>A</m:ci>
		    <m:ci>B</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:plus/>
		  <m:apply>
		    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		    <m:ci>A</m:ci>
		  </m:apply>
		  <m:apply>
		    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		    <m:ci>B</m:ci>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:math>.
	  </item>
	</list>
	The consistent set of probabilities 
	<m:math>
	  <m:apply>
	    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	    <m:ci>·</m:ci>
	  </m:apply>
	</m:math> assigned to events are known as the <term><foreign>a
	priori</foreign> probabilities</term>.  From the axioms,
	probability assignments for Boolean expressions can be
	computed.  For example, simple Boolean manipulations (<m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:union/>
	      <m:ci>A</m:ci>
	      <m:ci>B</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:union/>
	      <m:ci>A</m:ci>
	      <m:apply>
		<m:times/>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#complement"/>
		  <m:ci>A</m:ci>
		</m:apply>
		<m:ci>B</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>) lead to
	<equation id="eqn2">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:apply>
		  <m:union/>
		  <m:ci>A</m:ci>
		  <m:ci>B</m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:plus/>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		  <m:ci>A</m:ci>
		</m:apply>
		<m:apply>
		  <m:minus/>
		  <m:apply>
		    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		    <m:ci>B</m:ci>
		  </m:apply>
		  <m:apply>
		    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		    <m:apply>
		      <m:intersect/>
		      <m:ci>A</m:ci>
		      <m:ci>B</m:ci>
		    </m:apply>
		  </m:apply>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>
      </para>

      <para id="para3">
	Suppose <m:math>
	  <m:apply>
	    <m:neq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:ci>B</m:ci>
	    </m:apply>
	    <m:cn>0</m:cn>
	  </m:apply>
	</m:math>.  Suppose we know that the event
	<m:math><m:ci>B</m:ci></m:math> has occurred; what is the
	probability that event <m:math><m:ci>A</m:ci></m:math> has
	also occurred?  This calculation is known as the
	<term>conditional probability</term> of
	<m:math><m:ci>A</m:ci></m:math> given
	<m:math><m:ci>B</m:ci></m:math> and is denoted by 
	<m:math>
	  <m:apply>
	    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	    <m:condition>
	      <m:ci>B</m:ci>
	    </m:condition>
	    <m:ci>A</m:ci>
	  </m:apply>
	</m:math>. To evaluate conditional probabilities, consider
	<m:math><m:ci>B</m:ci></m:math> to be the sample space rather
	than <m:math><m:ci>Ω</m:ci></m:math>. To obtain a
	probability assignment under these circumstances consistent
	with the axioms of probability, we must have
	<equation id="eqn3">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:condition>
		  <m:ci>B</m:ci>
		</m:condition>
		<m:ci>A</m:ci>
	      </m:apply>
	      <m:apply>
		<m:divide/>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		  <m:apply>
		    <m:intersect/>
		    <m:ci>A</m:ci>
		    <m:ci>B</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		  <m:ci>B</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>
	The event is said to be <term>statistically independent</term>
	of <m:math><m:ci>B</m:ci></m:math> if <m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:condition>
		<m:ci>B</m:ci>
	      </m:condition>
	      <m:ci>A</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:ci>A</m:ci>
	    </m:apply>
	  </m:apply>
	</m:math>: the occurrence of the event
	<m:math><m:ci>B</m:ci></m:math> does not change the
	probability that <m:math><m:ci>A</m:ci></m:math> occurred.
	When independent, the probability of their intersection
	<m:math>
	  <m:apply>
	    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	    <m:apply>
	      <m:intersect/>
	      <m:ci>A</m:ci>
	      <m:ci>B</m:ci>
	    </m:apply>
	  </m:apply>
	</m:math> is given by the product of the <foreign>a
	priori</foreign> probabilities <m:math>
	  <m:apply>
	    <m:times/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:ci>A</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:ci>B</m:ci>
	    </m:apply>
	  </m:apply>
	</m:math>. This property is necessary and sufficient for the
	independence of the two events.  As <m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:condition>
		<m:ci>B</m:ci>
	      </m:condition>
	      <m:ci>A</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:apply>
		  <m:intersect/>
		  <m:ci>A</m:ci>
		  <m:ci>B</m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:ci>B</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math> and <m:math>
	  <m:apply>
	    <m:eq/>
	    <m:apply>
	      <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
	      <m:condition>
		<m:ci>A</m:ci>
	      </m:condition>
	      <m:ci>B</m:ci>
	    </m:apply>
	    <m:apply>
	      <m:divide/>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:apply>
		  <m:intersect/>
		  <m:ci>A</m:ci>
		  <m:ci>B</m:ci>
		</m:apply>
	      </m:apply>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:ci>A</m:ci>
	      </m:apply>
	    </m:apply>
	  </m:apply>
	</m:math>, we obtain <term>Bayes' Rule</term>.
	<equation id="eqn4">
	  <m:math>
	    <m:apply>
	      <m:eq/>
	      <m:apply>
		<m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		<m:condition>
		  <m:ci>A</m:ci>
		</m:condition>
		<m:ci>B</m:ci>
	      </m:apply>
	      <m:apply>
		<m:divide/>
		<m:apply>
		  <m:times/>
		  <m:apply>
		    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		    <m:condition>
		      <m:ci>B</m:ci>
		    </m:condition>
		    <m:ci>A</m:ci>
		  </m:apply>
		  <m:apply>
		    <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		    <m:ci>B</m:ci>
		  </m:apply>
		</m:apply>
		<m:apply>
		  <m:csymbol definitionURL="http://cnx.rice.edu/cd/cnxmath.ocd#probability"/>
		  <m:ci>A</m:ci>
		</m:apply>
	      </m:apply>
	    </m:apply>
	  </m:math>
	</equation>

      </para>
    </section>
  </content>
  
</document>
