<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?xml-stylesheet type="text/xsl" href="mathml.xsl"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0 plus SVG 1.1//EN" "http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg-flat.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">

<head>
<title>Data Analysis</title>
<link rel="stylesheet" type="text/css" href="styles.css" />
</head>

<body>

<h2>PROBABILITY THEORY AND RANDOM VARIABLES</h2>

<p>The <b>probability space</b> is denoted by <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi></math>
and its elements <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&omega;</mi></math>
are <b>samples or experimental outcomes</b>. Certain subsets (collection of outcomes)
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi></math> are called <b>events</b>
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Lambda;</mi></math>.</p>

<p>The <b>set theory notation</b> is used. If <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi></math>
and <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>B</mi></math> are two sets, then
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi><mo>&cup;</mo><mi>B</mi></math>,
(<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi><mo>+</mo><mi>B</mi></math>)
is their <b>union</b>,
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi><mo>&cap;</mo><mi>B</mi></math>,
(<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi><mi>B</mi></math>)
is their <b>intersection</b>,
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi><mo>-</mo><mi>B</mi></math>
is the complement of <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>B</mi></math>
with respect to <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>A</mi></math>,
the <b>empty set</b> is denoted by <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">0</mi></math>.
If 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>A</mi><mo>&cap;</mo><mi>B</mi></mrow><mo>=</mo><mi mathvariant="bold">0</mi></math>,
that is the sets are <b>disjoint</b> then the events are <b>mutually exclusive</b>. </p>

<p>For a class of events <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Lambda;</mi></math>
we assign probabilities to events <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&Lambda;</mi></math>
via a <b>probability function</b>
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>(</mo><mo>.</mo><mo>)</mo></math>.
That is, to each event we assign a number
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>(</mo><mi>&Lambda;</mi><mo>)</mo></math>,
called the probability of <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&Lambda;</mi></math>.
The probability function satisfies the following axioms:</p>

<table>
<tr>
 <td>(i)</td>
 <td>
  <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>(</mo><mi>&Lambda;</mi><mo>)</mo><mo>&ge;</mo><mn>0</mn></math>
 </td>
</tr>
<tr>
 <td>(ii)</td>
 <td>
  <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>(</mo><mi mathvariant="bold">&Omega;</mi><mo>)</mo><mo>=</mo><mn>1</mn></math>
 </td>
</tr>
<tr>
 <td>(iii)</td>
 <td>
  if <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><msub><mi>&Lambda;</mi><mi>i</mi></msub><mo>&cap;</mo><msub><mi>&Lambda;</mi><mi>i</mi></msub></mrow>
  <mo>=</mo>
  <mn mathvariant="bold">0</mn><mo>,</mo>
  <mi>i</mi><mo>&ne;</mo><mi>i</mi><mo>,</mo>
  <mi>i</mi><mo>,</mo><mi>j</mi><mo>=</mo><mn>1</mn><mo>&hellip;</mo><mi>n</mi>
  </math>,
  then
  <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>Pr</mi><mo>(</mo>
   <mrow><msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>&cup;</mo>
   <msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>&cup;</mo>
   <mo>&hellip;</mo><mo>&cup;</mo>
   <msub><mi>&Lambda;</mi><mi>n</mi></msub></mrow><mo>)</mo>
   <mo>=</mo>
   <mrow><mi>Pr</mi><mo>(</mo><msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>)</mo></mrow>
   <mo>+</mo>
   <mrow><mi>Pr</mi><mo>(</mo><msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>)</mo></mrow>
   <mo>+</mo>
   <mo>&hellip;</mo>
   <mo>+</mo>
   <mrow><mi>Pr</mi><mo>(</mo><msub><mi>&Lambda;</mi><mi>n</mi></msub><mo>)</mo></mrow>
   </mrow></math>
 </td>
</tr>
<tr>
 <td>(iv)</td>
 <td>
  if <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><msub><mi>&Lambda;</mi><mi>i</mi></msub><mo>&cap;</mo><msub><mi>&Lambda;</mi><mi>i</mi></msub></mrow>
  <mo>=</mo>
  <mn mathvariant="bold">0</mn><mo>,</mo>
  <mi>i</mi><mo>&ne;</mo><mi>i</mi><mo>,</mo>
  <mi>i</mi><mo>,</mo><mi>j</mi><mo>=</mo><mn>1</mn><mo>&hellip;</mo><mi>n</mi><mo>,</mo><mo>&hellip;</mo>
  </math>, 
  then
  <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>Pr</mi><mo>(</mo>
   <mrow><msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>&cup;</mo>
   <msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>&cup;</mo>
   <mo>&hellip;</mo><mo>&cup;</mo>
   <msub><mi>&Lambda;</mi><mi>n</mi></msub><mo>&cup;</mo>
   <mo>&hellip;</mo></mrow><mo>)</mo>
   <mo>=</mo>
   <mrow><mi>Pr</mi><mo>(</mo><msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>)</mo></mrow>
   <mo>+</mo>
   <mrow><mi>Pr</mi><mo>(</mo><msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>)</mo></mrow>
   <mo>+</mo>
   <mo>&hellip;</mo>
   <mo>+</mo>
   <mrow><mi>Pr</mi><mo>(</mo><msub><mi>&Lambda;</mi><mi>n</mi></msub><mo>)</mo></mrow>
   <mo>+</mo>
   <mo>&hellip;</mo>
   </mrow></math>
 </td>
</tr>
</table>

<p>The class of events has to be defined. In defining the class of events we want
the set operations (unions, intersections, complements) to yield sets that are
also events. A class of sets having these properties is called a Borel field.
A <b>class</b> <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">F</mi></math>
of <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&omega;</mi></math>
sets is called a <b>Borel field</b> if</p>

<table>
<tr>
 <td>(i)</td>
 <td>
  <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi><mo>&in;</mo><mi mathvariant="bold">F</mi></math>
 </td>
</tr>
<tr>
 <td>(ii)</td>
 <td>
  if <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&Lambda;</mi><mo>&in;</mo><mi mathvariant="bold">F</mi></math>
  then <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi><mo>-</mo><mi>&Lambda;</mi>
  <mo>&in;</mo><mi mathvariant="bold">F</mi></math>
 </td>
</tr>
<tr>
 <td>(iii)</td>
 <td>
  if <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow>
   <msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>,</mo>
   <msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>,</mo>
   <mo>&hellip;</mo><mo>,</mo>
   <msub><mi>&Lambda;</mi><mi>n</mi></msub></mrow>
   <mo>&in;</mo><mi mathvariant="bold">F</mi>
  </math>
  then
  <math xmlns="http://www.w3.org/1998/Math/MathML">
   <msubsup><mo>&cup;</mo><mn>1</mn><mi>n</mi></msubsup>
   <msub><mi>&Lambda;</mi><mi>n</mi></msub>
   <mo>&in;</mo><mi mathvariant="bold">F</mi>
   </math>
  and
  <math xmlns="http://www.w3.org/1998/Math/MathML">
   <msubsup><mo>&cap;</mo><mn>1</mn><mi>n</mi></msubsup>
   <msub><mi>&Lambda;</mi><mi>n</mi></msub>
   <mo>&in;</mo><mi mathvariant="bold">F</mi>
   </math>
 </td>
</tr>
<tr>
 <td>(iv)</td>
 <td>
  if <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow>
   <msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>,</mo>
   <msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>,</mo>
   <mo>&hellip;</mo><mo>,</mo>
   <msub><mi>&Lambda;</mi><mi>n</mi></msub><mo>,</mo>
   <mo>&hellip;</mo>
   </mrow>
   <mo>&in;</mo><mi mathvariant="bold">F</mi>
  </math>
  then
  <math xmlns="http://www.w3.org/1998/Math/MathML">
   <msubsup><mo>&cup;</mo><mn>1</mn><mi>n</mi></msubsup>
   <msub><mi>&Lambda;</mi><mo>&infin;</mo></msub>
   <mo>&in;</mo><mi mathvariant="bold">F</mi>
   </math>
  and
  <math xmlns="http://www.w3.org/1998/Math/MathML">
   <msubsup><mo>&cap;</mo><mn>1</mn><mi>n</mi></msubsup>
   <msub><mi>&Lambda;</mi><mo>&infin;</mo></msub>
   <mo>&in;</mo><mi mathvariant="bold">F</mi>
   </math>
 </td>
</tr>
</table>

<p>The triplet <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>(</mo><mi mathvariant="bold">&Omega;</mi><mo>,</mo>
<mi mathvariant="bold">F</mi><mo>,</mo><mi>Pr</mi><mo>)</mo></math> is called an <b>experiment</b>.</p>

<p>Example: <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi>
<mo>=</mo><mo>{</mo><mi>read numbers</mi><mo>}</mo></math>, Borel field 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">F</mi>
<mo>=</mo><mo>{</mo><mrow>
 <mi>&omega;</mi><mo>&le;</mo><msub><mi>x</mi><mn>1</mn></msub><mi>for all</mi><msub><mi>x</mi><mn>1</mn></msub>
 </mrow><mo>}</mo></math>.
</p>

<p>Example, rolling a die once: <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi>
<mo>=</mo><mo>{</mo><mrow>
  <mn>1</mn><mo>,</mo><mn>2</mn><mo>,</mo><mn>3</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>5</mn><mo>,</mo><mn>6</mn>
  </mrow><mo>}</mo></math>,
Borel field <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">F</mi>
<mo>=</mo><mo>{</mo><mrow>
  <mn mathvariant="bold">0</mn><mo>,</mo><mo>[</mo><mrow>
  <mn>1</mn><mo>,</mo><mn>3</mn><mo>,</mo><mn>5</mn></mrow><mo>]</mo><mo>,</mo><mo>[</mo><mrow>
  <mn>2</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>6</mn></mrow><mo>]</mo><mo>,</mo><mi mathvariant="bold">&Omega;</mi>
  </mrow><mo>}</mo></math>.
But <math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">A</mi>
<mo>=</mo><mo>{</mo><mrow>
  <mn mathvariant="bold">0</mn><mo>,</mo><mo>[</mo><mrow>
  <mn>1</mn><mo>,</mo><mn>3</mn><mo>,</mo><mn>5</mn></mrow><mo>]</mo><mo>,</mo><mo>[</mo><mrow>
  <mn>2</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>6</mn></mrow><mo>]</mo><mo>,</mo><mo>[</mo>
  <mn>1</mn><mo>]</mo><mo>,</mo><mi mathvariant="bold">&Omega;</mi>
  </mrow><mo>}</mo></math>
is not a Borel field, because <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>{</mo><mn>1</mn><mo>}</mo>
<mo>&cup;</mo><mo>{</mo><mrow>
  <mn>2</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>6</mn></mrow><mo>}</mo>
  <mo>=</mo>
  <mo>{</mo><mrow>
  <mn>1</mn><mo>,</mo><mn>2</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>6</mn></mrow><mo>}</mo>
  <mo>&notin;</mo>
  <mi mathvariant="bold">A</mi>
  </math>.
</p>


<h3>RANDOM VARIABLES</h3>

<p>A real finite-valued function <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi>
<mo>(</mo><mo>.</mo><mo>)</mo></math> defined on 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi></math>
is called a (real) <b>random variable</b> if, for every real number
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>, the inequality
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo>
<mo>&le;</mo><mi>x</mi></math> defines an 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&omega;</mi></math>
set whose probability is defined. A random variable is a Borel measurable function.</p>

<p>For a random variable the function </p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>F</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mo>=</mo>
<mi>Pr</mi><mo>{</mo><mrow>
<mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo>
<mo>&le;</mo><mi>x</mi>
</mrow><mo>}</mo>
</math>
</td>
<td class="equnum">
(3.1)
</td>
</tr></table>

<p>is defined for all real <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
and is called the <b>distribution function</b> of the random variable 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>.
A random variable <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
is called <b>discrete</b> if there exists a <b>mass function</b> 
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>m</mi><mi>x</mi></msub>
<mo>(</mo><mo>.</mo><mo>)</mo></math> such that</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>F</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mo>=</mo>
<munder>
 <mo>&sum;</mo>
 <munder>
  <mrow>
   <mi>&xi;</mi><mo>&le;</mo><mi>x</mi>
  </mrow>
  <mrow>
   <msub><mi>m</mi><mi>x</mi></msub><mo>(</mo><mi>&xi;</mi><mo>)</mo><mo>&ge;</mo><mn>0</mn>
  </mrow>
 </munder>
</munder>
<mrow>
 <msub><mi>m</mi><mi>x</mi></msub><mo>(</mo><mi>&xi;</mi><mo>)</mo>
</mrow>
</math>
</td>
<td class="equnum">
(3.2)
</td>
</tr></table>

<p>A random variable is called <b>continuous</b> if there exists a <b>density function</b>
<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><msub><mi>p</mi><mi>x</mi></msub>
<mo>(</mo><mo>.</mo><mo>)</mo></mrow></math>
such that</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>F</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mo>=</mo>
<munderover>
 <mo>&int;</mo>
 <mrow><mo>-</mo><mi>&infin;</mi></mrow>
 <mi>x</mi>
</munderover>
<mrow>
 <msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>&xi;</mi><mo>)</mo>
</mrow>
<mi>d</mi><mi>&xi;</mi><mo rspace='1em'>,</mo>
<mrow><mo>-</mo><mi>&infin;</mi></mrow>
<mo>&le;</mo><mi>x</mi><mo>&le;</mo><mi>&infin;</mi>
</math>
</td>
<td class="equnum">
(3.3)
</td>
</tr></table>

<p>If the number of points at which
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>F</mi><mi>x</mi></msub>
<mo>(</mo><mo>.</mo><mo>)</mo></math> is not differentiable is countable then</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></mrow><mo>=</mo>
<mfrac>
 <mi>d</mi>
 <mrow><mi>d</mi><mi>x</mi></mrow>
</mfrac>
<mrow>
 <msub><mi>F</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo>
</mrow>
</math>
</td>
<td class="equnum">
(3.4)
</td>
</tr></table>

<p>at all <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math> at
which the derivative exists.</p>

<p>The <b>expectation</b>, <b>average</b>, <b>mean or first moment</b>
of a continuous random variable is defined by</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><mi>E</mi><mo>{</mo><mi>x</mi><mo>}</mo></mrow><mo>=</mo>
<munderover>
 <mo>&int;</mo>
 <mrow><mo>-</mo><mi>&infin;</mi></mrow>
 <mi>&infin;</mi>
</munderover>
<mrow>
 <mi>x</mi><msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo>
</mrow>
<mi>d</mi><mi>x</mi>
</math>
</td>
<td class="equnum">
(3.5)
</td>
</tr></table>

<p>The <b><i>n</i>th moment</b> of <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
is defined by</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><mi>E</mi><mo>{</mo><msup><mi>x</mi><mi>n</mi></msup><mo>}</mo></mrow><mo>=</mo>
<munderover>
 <mo>&int;</mo>
 <mrow><mo>-</mo><mi>&infin;</mi></mrow>
 <mi>&infin;</mi>
</munderover>
<mrow>
 <msup><mi>x</mi><mi>n</mi></msup><msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo>
</mrow>
<mi>d</mi><mi>x</mi>
</math>
</td>
<td class="equnum">
(3.6)
</td>
</tr></table>

<p>The second moment
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>E</mi><mo>{</mo><msup><mi>x</mi><mn>2</mn></msup><mo>}</mo></math>
is called the <b>mean square value</b>.</p>
<p>The <b><i>n</i>th central moment</b> of <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
is define by</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mi>E</mi><mrow><mo>{</mo><msup><mrow><mo>(</mo><mi>x</mi><mo>-</mo><mi>E</mi><mo>{</mo><mi>x</mi><mo>}</mo><mo>)</mo></mrow><mi>n</mi></msup><mo>}</mo></mrow><mo>=</mo>
<munderover> <mo>&int;</mo> <mrow><mo>-</mo><mi>&infin;</mi></mrow> <mi>&infin;</mi> </munderover>
<mrow>
 <msup><mrow><mo>(</mo><mi>x</mi><mo>-</mo><mi>E</mi><mo>{</mo><mi>x</mi><mo>}</mo><mo>)</mo></mrow><mi>n</mi></msup><msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo>
</mrow>
<mi>d</mi><mi>x</mi>
</math>
</td>
<td class="equnum">
(3.7)
</td>
</tr></table>

<p>The second central moment is called the <b>variance</b> of
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>.</p>

<p>Example: rolling a die. We can define a probability space
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi>
<mo>=</mo><mo>{</mo><mrow>
  <mn>1</mn><mo>,</mo><mn>2</mn><mo>,</mo><mn>3</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>5</mn><mo>,</mo><mn>6</mn>
  </mrow><mo>}</mo></math>,
a random variable <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math>,
and probability <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math>
as for example given in the table</p>

<table class="data">
<tr>
 <td class="data"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math></td>
 <td class="data">1</td>
 <td class="data">2</td>
 <td class="data">3</td>
 <td class="data">4</td>
 <td class="data">5</td>
 <td class="data">6</td>
</tr>
<tr>
 <td class="data"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math></td>
 <td class="data">-30</td>
 <td class="data">-20</td>
 <td class="data">-10</td>
 <td class="data">10</td>
 <td class="data">10</td>
 <td class="data">30</td>
</tr>
<tr>
 <td class="data"><math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math></td>
 <td class="data">1/6</td>
 <td class="data">1/6</td>
 <td class="data">1/6</td>
 <td class="data">1/6</td>
 <td class="data">1/6</td>
 <td class="data">1/6</td>
</tr>
</table>

<p>Let us introduce subsets (events, corresponding to <b>odd</b> or <b>even</b> numbers)
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>=</mo>
<mo>{</mo><mrow><mn>1</mn><mo>,</mo><mn>3</mn><mo>,</mo><mn>5</mn></mrow><mo>}</mo></math>.
and <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>=</mo>
<mo>{</mo><mrow><mn>2</mn><mo>,</mo><mn>4</mn><mo>,</mo><mn>6</mn></mrow><mo>}</mo></math>.
The corresponding Borel field is 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi mathvariant="bold">F</mi><mo>=</mo>
<mo>{</mo><mrow><mn mathvariant="bold">0</mn><mo>,</mo>
<msub><mi>&Lambda;</mi><mn>1</mn></msub><mo>,</mo>
<msub><mi>&Lambda;</mi><mn>2</mn></msub><mo>,</mo>
<mi mathvariant="bold">&Omega;</mi></mrow><mo>}</mo></mrow></math>
and the corresponding probabilities are elements of the row matrix
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>=</mo>
<mo>[</mo><mrow><mn>0</mn><mo>,</mo>
<mn>0.5</mn><mo>,</mo>
<mn>0.5</mn><mo>,</mo>
<mn>1</mn></mrow><mo>]</mo></math>. This is also the case of tossing
a coin with two events heads or tails.</p>

<p>Example: choice of a random phase <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&psi;</mi></math>
from the interval <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>-</mo><mi>&pi;</mi><mo>&lt;</mo>
<mi>&psi;</mi><mo>&le;</mo><mi>&pi;</mi></math> in continuum, thus
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi mathvariant="bold">&Omega;</mi><mo>=</mo><mo>{</mo>
<mrow><mo>-</mo><mi>&pi;</mi><mo>&lt;</mo><mi>&psi;</mi><mo>&le;</mo><mi>&pi;</mi></mrow><mo>}</mo></math>.
Let us define the random variable <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>(</mo>
<mi>&omega;</mi><mo>)</mo><mo>=</mo><mi>&psi;</mi></math> and the probability function is
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>Pr</mi><mo>{</mo><mrow>
<msub><mi>&psi;</mi><mn>1</mn></msub><mo>&le;</mo>
<mi>&psi;</mi><mo>&le;</mo>
<msub><mi>&psi;</mi><mn>2</mn></msub>
</mrow><mo>}</mo>
<mo>=</mo>
<mo>(</mo><mrow>
 <msub><mi>&psi;</mi><mn>1</mn></msub><mo>-</mo><msub><mi>&psi;</mi><mn>2</mn></msub>
</mrow><mo>)</mo>
<mo>/</mo>
<mo>(</mo><mrow>
 <mn>2</mn><mi>&pi;</mi>
</mrow><mo>)</mo>
</math>,
<math xmlns="http://www.w3.org/1998/Math/MathML">
<msub><mi>&psi;</mi><mn>1</mn></msub><mo>,</mo><msub><mi>&psi;</mi><mn>2</mn></msub>
<mo>&in;</mo>
<mo>[</mo><mrow>
 <mo>-</mo><mi>&pi;</mi><mo>,</mo><mi>&pi;</mi>
</mrow><mo>]</mo>
</math>
</p>

<p>The corresponding distribution function is:</p>
<p>if <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&psi;</mi><mo>&gt;</mo><mi>&pi;</mi></math>
then <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>F</mi><mi>x</mi></msub><mo>=</mo><mn>1</mn></math>,</p>
<p>if <math xmlns="http://www.w3.org/1998/Math/MathML"><mo>-</mo><mi>&pi;</mi><mo>&le;</mo><mi>&psi;</mi><mo>&le;</mo><mi>&pi;</mi></math>
then <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>F</mi><mi>x</mi></msub><mo>=</mo><mo>(</mo><mrow>
 <mi>&pi;</mi><mo>+</mo><mi>&psi;</mi></mrow><mo>)</mo>
 <mo>/</mo><mo>(</mo><mrow><mn>2</mn><mi>&pi;</mi></mrow><mo>)</mo></math>,</p>
<p>if <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>&psi;</mi><mo>&le;</mo><mo>-</mo><mi>&pi;</mi></math>
then <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>F</mi><mi>x</mi></msub><mo>=</mo><mn>0</mn></math>.</p>

<p>The standard uniform density function results by differentiating the distribution
function with respect to the random variable 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>=</mo><mi>&psi;</mi></math>.</p>

<p>A random variable <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
is <b>Gaussian</b> or <b>normally distributed</b> if its density function is given by</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></mrow>
<mo>=</mo>
<msqrt>
 <mfrac>
  <mn>1</mn>
  <mrow>
   <mn>2</mn><mi>&pi;</mi><msup><mi>&sigma;</mi><mn>2</mn></msup>
  </mrow>
 </mfrac>
</msqrt>
<mi>exp</mi>
<mo>[</mo><mrow>
 <mo>-</mo><mfrac><mn>1</mn><mn>2</mn></mfrac>
 <msup><mrow><mo>(</mo>
  <mfrac><mrow><mi>x</mi><mo>-</mo><mi>m</mi></mrow><mi>&sigma;</mi></mfrac>
  <mo>)</mo>
 </mrow><mn>2</mn></msup>
</mrow><mo>]</mo>
</math>
</td>
<td class="equnum">
(3.8)
</td>
</tr></table>

<p>where <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>m</mi><mo>=</mo><mi>E</mi><mo>{</mo><mi>x</mi><mo>}</mo></math>
and <math xmlns="http://www.w3.org/1998/Math/MathML"><msup><mi>&sigma;</mi><mn>2</mn></msup>
<mo>=</mo><mi>E</mi><mo>{</mo><msup><mrow><mo>(</mo><mi>x</mi><mo>-</mo><mi>m</mi><mo>)</mo></mrow><mn>2</mn></msup><mo>}</mo></math>
(<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>m</mi></math> - mean
<math xmlns="http://www.w3.org/1998/Math/MathML"><msup><mi>&sigma;</mi><mn>2</mn></msup></math> - variance).
</p>

<p>The normal distribution function is</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>F</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></mrow>
<mo>=</mo>
<msqrt>
 <mfrac>
  <mn>1</mn>
  <mrow>
   <mn>2</mn><mi>&pi;</mi><msup><mi>&sigma;</mi><mn>2</mn></msup>
  </mrow>
 </mfrac>
</msqrt>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mi>x</mi></munderover><mrow>
 <mi>exp</mi>
 <mo>[</mo><mrow>
  <mo>-</mo><mfrac><mn>1</mn><mn>2</mn></mfrac>
  <msup><mrow><mo>(</mo>
   <mfrac><mrow><mi>&xi;</mi><mo>-</mo><mi>m</mi></mrow><mi>&sigma;</mi></mfrac>
   <mo>)</mo>
  </mrow><mn>2</mn></msup>
 </mrow><mo>]</mo>
</mrow><mi>d</mi><mi>&xi;</mi>
<mo>=</mo>
<mfrac><mn>1</mn><mn>2</mn></mfrac><mo>+</mo>
<mi>erf</mi><mfrac><mrow><mi>x</mi><mo>-</mo><mi>m</mi></mrow><mi>&sigma;</mi></mfrac>
</math>
</td>
<td class="equnum">
(3.9)
</td>
</tr></table>

<p>It is convenient to specify a random variable by its characteristic
function defined as the Fourier transform of the density function</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>&phi;</mi><mi>x</mi></msub><mo>(</mo><mi>u</mi><mo>)</mo></mrow>
<mo>=</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mi>&infin;</mi></munderover><mrow>
 <msup><mi>e</mi>
 <mrow>
  <mi>i</mi><mi>u</mi><mi>x</mi>
 </mrow></msup>
 <msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo>
</mrow><mi>d</mi><mi>x</mi>
</math>
</td>
<td class="equnum">
(3.10)
</td>
</tr></table>

<p>The <i>n</i>th moment of the random variable is</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><mi>E</mi><mo>{</mo><msup><mi>x</mi><mi>n</mi></msup><mo>}</mo></mrow>
<mo>=</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mi>&infin;</mi></munderover><mrow>
 <msup><mi>x</mi><mi>n</mi></msup>
 <msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo>
</mrow><mi>d</mi><mi>x</mi>
</math>
</td>
<td class="equnum">
(3.11)
</td>
</tr></table>

<p>It is easy to verify the following relation</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mfrac><mn>1</mn><msup><mi>i</mi><mi>n</mi></msup></mfrac>
<mfrac><msup><mi>d</mi><mi>n</mi></msup><mrow><mi>d</mi><msup><mi>u</mi><mi>n</mi></msup></mrow></mfrac>
<msub><mi>&phi;</mi><mi>x</mi></msub><mo>(</mo><mn>0</mn><mo>)</mo>
<mo>=</mo>
<msub>
 <mrow>
  <mrow>
   <munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mi>&infin;</mi></munderover><mrow>
    <msup><mi>x</mi><mi>n</mi></msup>
    <msup><mi>e</mi><mrow><mi>i</mi><mi>u</mi><mi>x</mi></mrow></msup>
    <msub><mi>p</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo>
   </mrow><mi>d</mi><mi>x</mi>
  </mrow>
  <mo>|</mo>
 </mrow>
 <mrow>
  <mi>u</mi><mo>=</mo><mn>0</mn>
 </mrow>
</msub>
<mo>=</mo>
<mrow><mi>E</mi><mo>{</mo><msup><mi>x</mi><mi>n</mi></msup><mo>}</mo></mrow>
</math>
</td>
<td class="equnum">
(3.12)
</td>
</tr></table>

<p>Thus when the characteristic function is calculated it is
easy to calculate the values of the set of <i>n</i>th moments by differentiation.</p>

<p>The characteristic function for a Gaussian density with expectation 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>m</mi><mo>=</mo><mn>0</mn></math>
is</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>&phi;</mi><mi>x</mi></msub><mo>(</mo><mi>u</mi><mo>)</mo></mrow>
<mo>=</mo>
<msqrt>
 <mfrac>
  <mn>1</mn>
  <mrow>
   <mn>2</mn><mi>&pi;</mi><msup><mi>&sigma;</mi><mn>2</mn></msup>
  </mrow>
 </mfrac>
</msqrt>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover><mrow>
 <mi>exp</mi>
 <mo>[</mo><mrow>
  <mi>i</mi><mi>u</mi><mi>x</mi>
  <mo>-</mo><mfrac><mn>1</mn><mn>2</mn></mfrac>
  <msup><mrow><mo>(</mo>
   <mfrac><mi>x</mi><mi>&sigma;</mi></mfrac>
   <mo>)</mo>
  </mrow><mn>2</mn></msup>
 </mrow><mo>]</mo>
</mrow><mi>d</mi><mi>x</mi>
</math>
</td>
<td class="equnum">
(3.13)
</td>
</tr></table>

<p>(The assumption that <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>m</mi><mo>=</mo><mn>0</mn></math>
is not a serious loss of generality because from all samples we can subtract
the value of <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>m</mi></math>
to obtain a random variable with mean values equal zero.)</p>

<p>Introducing the change of variables in the integral
<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>y</mi><mo>=</mo><mi>x</mi><mo>/</mo><mi>&sigma;</mi></mrow></math>,
<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>x</mi><mo>=</mo><mi>&sigma;</mi><mi>y</mi></mrow></math>,
<math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mi>d</mi><mi>x</mi><mo>=</mo><mi>&sigma;</mi><mi>d</mi><mi>x</mi></mrow></math>,
the integration finally yields the following expression</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><msub><mi>&phi;</mi><mi>x</mi></msub></mrow>
<mo>=</mo>
 <mi>exp</mi>
 <mo>(</mo><mrow>
  <mo>-</mo><mfrac><mn>1</mn><mn>2</mn></mfrac>
  <msup><mi>u</mi><mn>2</mn></msup>
  <msup><mi>&sigma;</mi><mn>2</mn></msup>
 </mrow><mo>)</mo>
</math>
</td>
<td class="equnum">
(3.14)
</td>
</tr></table>

<p>Differentiation and substitution into the expressions for the <i>n</i>th
central moments lead to the conclusion that for odd values of
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>n</mi></math> the
central moments are zero and it is easy to establish a relation between
the expression for consecutive even numbers of 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>n</mi></math>. The
final result is that for a normal distribution the nth central moment is equal to</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><mi>E</mi><mo>{</mo><msup><mrow><mo>(</mo><mi>x</mi><mo>-</mo><mi>m</mi><mo>)</mo></mrow><mi>n</mi></msup><mo>}</mo></mrow>
<mo>=</mo>
<mfenced open="{" close="">
<mtable>
<mtr> <mtd columnalign="left"><mn>0</mn><mo>,</mo></mtd> <mtd><mi>all odd</mi><mi>n</mi><mo>&ge;</mo><mn>1</mn></mtd> </mtr>
<mtr><mtd columnalign="left"><mn>1</mn><mo>&middot;</mo><mn>3</mn><mo>&middot;</mo><mn>5</mn><mo>&middot;</mo><mo>&hellip;</mo><mo>&middot;</mo><mo>(</mo><mi>n</mi><mo>-</mo><mn>1</mn><mo>)</mo>
 <msup><mi>&sigma;</mi><mi>n</mi></msup><mo>,</mo></mtd>
 <mtd><mi>all even</mi><mi>n</mi><mo>&ge;</mo><mn>2</mn></mtd></mtr>
</mtable>
</mfenced>
</math>
</td>
<td class="equnum">
(3.15)
</td>
</tr></table>

<p>The even central moments grow without bound when
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>n</mi></math> tends
to infinity.</p>


<h3>JOINTLY DISTRIBUTED RANDOM VARIABLES</h3>

<p>Let us consider two random variables <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
and <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi></math>. The two sets
<math xmlns="http://www.w3.org/1998/Math/MathML"><mo>{</mo><mrow>
 <mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>x</mi></mrow><mo>}</mo></math>
and <math xmlns="http://www.w3.org/1998/Math/MathML"><mrow><mo>{</mo><mrow>
 <mi>y</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>y</mi></mrow><mo>}</mo></mrow></math>
 are events with probabilities</p>

<table class="equ"><tr>
<td class="equ2">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><mi>Pr</mi><mo>{</mo><mrow>
 <mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>x</mi></mrow><mo>}</mo></mrow>
<mo>=</mo>
<mrow><msub><mi>F</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></mrow>
</math>
</td>
<td class="equ2">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mrow><mi>Pr</mi><mo>{</mo><mrow>
 <mi>y</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>y</mi></mrow><mo>}</mo></mrow>
<mo>=</mo>
<mrow><msub><mi>F</mi><mi>y</mi></msub><mo>(</mo><mi>y</mi><mo>)</mo></mrow>
</math>
</td>
<td class="equnum">
(3.16)
</td>
</tr></table>

<p>where <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>F</mi><mi>x</mi></msub><mo>(</mo><mi>x</mi><mo>)</mo></math>
are <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>F</mi><mi>y</mi></msub><mo>(</mo><mi>y</mi><mo>)</mo></math>
distribution functions of the random variables <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
and <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi></math>. The intersection
of these two sets</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mo>{</mo><mrow>
 <mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>x</mi>
</mrow><mo>}</mo>
<mo>&cap;</mo>
<mo>{</mo><mrow>
 <mi>y</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>y</mi>
</mrow><mo>}</mo>
<mo>=</mo>
<mo>{</mo><mrow>
 <mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>x</mi>
 <mo>,</mo>
 <mi>y</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>y</mi>
</mrow><mo>}</mo>
</math>
</td>
<td class="equnum">
(3.17)
</td>
</tr></table>

<p>is an event. The probability of this event is the <b>joint distribution
function</b> of the <b>jointly distributed random variables</b>
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>
and <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi></math></p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub><mi>F</mi><mrow><mi>x</mi><mo>,</mo><mi>y</mi></mrow></msub>
 <mfenced><mi>x</mi><mi>y</mi></mfenced>
<mo>=</mo>
<mi>Pr</mi>
<mo>{</mo><mrow>
 <mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>x</mi>
 <mo>,</mo>
 <mi>y</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><mi>y</mi>
</mrow><mo>}</mo>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.18)
</td>
</tr></table>

<p>Example: temperature measured <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math>
at 6 at night and <math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math>
at 12 (at the same day). It is possible to consider the random variables
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math> and 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi></math> separately
or to look at the pair
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math>,
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi><mo>(</mo><mi>&omega;</mi><mo>)</mo></math>
jointly. To estimate the joint probability one has to consider
a two dimensional problem related to the
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>x</mi></math>, 
<math xmlns="http://www.w3.org/1998/Math/MathML"><mi>y</mi></math> plane.</p>

<p>In general the continuous random variables
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
<msub><mi>x</mi><mn>2</mn></msub><mo>,</mo>
<mo>&hellip;</mo><mo>,</mo>
<msub><mi>x</mi><mi>n</mi></msub></math>
defined on the same probability space are said to be <b>jointly distributed</b>.
They may be characterized by their <b>joint distribution function</b></p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>F</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <msub><mi>x</mi><mn>2</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <msub><mi>x</mi><mn>2</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mo>=</mo>
<mi>Pr</mi>
<mo>{</mo><mrow>
 <msub><mi>x</mi><mn>1</mn></msub><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><msub><mi>x</mi><mn>1</mn></msub>
 <mo>,</mo><mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><msub><mi>x</mi><mi>n</mi></msub>
</mrow><mo>}</mo>
<mo>,</mo>
</math>
</td>
<td class="equnum">
(3.19)
</td>
</tr></table>

<p>where</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mo>{</mo><mrow>
 <msub><mi>x</mi><mn>1</mn></msub><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><msub><mi>x</mi><mn>1</mn></msub>
 <mo>,</mo><mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><msub><mi>x</mi><mi>n</mi></msub>
</mrow><mo>}</mo>
<mo>=</mo>
<mo>{</mo><mrow>
 <msub><mi>x</mi><mn>1</mn></msub><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><msub><mi>x</mi><mn>1</mn></msub>
</mrow><mo>}</mo>
 <mo>&cap;</mo><mo>&hellip;</mo><mo>&cap;</mo>
<mo>{</mo><mrow>
 <msub><mi>x</mi><mi>n</mi></msub><mo>(</mo><mi>&omega;</mi><mo>)</mo><mo>&le;</mo><msub><mi>x</mi><mi>n</mi></msub>
</mrow><mo>}</mo><mo>,</mo>
</math>
</td>
<td class="equnum">
(3.20)
</td>
</tr></table>

<p>or by their <b>joint density function</b></p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>F</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mo>=</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><msub><mi>x</mi><mn>1</mn></msub></munderover>
<mo>&hellip;</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><msub><mi>x</mi><mi>n</mi></msub></munderover>
<msub>
 <mi>p</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>&xi;</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>&xi;</mi><mi>n</mi></msub>
</mfenced>
<mi>d</mi><msub><mi>&xi;</mi><mn>1</mn></msub><mo>,</mo>
<mo>&hellip;</mo><mo>,</mo>
<mi>d</mi><msub><mi>&xi;</mi><mi>n</mi></msub>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.21)
</td>
</tr></table>

<p>For the differentiable case</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>p</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>&xi;</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>&xi;</mi><mi>n</mi></msub>
</mfenced>
<mo>=</mo>
<mfrac>
 <msup><mi>&part;</mi><mi>n</mi></msup>
 <mrow>
  <mi>&part;</mi><msub><mi>x</mi><mn>1</mn></msub>
  <mo>,</mo><mo>&hellip;</mo><mo>,</mo>
  <mi>&part;</mi><msub><mi>x</mi><mi>n</mi></msub>
 </mrow>
</mfrac>
<msub>
 <mi>F</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.22)
</td>
</tr></table>

<p>The <b>marginal distribution function</b> is defined by </p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>F</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>m</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>m</mi></msub>
</mfenced>
<mo>=</mo>
<msub>
 <mi>F</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>m</mi></msub>
 <mo>&infin;</mo>
 <mo>&hellip;</mo>
 <mo>&infin;</mo>
</mfenced>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.23)
</td>
</tr></table>

<p>The marginal density function is</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>p</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>m</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>m</mi></msub>
</mfenced>
<mo>=</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<mo>&hellip;</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<msub>
 <mi>p</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mi>d</mi><msub><mi>x</mi><mrow><mi>m</mi><mo>+</mo><mn>1</mn></mrow></msub><mo>,</mo>
<mo>&hellip;</mo><mo>,</mo>
<mi>d</mi><msub><mi>x</mi><mi>n</mi></msub>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.24)
</td>
</tr></table>



<p>The <b>expectation</b> of
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mi>k</mi></msub><mo>,</mo>
<mn>1</mn><mo>&le;</mo><mi>k</mi><mo>&le;</mo><mi>n</mi></math> is given by</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub><mi>m</mi><mi>k</mi></msub>
<mo>=</mo>
<mi>E</mi><mrow><mo>{</mo><msub><mi>x</mi><mi>k</mi></msub><mo>}</mo></mrow>
<mo>=</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<mo>&hellip;</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<msub><mi>x</mi><mi>k</mi></msub>
<msub>
 <mi>p</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mi>d</mi><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
<mo>&hellip;</mo><mo>,</mo>
<mi>d</mi><msub><mi>x</mi><mi>n</mi></msub>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.25)
</td>
</tr></table>

<p>The <b>second moment</b> of
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mi>k</mi></msub></math> is</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mi>E</mi><mrow><mo>{</mo><msubsup><mi>x</mi><mi>k</mi><mn>2</mn></msubsup><mo>}</mo></mrow>
<mo>=</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<mo>&hellip;</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<msubsup><mi>x</mi><mi>k</mi><mn>2</mn></msubsup>
<msub>
 <mi>p</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mi>d</mi><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
<mo>&hellip;</mo><mo>,</mo>
<mi>d</mi><msub><mi>x</mi><mi>n</mi></msub>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.26)
</td>
</tr></table>

<p>Of great importance in applications is the covariance of
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mi>k</mi></msub></math>
and
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mi>l</mi></msub></math>
which is defined by</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<mtable columnalign="left">
<mtr><mtd>
<mi>cov</mi><mrow><mo>{</mo><msub><mi>x</mi><mi>k</mi></msub><mo>,</mo><msub><mi>x</mi><mi>l</mi></msub><mo>}</mo></mrow>
<mo>=</mo>
</mtd></mtr>
<mtr><mtd>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<mo>&hellip;</mo>
<munderover><mo>&int;</mo><mrow><mo>-</mo><mo>&infin;</mo></mrow><mo>&infin;</mo></munderover>
<mrow><mo>(</mo><msub><mi>x</mi><mi>k</mi></msub><mo>-</mo><msub><mi>m</mi><mi>k</mi></msub><mo>)</mo></mrow>
<mrow><mo>(</mo><msub><mi>x</mi><mi>l</mi></msub><mo>-</mo><msub><mi>m</mi><mi>l</mi></msub><mo>)</mo></mrow>
<msub>
 <mi>p</mi><mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
 <mo>&hellip;</mo><mo>,</mo>
 <msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mi>d</mi><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo>
<mo>&hellip;</mo><mo>,</mo>
<mi>d</mi><msub><mi>x</mi><mi>n</mi></msub>
<mo>.</mo>
</mtd></mtr>
</mtable>
</math>
</td>
<td class="equnum">
(3.27)
</td>
</tr></table>

<p>The generalization of the higher moments and central
moments from the case of one random variable to the joint variables
is straightforward.</p>

<p>Two jointly distributed random variables
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mn>1</mn></msub></math>
and <math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mn>2</mn></msub></math>
are <b>independent</b> if any of the following equivalent conditions is satisfied</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>F</mi>
 <mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo><msub><mi>x</mi><mn>2</mn></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <msub><mi>x</mi><mn>2</mn></msub>
</mfenced>
<mo>=</mo>
<msub>
 <mi>F</mi>
 <msub><mi>x</mi><mn>1</mn></msub>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
</mfenced>
<msub>
 <mi>F</mi>
 <msub><mi>x</mi><mn>2</mn></msub>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>2</mn></msub>
</mfenced>
<mo>,</mo>
</math>
</td>
<td rowspan="2" class="equnum">
(3.28)
</td>
</tr>
<tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>p</mi>
 <mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo><msub><mi>x</mi><mn>2</mn></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <msub><mi>x</mi><mn>2</mn></msub>
</mfenced>
<mo>=</mo>
<msub>
 <mi>p</mi>
 <msub><mi>x</mi><mn>1</mn></msub>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
</mfenced>
<msub>
 <mi>p</mi>
 <msub><mi>x</mi><mn>2</mn></msub>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>2</mn></msub>
</mfenced>
<mo>,</mo>
</math>
</td>
</tr></table>


<p>We say that
<math xmlns="http://www.w3.org/1998/Math/MathML"><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo><mo>&hellip;</mo><mo>,</mo><msub><mi>x</mi><mi>n</mi></msub></math>
are <b>mutually independent</b> if</p>

<table class="equ"><tr>
<td class="equ">
<math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
<msub>
 <mi>p</mi>
 <mrow><msub><mi>x</mi><mn>1</mn></msub><mo>,</mo><mo>&hellip;</mo><mo>,</mo><msub><mi>x</mi><mi>n</mi></msub></mrow>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
 <mo>&hellip;</mo>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mo>=</mo>
<msub>
 <mi>p</mi>
 <msub><mi>x</mi><mn>1</mn></msub>
</msub>
<mfenced>
 <msub><mi>x</mi><mn>1</mn></msub>
</mfenced>
<mo>&middot;</mo>
<mo>&hellip;</mo>
<mo>&middot;</mo>
<msub>
 <mi>p</mi>
 <msub><mi>x</mi><mi>n</mi></msub>
</msub>
<mfenced>
 <msub><mi>x</mi><mi>n</mi></msub>
</mfenced>
<mo>.</mo>
</math>
</td>
<td class="equnum">
(3.29)
</td>
</tr></table>


</body>
</html>


