<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://eclr.humanities.manchester.ac.uk/index.php?action=history&amp;feed=atom&amp;title=Probability_DiscreteRV</id>
		<title>Probability DiscreteRV - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://eclr.humanities.manchester.ac.uk/index.php?action=history&amp;feed=atom&amp;title=Probability_DiscreteRV"/>
		<link rel="alternate" type="text/html" href="http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;action=history"/>
		<updated>2026-04-11T13:25:39Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.1</generator>

	<entry>
		<id>http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2907&amp;oldid=prev</id>
		<title>Rb: /* The Binomial random variable */</title>
		<link rel="alternate" type="text/html" href="http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2907&amp;oldid=prev"/>
				<updated>2013-08-14T07:44:19Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The Binomial random variable&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:44, 14 August 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l125&quot; &gt;Line 125:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 125:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The actual values for both, the &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039;, will depend on the value of the &amp;#039;&amp;#039;parameter&amp;#039;&amp;#039; &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The actual values for both, the &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039;, will depend on the value of the &amp;#039;&amp;#039;parameter&amp;#039;&amp;#039; &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== The Binomial random variable ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;div id=&amp;quot;Binomial&amp;quot;&amp;gt;&amp;lt;/div&amp;gt; &lt;/ins&gt;The Binomial random variable ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Let’s use a different, but related, random variable that allow us to demonstrate the difference between &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; and &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039; in a more insightful way. Consider the case where &amp;lt;math&amp;gt;X=&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;the number of HEADs obtained from &amp;#039;&amp;#039; 3 &amp;#039;&amp;#039;flips of a fair coin&amp;#039;&amp;#039;. In this case, there are just four possible values of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;a_{1}=0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a_{2}=1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a_{3}=2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{4}=3&amp;lt;/math&amp;gt; in the notation used above. Furthermore, due to independence, we can write that&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Let’s use a different, but related, random variable that allow us to demonstrate the difference between &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; and &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039; in a more insightful way. Consider the case where &amp;lt;math&amp;gt;X=&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;the number of HEADs obtained from &amp;#039;&amp;#039; 3 &amp;#039;&amp;#039;flips of a fair coin&amp;#039;&amp;#039;. In this case, there are just four possible values of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;a_{1}=0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a_{2}=1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a_{3}=2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{4}=3&amp;lt;/math&amp;gt; in the notation used above. Furthermore, due to independence, we can write that&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rb</name></author>	</entry>

	<entry>
		<id>http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2888&amp;oldid=prev</id>
		<title>Rb: /* The Binomial random variable */</title>
		<link rel="alternate" type="text/html" href="http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2888&amp;oldid=prev"/>
				<updated>2013-08-13T07:12:40Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;The Binomial random variable&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:12, 13 August 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l178&quot; &gt;Line 178:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 178:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;=&amp;amp;0.83692.\end{aligned}&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;=&amp;amp;0.83692.\end{aligned}&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is apparent that the calculation of probabilities of this type, in particular the cumulative probabilities can be rather burdensome. It is therefore often useful to approximate discrete random variables with a continuous random variable. In this context the transformed random variable, &amp;lt;math&amp;gt;Z=X/n&amp;lt;/math&amp;gt;, which defines the proportion of successes, will be useful. It should be obvious that for very large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; this can indeed be thought of a continuous random variable. The advantage, which you will be able to appreciate after mastering Sections [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Probability&amp;lt;sub&amp;gt;C&amp;lt;/sub&amp;gt;ontRV&lt;/del&gt;|Continuous Random Variables]] and [[&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Probability&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt;orm&lt;/del&gt;|Normal Random Variables]], is that calculating these probabilities can become more straightforward.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is apparent that the calculation of probabilities of this type, in particular the cumulative probabilities can be rather burdensome. It is therefore often useful to approximate discrete random variables with a continuous random variable. In this context the transformed random variable, &amp;lt;math&amp;gt;Z=X/n&amp;lt;/math&amp;gt;, which defines the proportion of successes, will be useful. It should be obvious that for very large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; this can indeed be thought of a continuous random variable. The advantage, which you will be able to appreciate after mastering Sections [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Probability_ContRV&lt;/ins&gt;|Continuous Random Variables]] and [[&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Probability_Norm&lt;/ins&gt;|Normal Random Variables]], is that calculating these probabilities can become more straightforward.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Additional resources ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;=== Additional resources ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rb</name></author>	</entry>

	<entry>
		<id>http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2887&amp;oldid=prev</id>
		<title>Rb: /* Probability mass function */</title>
		<link rel="alternate" type="text/html" href="http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2887&amp;oldid=prev"/>
				<updated>2013-08-13T07:11:35Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Probability mass function&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 07:11, 13 August 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l77&quot; &gt;Line 77:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 77:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;where the sum is taken over all possible values that &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; can assume.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;p&amp;gt;where the sum is taken over all possible values that &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; can assume.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, when &amp;lt;math&amp;gt;X=&amp;lt;/math&amp;gt; ‘&amp;#039;&amp;#039;the number of HEADs obtained when a fair coin is flipped&amp;#039;&amp;#039; &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; times’, we can write that &amp;lt;math&amp;gt;\sum_{j=0}^{3}p(j)=p(0)+p(1)+p(2)+p(3)=1&amp;lt;/math&amp;gt; since the number of heads possible is either &amp;lt;math&amp;gt;0,1,2,&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt;. Be clear about the notation being used here&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;: &lt;/del&gt;&amp;lt;math&amp;gt;p(j)&amp;lt;/math&amp;gt; is &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;being used to give &lt;/del&gt;the probability that &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; heads are obtained in &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; flips; i.e., &amp;lt;math&amp;gt;p(j)=\Pr \left( X=j\right) ,&amp;lt;/math&amp;gt; for values of &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; equal to &amp;lt;math&amp;gt;0,1,2,3&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;For example, when &amp;lt;math&amp;gt;X=&amp;lt;/math&amp;gt; ‘&amp;#039;&amp;#039;the number of HEADs obtained when a fair coin is flipped&amp;#039;&amp;#039; &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; times’, we can write that &amp;lt;math&amp;gt;\sum_{j=0}^{3}p(j)=p(0)+p(1)+p(2)+p(3)=1&amp;lt;/math&amp;gt; since the number of heads possible is either &amp;lt;math&amp;gt;0,1,2,&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt;. Be clear about the notation being used here&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;. &lt;/ins&gt;&amp;lt;math&amp;gt;p(j)&amp;lt;/math&amp;gt; is the probability that &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; heads are obtained in &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; flips; i.e., &amp;lt;math&amp;gt;p(j)=\Pr \left( X=j\right) ,&amp;lt;/math&amp;gt; for values of &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; equal to &amp;lt;math&amp;gt;0,1,2,3&amp;lt;/math&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; tells us how probabilities are distributed across all possible outcomes of a discrete random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;; it therefore generates a &amp;#039;&amp;#039;probability distribution&amp;#039;&amp;#039;. A &amp;#039;&amp;#039;probability distribution&amp;#039;&amp;#039; tells you how the probabilities &amp;#039;&amp;#039;distribute&amp;#039;&amp;#039; across all possible outcomes. We will encounter many examples of this soon.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; tells us how probabilities are distributed across all possible outcomes of a discrete random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;; it therefore generates a &amp;#039;&amp;#039;probability distribution&amp;#039;&amp;#039;. A &amp;#039;&amp;#039;probability distribution&amp;#039;&amp;#039; tells you how the probabilities &amp;#039;&amp;#039;distribute&amp;#039;&amp;#039; across all possible outcomes. We will encounter many examples of this soon.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rb</name></author>	</entry>

	<entry>
		<id>http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2886&amp;oldid=prev</id>
		<title>Rb: /* Additional resources */</title>
		<link rel="alternate" type="text/html" href="http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2886&amp;oldid=prev"/>
				<updated>2013-08-09T16:12:47Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Additional resources&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 16:12, 9 August 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l243&quot; &gt;Line 243:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 243:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* This is a set of two clips to explain a poisson random variables. Here is the link to the first clip: [https://www.khanacademy.org/math/probability/random-variables-topic/poisson_process/v/poisson-process-1].&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* This is a set of two clips to explain a poisson random variables. Here is the link to the first clip: [https://www.khanacademy.org/math/probability/random-variables-topic/poisson_process/v/poisson-process-1].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* How to use EXCEL to calculate discrete probabilities (Binomial and Poisson) [http://youtu.be/4atJiXLqzwA].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Footnotes =&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Footnotes =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rb</name></author>	</entry>

	<entry>
		<id>http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2885&amp;oldid=prev</id>
		<title>Rb at 15:12, 9 August 2013</title>
		<link rel="alternate" type="text/html" href="http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2885&amp;oldid=prev"/>
				<updated>2013-08-09T15:12:25Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 15:12, 9 August 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l45&quot; &gt;Line 45:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 45:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The examples of &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; given here all are applications of &amp;#039;&amp;#039;discrete&amp;#039;&amp;#039; random variables (the outcomes, or values of the function, are all integers). Technically speaking, the functions &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; are not continuous.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;The examples of &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; given here all are applications of &amp;#039;&amp;#039;discrete&amp;#039;&amp;#039; random variables (the outcomes, or values of the function, are all integers). Technically speaking, the functions &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; are not continuous.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Additional Resources ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Khan Academy:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* A short introduction to the nature of random variables [https://www.khanacademy.org/math/probability/random-variables-topic/random_variables_prob_dist/v/random-variables]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Discrete random variables =&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Discrete random variables =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l50&quot; &gt;Line 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 56:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In general, a &amp;#039;&amp;#039;discrete random variable&amp;#039;&amp;#039; can only assume discrete realisations which are easily listed prior to experimentation. Having defined a discrete random variable, probabilities are assigned by means of a &amp;#039;&amp;#039;probability distribution.&amp;#039;&amp;#039; A probability distribution is essentially a function which maps from &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; (the real line) to the interval &amp;lt;math&amp;gt;\left[ 0,1\right]&amp;lt;/math&amp;gt;; thereby generating probabilities.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;In general, a &amp;#039;&amp;#039;discrete random variable&amp;#039;&amp;#039; can only assume discrete realisations which are easily listed prior to experimentation. Having defined a discrete random variable, probabilities are assigned by means of a &amp;#039;&amp;#039;probability distribution.&amp;#039;&amp;#039; A probability distribution is essentially a function which maps from &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; (the real line) to the interval &amp;lt;math&amp;gt;\left[ 0,1\right]&amp;lt;/math&amp;gt;; thereby generating probabilities.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In the case of &lt;/del&gt;discrete random &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;variable, we shall use what is called a &amp;#039;&amp;#039;&lt;/del&gt;probability &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;mass function&amp;#039;&amp;#039;:&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;== Additional Resources ==&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Khan Academy:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* Differentiate between &lt;/ins&gt;discrete &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;and continuous &lt;/ins&gt;random &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;variables [https://www.khanacademy.org/math/&lt;/ins&gt;probability&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;/random-variables-topic/random_variables_prob_dist/v/discrete-and-continuous-random-variables]. The difference can indeed be subtle!&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Probability mass function ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Probability mass function ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l169&quot; &gt;Line 169:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 179:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is apparent that the calculation of probabilities of this type, in particular the cumulative probabilities can be rather burdensome. It is therefore often useful to approximate discrete random variables with a continuous random variable. In this context the transformed random variable, &amp;lt;math&amp;gt;Z=X/n&amp;lt;/math&amp;gt;, which defines the proportion of successes, will be useful. It should be obvious that for very large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; this can indeed be thought of a continuous random variable. The advantage, which you will be able to appreciate after mastering Sections [[Probability&amp;lt;sub&amp;gt;C&amp;lt;/sub&amp;gt;ontRV|Continuous Random Variables]] and [[Probability&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt;orm|Normal Random Variables]], is that calculating these probabilities can become more straightforward.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;It is apparent that the calculation of probabilities of this type, in particular the cumulative probabilities can be rather burdensome. It is therefore often useful to approximate discrete random variables with a continuous random variable. In this context the transformed random variable, &amp;lt;math&amp;gt;Z=X/n&amp;lt;/math&amp;gt;, which defines the proportion of successes, will be useful. It should be obvious that for very large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; this can indeed be thought of a continuous random variable. The advantage, which you will be able to appreciate after mastering Sections [[Probability&amp;lt;sub&amp;gt;C&amp;lt;/sub&amp;gt;ontRV|Continuous Random Variables]] and [[Probability&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt;orm|Normal Random Variables]], is that calculating these probabilities can become more straightforward.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Additional resources ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Khan Academy:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* This is a set of clips to explain binomial random variables. Here is the link to the first clip: [https://www.khanacademy.org/math/probability/random-variables-topic/binomial_distribution/v/binomial-distribution-1].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Geometric Random Variable ==&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Geometric Random Variable ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l221&quot; &gt;Line 221:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 237:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;=&amp;amp;1-0.1247 \\&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;=&amp;amp;1-0.1247 \\&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;=&amp;amp;0.8753.\end{aligned}&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;amp;=&amp;amp;0.8753.\end{aligned}&amp;lt;/math&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;=== Additional resources ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Khan Academy:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* This is a set of two clips to explain a poisson random variables. Here is the link to the first clip: [https://www.khanacademy.org/math/probability/random-variables-topic/poisson_process/v/poisson-process-1].&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Footnotes =&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;= Footnotes =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Rb</name></author>	</entry>

	<entry>
		<id>http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2883&amp;oldid=prev</id>
		<title>Rb: Created page with &quot;  = Discrete Probability Distributions =  The axioms of probability tell us how we should combine and use probabilities in order to make sensible statements concerning uncerta...&quot;</title>
		<link rel="alternate" type="text/html" href="http://eclr.humanities.manchester.ac.uk/index.php?title=Probability_DiscreteRV&amp;diff=2883&amp;oldid=prev"/>
				<updated>2013-08-09T14:57:37Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  = Discrete Probability Distributions =  The axioms of probability tell us how we should combine and use probabilities in order to make sensible statements concerning uncerta...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
= Discrete Probability Distributions =&lt;br /&gt;
&lt;br /&gt;
The axioms of probability tell us how we should combine and use probabilities in order to make sensible statements concerning uncertain events. To a large extent this has assumed an initial allocation of probabilities to events of interest, from which probabilities concerning related events (unions, intersections and complements) can be computed. The question we shall begin to address in the next two sections is how we might construct &amp;#039;&amp;#039;models&amp;#039;&amp;#039; which assign probabilities in the first instance.&lt;br /&gt;
&lt;br /&gt;
The ultimate goal is the development of tools which enable statistical analysis of &amp;#039;&amp;#039;data&amp;#039;&amp;#039;. Any data under consideration (after, perhaps, some coding) are simply a set of &amp;#039;&amp;#039;numbers &amp;#039;&amp;#039;which describe the appropriate members of a sample in meaningful way. Therefore, in wishing to assign probabilities to outcomes generated by sampling, we can equivalently think of how to assign probabilities to the numbers that are explicitly generated by the same sampling process. When dealing with numbers, a natural line of enquiry would be to characterise possible &amp;#039;&amp;#039;mathematical functions&amp;#039;&amp;#039; which, when applied to appropriate numbers, yield probabilities satisfying the three basic axioms. A mathematical functionwhich acts in this fashion is termed a mathematical or &amp;#039;&amp;#039;statistical model&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;mathematical/statistical models&amp;#039;&amp;#039;: mathematical functions which may be useful in assigning probabilities in a gainful way.&lt;br /&gt;
&lt;br /&gt;
If such models are to have wide applicability, we need a ‘general’ approach. As noted above, and previously, events (on a sample space of interest) are often described in terms of physical phenomena; see Sections 3 and 4. Mathematical functions require &amp;#039;&amp;#039;numbers&amp;#039;&amp;#039;. We therefore need some sort of &amp;#039;&amp;#039;mapping&amp;#039;&amp;#039; from the physical attributes of a sample space to real numbers, before we can begin developing such models. The situation is depicted in following Figure, in which events of interest defined on a physical sample space, &amp;lt;math&amp;gt;S,&amp;lt;/math&amp;gt; are mapped into numbers, &amp;lt;math&amp;gt;x,&amp;lt;/math&amp;gt; on the real line. Note that there is only one number for each physical event, but that two different events could be assigned the same number. Thus, this mapping can be described by a &amp;#039;&amp;#039;function&amp;#039;&amp;#039;; it is this function, mapping from the sample space to the real line, which defines a &amp;#039;&amp;#039;random variable&amp;#039;&amp;#039;. A further function, &amp;lt;math&amp;gt;f(.),&amp;lt;/math&amp;gt; is then applied on the real line in order to generate probabilities.&lt;br /&gt;
&lt;br /&gt;
[[File:ProbDistDisc_map.jpg|frameless|400px]]&lt;br /&gt;
&lt;br /&gt;
The initial task, then, is the mapping from &amp;lt;math&amp;gt;S&amp;lt;/math&amp;gt; to the real line and this is supplied by introducing the notion of a &amp;#039;&amp;#039;random variable&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
= Random Variable =&lt;br /&gt;
&lt;br /&gt;
For our purposes, we can think of a &amp;#039;&amp;#039;random variable&amp;#039;&amp;#039; as having &amp;#039;&amp;#039;&amp;#039;two&amp;#039;&amp;#039;&amp;#039; components:&lt;br /&gt;
&lt;br /&gt;
* a label/description which defines the variable of interest&lt;br /&gt;
* the definition of a procedure which assigns numerical values to events on the appropriate sample space.&lt;br /&gt;
&lt;br /&gt;
Note that:&lt;br /&gt;
&lt;br /&gt;
* often, but not always, how the numerical values are assigned will be implicitly defined by the chosen label&lt;br /&gt;
* A random variable is &amp;#039;&amp;#039;&amp;#039;neither&amp;#039;&amp;#039;&amp;#039; RANDOM or VARIABLE! Rather, it is device which describes how to assign numbers to physical events of interest: “&amp;#039;&amp;#039;a random variable is a real valued function defined on a sample space&amp;#039;&amp;#039;”.&lt;br /&gt;
* A random variable is indicated by an &amp;#039;&amp;#039;upper case&amp;#039;&amp;#039; letter (&amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;\,\,Y&amp;lt;/math&amp;gt;,&amp;lt;math&amp;gt;\,\,Z&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;T\,\,&amp;lt;/math&amp;gt;etc). The strict mathematical implication is that since &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a function, when it is applied on a sample space (of physical attributes) it yields a number&lt;br /&gt;
&lt;br /&gt;
Just in case you didn’t realise yet, the above is somewhat abstract, so let us now consider some examples of &amp;#039;&amp;#039;random variables&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
== Examples of random variables ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Let &amp;lt;math&amp;gt;X=&amp;lt;/math&amp;gt; ‘&amp;#039;&amp;#039;the number of HEADs obtained when a fair coin is flipped&amp;#039;&amp;#039; 3 times’. This definition of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; implies a function on the physical sample space which generates particular numerical values. Thus &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; is a random variable and the values it can assume are:&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;math&amp;gt;X(&amp;lt;/math&amp;gt;H,H,H&amp;lt;math&amp;gt;)=3;\,\,X(&amp;lt;/math&amp;gt;T,H,H&amp;lt;math&amp;gt;)=2;\,\,X(&amp;lt;/math&amp;gt;H,T,H&amp;lt;math&amp;gt;)=2;\,\,X(&amp;lt;/math&amp;gt;H,H,T&amp;lt;math&amp;gt;)=2;\,\,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;X(&amp;lt;/math&amp;gt;H,T,T&amp;lt;math&amp;gt;)=1;\,\,X(&amp;lt;/math&amp;gt;T,H,T&amp;lt;math&amp;gt;)=1;\,\,X(&amp;lt;/math&amp;gt;T,T,H&amp;lt;math&amp;gt;)=1;\,\,X(&amp;lt;/math&amp;gt;T,T,T&amp;lt;math&amp;gt;)=0.&amp;lt;/math&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;This is an example (as indicated in the above Figure) where two different outcomes in the sample space (e.g. &amp;lt;math&amp;gt;{T,H,H}&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;{H,T,H}&amp;lt;/math&amp;gt;) are mapped into the same number, here 2.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Let the random variable &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; indicate whether or not a household has suffered some sort of property crime in the last &amp;lt;math&amp;gt;12&amp;lt;/math&amp;gt; months, with &amp;lt;math&amp;gt;Y(&amp;lt;/math&amp;gt;&amp;#039;&amp;#039;yes&amp;#039;&amp;#039;&amp;lt;math&amp;gt;)=1&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;Y(&amp;lt;/math&amp;gt;&amp;#039;&amp;#039;no&amp;#039;&amp;#039;&amp;lt;math&amp;gt;)=0.&amp;lt;/math&amp;gt; Note that we could have chosen the numerical values of &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt; for &amp;#039;&amp;#039;yes&amp;#039;&amp;#039; and &amp;#039;&amp;#039;no&amp;#039;&amp;#039; respectively. However, the mathematical treatment is simplified if we adopt the &amp;#039;&amp;#039;binary &amp;#039;&amp;#039;responses of 1 and 0.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Let the random variable &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; describe the length of time, measured in weeks, that an unemployed job-seeker waits before securing permanent employment. So here, for example,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;math&amp;gt;T(15&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;weeks unemployed&amp;#039;&amp;#039;&amp;lt;math&amp;gt;)=15,&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;T(31&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;weeks unemployed&amp;#039;&amp;#039;&amp;lt;math&amp;gt;    )=31,&amp;lt;/math&amp;gt; etc.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once an experiment is carried out, and the random variable (&amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;) is applied to the outcome, a number is &amp;#039;&amp;#039;observed&amp;#039;&amp;#039;, or &amp;#039;&amp;#039;realised&amp;#039;&amp;#039;; i.e., the value of the function at that point in the sample space. This is called a &amp;#039;&amp;#039;realisation&amp;#039;&amp;#039;, or possible outcome, of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; and is denoted by a &amp;#039;&amp;#039;lower case&amp;#039;&amp;#039; letter, &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
In the above examples, the possible realisations of the random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; (i.e., possible values of the function defined by &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;) are &amp;lt;math&amp;gt;x=0,1,2&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt;. For &amp;lt;math&amp;gt;Y,&amp;lt;/math&amp;gt; the possible realisations are &amp;lt;math&amp;gt;y=0,1;&amp;lt;/math&amp;gt; and for &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; they are &amp;lt;math&amp;gt;t=1,2,3,...&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The examples of &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; given here all are applications of &amp;#039;&amp;#039;discrete&amp;#039;&amp;#039; random variables (the outcomes, or values of the function, are all integers). Technically speaking, the functions &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;T&amp;lt;/math&amp;gt; are not continuous.&lt;br /&gt;
&lt;br /&gt;
= Discrete random variables =&lt;br /&gt;
&lt;br /&gt;
In general, a &amp;#039;&amp;#039;discrete random variable&amp;#039;&amp;#039; can only assume discrete realisations which are easily listed prior to experimentation. Having defined a discrete random variable, probabilities are assigned by means of a &amp;#039;&amp;#039;probability distribution.&amp;#039;&amp;#039; A probability distribution is essentially a function which maps from &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; (the real line) to the interval &amp;lt;math&amp;gt;\left[ 0,1\right]&amp;lt;/math&amp;gt;; thereby generating probabilities.&lt;br /&gt;
&lt;br /&gt;
In the case of discrete random variable, we shall use what is called a &amp;#039;&amp;#039;probability mass function&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
== Probability mass function ==&lt;br /&gt;
&lt;br /&gt;
The probability mass function &amp;#039;&amp;#039;(pmf)&amp;#039;&amp;#039; is defined for a &amp;#039;&amp;#039;&amp;#039;DISCRETE&amp;#039;&amp;#039;&amp;#039; random variable, &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; only and is the &amp;#039;&amp;#039;function&amp;#039;&amp;#039;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;p(x)=\Pr (X=x),\quad \text{for all }x.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Note that:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;ul&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;We use &amp;lt;math&amp;gt;p(x)&amp;lt;/math&amp;gt; here to emphasize that probabilities are being generated for the outcome &amp;lt;math&amp;gt;x;&amp;lt;/math&amp;gt; e.g., &amp;lt;math&amp;gt;p(1)=\Pr (X=1),\,\,&amp;lt;/math&amp;gt;etc.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;Note that &amp;lt;math&amp;gt;p(r)=0,&amp;lt;/math&amp;gt; if the number &amp;lt;math&amp;gt;r&amp;lt;/math&amp;gt; is NOT a possible realisation of &amp;lt;math&amp;gt;X.&amp;lt;/math&amp;gt; Thus, for the property crime random variable &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;, with &amp;lt;math&amp;gt;p(y)=\Pr (Y=y)&amp;lt;/math&amp;gt;, it must be that &amp;lt;math&amp;gt;p(0.5)=0&amp;lt;/math&amp;gt; since a realisation of &amp;lt;math&amp;gt;0.5&amp;lt;/math&amp;gt; is impossible for the random variable.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;
&amp;lt;li&amp;gt;&amp;lt;p&amp;gt;If &amp;lt;math&amp;gt;p(x)&amp;lt;/math&amp;gt; is to be useful, then it follows from the &amp;#039;&amp;#039;axioms of probability&amp;#039;&amp;#039; that,&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;&amp;lt;math&amp;gt;p(x)\geq 0\quad and\quad \sum_{x}p(x)=1&amp;lt;/math&amp;gt;&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;p&amp;gt;where the sum is taken over all possible values that &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; can assume.&amp;lt;/p&amp;gt;&amp;lt;/li&amp;gt;&amp;lt;/ul&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For example, when &amp;lt;math&amp;gt;X=&amp;lt;/math&amp;gt; ‘&amp;#039;&amp;#039;the number of HEADs obtained when a fair coin is flipped&amp;#039;&amp;#039; &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; times’, we can write that &amp;lt;math&amp;gt;\sum_{j=0}^{3}p(j)=p(0)+p(1)+p(2)+p(3)=1&amp;lt;/math&amp;gt; since the number of heads possible is either &amp;lt;math&amp;gt;0,1,2,&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt;. Be clear about the notation being used here: &amp;lt;math&amp;gt;p(j)&amp;lt;/math&amp;gt; is being used to give the probability that &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; heads are obtained in &amp;lt;math&amp;gt;3&amp;lt;/math&amp;gt; flips; i.e., &amp;lt;math&amp;gt;p(j)=\Pr \left( X=j\right) ,&amp;lt;/math&amp;gt; for values of &amp;lt;math&amp;gt;j&amp;lt;/math&amp;gt; equal to &amp;lt;math&amp;gt;0,1,2,3&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; tells us how probabilities are distributed across all possible outcomes of a discrete random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;; it therefore generates a &amp;#039;&amp;#039;probability distribution&amp;#039;&amp;#039;. A &amp;#039;&amp;#039;probability distribution&amp;#039;&amp;#039; tells you how the probabilities &amp;#039;&amp;#039;distribute&amp;#039;&amp;#039; across all possible outcomes. We will encounter many examples of this soon.&lt;br /&gt;
&lt;br /&gt;
== Cumulative distribution function ==&lt;br /&gt;
&lt;br /&gt;
In the &amp;#039;&amp;#039;&amp;#039;DISCRETE&amp;#039;&amp;#039;&amp;#039; case the cumulative distribution function (&amp;#039;&amp;#039;cdf)&amp;#039;&amp;#039; is a function which &amp;#039;&amp;#039;cumulates&amp;#039;&amp;#039; (adds up) values of &amp;lt;math&amp;gt;p(x)&amp;lt;/math&amp;gt;, the &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039;. In general, it is defined as the function:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;P(x)=\Pr (X\leq x);&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
e.g., &amp;lt;math&amp;gt;P(1)=\Pr (X\leq 1)&amp;lt;/math&amp;gt;. Note the use of an upper case letter, &amp;lt;math&amp;gt;P\left(.\right) ,&amp;lt;/math&amp;gt; for the &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039;, as opposed to the lower case letter, &amp;lt;math&amp;gt;p\left( .\right) ,&amp;lt;/math&amp;gt; for the &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039;. In the case of a discrete random variable it is constructed as follows:&lt;br /&gt;
&lt;br /&gt;
Suppose the discrete random variable, &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; can take on possible values &amp;lt;math&amp;gt;x=a_{1},a_{2},a_{3},...,&amp;lt;/math&amp;gt; etc, where the &amp;lt;math&amp;gt;a_{j}&amp;lt;/math&amp;gt; are an increasing sequence of numbers &amp;lt;math&amp;gt;\left( a_{1}&amp;lt;a_{2}&amp;lt;\ldots \right) &amp;lt;/math&amp;gt;. Then, for example, we can construct the following (cumulative) probability:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left( X\leq a_{4}\right)&lt;br /&gt;
=P(a_{4})=p(a_{1})+p(a_{2})+p(a_{3})+p(a_{4})=\sum_{j=1}^{4}p(a_{j}),&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
i.e., we take all the probabilities assigned to possible values of &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; up to the value under consideration (in this case &amp;lt;math&amp;gt;a_{4}&amp;lt;/math&amp;gt;), and then add them up. It follows from the axioms of probability that &amp;lt;math&amp;gt;\sum_{j}p(a_{j})=1,&amp;lt;/math&amp;gt; all the probabilities assigned must sum to unity, as noted before. Therefore,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{aligned}&lt;br /&gt;
\Pr \left( X\geq a_{4}\right) &amp;amp;=&amp;amp;p\left( a_{4}\right) +p\left( a_{5}\right)+p\left( a_{6}\right) +\ldots \\&lt;br /&gt;
&amp;amp;=&amp;amp;\left\{ \sum_{j}p(a_{j})\right\} -\left\{ p\left( a_{1}\right) +p\left(a_{2}\right) +p\left( a_{3}\right) \right\} \\&lt;br /&gt;
&amp;amp;=&amp;amp;1-\Pr \left( X\leq a_{3}\right) ,\end{aligned}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and, similarly,&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\Pr \left( X&amp;gt;a_{4}\right) =1-\Pr \left( X\leq a_{4}\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which is always useful to remember.&lt;br /&gt;
&lt;br /&gt;
= Example Distributions =&lt;br /&gt;
&lt;br /&gt;
In order to fill these theoretical constructs with some life we shall use a few examples. All these examples represent discrete random variables. There are many cases in which the random variable of interest is of a continuous nature. The same principles introduced here apply to that type of random variables and are discussed here [[Probability&amp;lt;sub&amp;gt;C&amp;lt;/sub&amp;gt;ontRV|Continuous Random Variables]].&lt;br /&gt;
&lt;br /&gt;
== A Bernoulli random variable ==&lt;br /&gt;
&lt;br /&gt;
A &amp;#039;&amp;#039;Bernoulli&amp;#039;&amp;#039; random variable is a particularly simple (but very useful) discrete random variable. The ‘property crime’ random variable, &amp;lt;math&amp;gt;Y&amp;lt;/math&amp;gt;, introduced above is a particular example. A Bernoulli random variable can only assume one of two possible values: &amp;lt;math&amp;gt;y=0&amp;lt;/math&amp;gt; or &amp;lt;math&amp;gt;y=1&amp;lt;/math&amp;gt;; with probabilities &amp;lt;math&amp;gt;\left( 1-\pi \right) &amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\pi ,&amp;lt;/math&amp;gt; respectively. Often, the value &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt; might be referred to as a success and the value &amp;lt;math&amp;gt;0&amp;lt;/math&amp;gt; a failure. Here, &amp;lt;math&amp;gt;\pi &amp;lt;/math&amp;gt; is any number satisfying &amp;lt;math&amp;gt;0&amp;lt;\pi &amp;lt;1,&amp;lt;/math&amp;gt; since it is a probability, and it is called a &amp;#039;&amp;#039;parameter&amp;#039;&amp;#039; for this this random variable. Note that, here, &amp;lt;math&amp;gt;\pi &amp;lt;/math&amp;gt; is the Greek letter &amp;#039;&amp;#039;pi&amp;#039;&amp;#039; (lower case), with English equivalent &amp;#039;&amp;#039;p&amp;#039;&amp;#039;, and is &amp;#039;&amp;#039;not&amp;#039;&amp;#039; used here to denote the number &amp;#039;&amp;#039;Pi&amp;#039;&amp;#039; &amp;lt;math&amp;gt;=3.14159...&amp;lt;/math&amp;gt; . Clearly, different choices for &amp;lt;math&amp;gt;\pi &amp;lt;/math&amp;gt; generate different probabilities for the outcomes of interest; it is an example of a very simple statistical model and the &amp;#039;&amp;#039;(pmf)&amp;#039;&amp;#039; can be written compactly as&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;p(y)=\pi ^{y}\left( 1-\pi \right) ^{1-y},\quad 0&amp;lt;\pi &amp;lt;1,\quad y=0,1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
For a variable with two discrete outcome only, as this one, the &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039; is not very interesting. But we shall in any case state it&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{aligned}&lt;br /&gt;
P(y \leq 0)= (1-\pi)\\&lt;br /&gt;
P(y \leq 1)= 1\\\end{aligned}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The actual values for both, the &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; and the &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039;, will depend on the value of the &amp;#039;&amp;#039;parameter&amp;#039;&amp;#039; &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
== The Binomial random variable ==&lt;br /&gt;
&lt;br /&gt;
Let’s use a different, but related, random variable that allow us to demonstrate the difference between &amp;#039;&amp;#039;pmf&amp;#039;&amp;#039; and &amp;#039;&amp;#039;cdf&amp;#039;&amp;#039; in a more insightful way. Consider the case where &amp;lt;math&amp;gt;X=&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;the number of HEADs obtained from &amp;#039;&amp;#039; 3 &amp;#039;&amp;#039;flips of a fair coin&amp;#039;&amp;#039;. In this case, there are just four possible values of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; with &amp;lt;math&amp;gt;a_{1}=0&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a_{2}=1&amp;lt;/math&amp;gt;, &amp;lt;math&amp;gt;a_{3}=2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;a_{4}=3&amp;lt;/math&amp;gt; in the notation used above. Furthermore, due to independence, we can write that&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;p(0)=\Pr (X=0)=\Pr (&amp;lt;/math&amp;gt;T,T,T&amp;lt;math&amp;gt;)=\Pr \left( \text{T}\right) \times \Pr\left( \text{T}\right) \times \Pr \left( \text{T}\right) =(1/2)^{3}=1/8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p(1)=\Pr (X=1)=\Pr (&amp;lt;/math&amp;gt;H,T,T&amp;lt;math&amp;gt;)+\Pr (&amp;lt;/math&amp;gt;T,H,T&amp;lt;math&amp;gt;)+\Pr (&amp;lt;/math&amp;gt;T,T,H&amp;lt;math&amp;gt;)&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\,=(1/2)^{3}+(1/2)^{3}+(1/2)^{3}=1/8+1/8+1/8=3/8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p(2)=\Pr (X=2)=\Pr (&amp;lt;/math&amp;gt;H,H,T&amp;lt;math&amp;gt;)+\Pr (&amp;lt;/math&amp;gt;H,T,H&amp;lt;math&amp;gt;)+\Pr (&amp;lt;/math&amp;gt;T,H,H&amp;lt;math&amp;gt;)&amp;lt;/math&amp;gt;&amp;lt;math&amp;gt;\,=(1/2)^{3}+(1/2)^{3}+(1/2)^{3}=1/8+1/8+1/8=3/8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;p(3)=\Pr (X=3)=\Pr (&amp;lt;/math&amp;gt;H,H,H&amp;lt;math&amp;gt;)=(1/2)^{3}=1/8&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
whilst&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;math&amp;gt;P(2)=\Pr (X\leq 2)=p(0)+p(1)+p(2)=1/8+3/8+3/8=7/8&amp;lt;/math&amp;gt;&lt;br /&gt;
* &amp;lt;math&amp;gt;\Pr (X&amp;gt;1)=1-\Pr \left( X\leq 1\right) =1-\left( 1/8+3/8\right) =1/2&amp;lt;/math&amp;gt;.&lt;br /&gt;
* Note also that &amp;lt;math&amp;gt;P(2.5)=P(X\leq 2.5)&amp;lt;/math&amp;gt; must be identical to &amp;lt;math&amp;gt;P(2)=\Pr (X\leq 2)&amp;lt;/math&amp;gt; - &amp;#039;&amp;#039;think about it&amp;#039;&amp;#039;!&lt;br /&gt;
&lt;br /&gt;
In fact, this is a very simple example of a &amp;#039;&amp;#039;&amp;#039;Binomial distribution&amp;#039;&amp;#039;&amp;#039;. A binomial random variable is based on several repetitions of independent but identical Bernoulli experiments, an experiment which can result in only one of two possible outcomes (&amp;#039;&amp;#039;success&amp;#039;&amp;#039; with a probability denoted by &amp;lt;math&amp;gt;\pi &amp;lt;/math&amp;gt; (&amp;lt;math&amp;gt;0&amp;lt;\pi &amp;lt;1&amp;lt;/math&amp;gt;) and &amp;#039;&amp;#039;failure&amp;#039;&amp;#039; with probability denoted by &amp;lt;math&amp;gt;1-\pi &amp;lt;/math&amp;gt;). Therefore a binomial random variable is based on several independent Bernoulli random variables with parameter &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
A good example is opinion polls, when they as simple &amp;amp;quot;yes&amp;amp;quot; or &amp;amp;quot;no&amp;amp;quot; questions, say &amp;amp;quot;should the UK stay in the European Union?&amp;amp;quot; Individuals answer &amp;#039;&amp;#039;yes &amp;#039;&amp;#039;&amp;lt;math&amp;gt;\left( 1\right) &amp;lt;/math&amp;gt; or &amp;#039;&amp;#039;no &amp;#039;&amp;#039;&amp;lt;math&amp;gt;\left( 0\right)&amp;lt;/math&amp;gt;. A random variable, &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt;, is then said to have a &amp;#039;&amp;#039;&amp;#039;BINOMIAL&amp;#039;&amp;#039;&amp;#039; distribution (and is called a Binomial random variable) if it is defined to be the total number of successes in &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;independent and identical Bernoulli&amp;#039;&amp;#039; experiments; e.g. of the 1010 people randomly selected, how many were in favour of staying in the European Union.&lt;br /&gt;
&lt;br /&gt;
Note that the possible realisations of &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; are &amp;lt;math&amp;gt;x=0,1,2,...,n&amp;lt;/math&amp;gt;, where &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; is the number of Bernoulli experiments (&amp;lt;math&amp;gt;n=&amp;lt;/math&amp;gt; 1010 in the above opinion poll example), The Binomial &amp;#039;&amp;#039;probability mass function&amp;#039;&amp;#039; is:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;p(x)=P(X=x)=\binom{n}{x}\pi ^{x}(1-\pi )^{n-x},\quad x=0,1,2,...,n;\quad&lt;br /&gt;
0&amp;lt;\pi &amp;lt;1.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
where&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\binom{n}{x}=\frac{n!}{x!(n-x)!},&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and &amp;lt;math&amp;gt;n!&amp;lt;/math&amp;gt; denotes &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; &amp;#039;&amp;#039;factorial&amp;#039;&amp;#039;: &amp;lt;math&amp;gt;n!=n(n-1)(n-2)...2\times 1;&amp;lt;/math&amp;gt; e.g., &amp;lt;math&amp;gt;3!=6.&amp;lt;/math&amp;gt; In the above formula, we &amp;#039;&amp;#039;&amp;#039;define&amp;#039;&amp;#039;&amp;#039; &amp;lt;math&amp;gt;0!=1.&amp;lt;/math&amp;gt; Note that &amp;lt;math&amp;gt;\binom{n}{x}&amp;lt;/math&amp;gt; is called a &amp;#039;&amp;#039;combinatorial coefficient &amp;#039;&amp;#039;and always gives an integer; it simply counts the total number of different ways that we can arrange exactly &amp;lt;math&amp;gt;x&amp;lt;/math&amp;gt; “ones” and &amp;lt;math&amp;gt;\left( n-x\right) &amp;lt;/math&amp;gt; “zeros” together. For example, consider in how may different ways we can arrange (or combine) 2 “ones” and 1 “zero”. The possibilities are&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\left( 1,1,0\right) ;\left( 1,0,1\right) ;\left( 0,1,1\right)&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and that’s it. There are only three ways we can do it. Using &amp;lt;math&amp;gt;\binom{n}{x}&amp;lt;/math&amp;gt; we need to substitute &amp;lt;math&amp;gt;x=2&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;n=3,&amp;lt;/math&amp;gt; since the total number of “ones” and “zeros” is &amp;lt;math&amp;gt;3.&amp;lt;/math&amp;gt; This gives &amp;lt;math&amp;gt;\binom{3}{2}=\frac{3!}{2!1!}=3;&amp;lt;/math&amp;gt; as we discovered above.&lt;br /&gt;
&lt;br /&gt;
Consider, then, a Binomial random variable, with parameters &amp;lt;math&amp;gt;n=5&amp;lt;/math&amp;gt; and &amp;lt;math&amp;gt;\pi=0.3&amp;lt;/math&amp;gt;. The possible outcomes for the random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; are 0, 1, ..., 5 and we could calculate the probability for each of these outcomes according to the above formula. Let’s do that for one outcome, let’s calculate &amp;lt;math&amp;gt;p(2) = \Pr (X=2)&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{aligned}&lt;br /&gt;
p(2) &amp;amp;=&amp;amp;\Pr (X=2)=\binom{5}{2}\left( 0.3\right) ^{2}\left( 0.7\right) ^{3} \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{5!}{2!3!}\left( 0.09\right) \left( 0.343\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;\frac{5\times 4}{2}\left( 0.09\right) \left( 0.343\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;0.3087.\end{aligned}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
We can now also think of the cumulative distribution function, i.e. probabilities of the type &amp;lt;math&amp;gt;P(2) = \Pr (X \leq 2)&amp;lt;/math&amp;gt;:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{aligned}&lt;br /&gt;
P\left( 2\right) &amp;amp;=&amp;amp;\Pr \left( X\leq 2\right) =\Pr \left( X=0\right) +\Pr&lt;br /&gt;
\left( X=1\right) +\Pr \left( X=2\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;p\left( 0\right) +p\left( 1\right) +p\left( 2\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;\binom{5}{0}\left( 0.3\right) ^{0}\left( 0.7\right) ^{5}+\binom{5}{1}\left( 0.3\right) ^{1}\left( 0.7\right) ^{4}+\binom{5}{2}\left( 0.3\right)&lt;br /&gt;
^{2}\left( 0.7\right) ^{3} \\&lt;br /&gt;
&amp;amp;=&amp;amp;0.16807+0.36015+0.3087 \\&lt;br /&gt;
&amp;amp;=&amp;amp;0.83692.\end{aligned}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
It is apparent that the calculation of probabilities of this type, in particular the cumulative probabilities can be rather burdensome. It is therefore often useful to approximate discrete random variables with a continuous random variable. In this context the transformed random variable, &amp;lt;math&amp;gt;Z=X/n&amp;lt;/math&amp;gt;, which defines the proportion of successes, will be useful. It should be obvious that for very large &amp;lt;math&amp;gt;n&amp;lt;/math&amp;gt; this can indeed be thought of a continuous random variable. The advantage, which you will be able to appreciate after mastering Sections [[Probability&amp;lt;sub&amp;gt;C&amp;lt;/sub&amp;gt;ontRV|Continuous Random Variables]] and [[Probability&amp;lt;sub&amp;gt;N&amp;lt;/sub&amp;gt;orm|Normal Random Variables]], is that calculating these probabilities can become more straightforward.&lt;br /&gt;
&lt;br /&gt;
== Geometric Random Variable ==&lt;br /&gt;
&lt;br /&gt;
As in the Binomial case, consider repeating independent and identical Bernoulli experiments (each of which results in a success, with probability &amp;lt;math&amp;gt; \pi ,&amp;lt;/math&amp;gt; or a failure, with probability &amp;lt;math&amp;gt;1-\pi &amp;lt;/math&amp;gt;). Define the random variable &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; to be the number of Bernoulli experiments performed in order to achieve the first success. This is a &amp;#039;&amp;#039;Geometric&amp;#039;&amp;#039; random variable.&lt;br /&gt;
&lt;br /&gt;
The probability mass function is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;p\left( x\right) =\Pr \left( X=x\right) =\pi \left( 1-\pi \right)&lt;br /&gt;
^{x-1},\quad x=1,2,3,...;\quad 0&amp;lt;\pi &amp;lt;1,&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
and if a discrete random variable has such a probability mass function then we say that is a Geometric distribution with &amp;#039;&amp;#039;parameter&amp;#039;&amp;#039; &amp;lt;math&amp;gt;\pi&amp;lt;/math&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
Suppose the probability of success is &amp;lt;math&amp;gt;\pi =0.3.&amp;lt;/math&amp;gt; What is the probability that the first success is achieved on the second experiment? We require&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;p\left( 2\right) =\Pr \left( X=2\right) =\left( 0.7\right) \left( 0.3\right) =0.21.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The probability that the first success is achieved on or before the third experiment is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{aligned}&lt;br /&gt;
P\left( 3\right) &amp;amp;=&amp;amp;\Pr \left( X\leq 3\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;p\left( 1\right) +p\left( 2\right) +p\left( 3\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;\left( 0.7\right) ^{0} \left( 0.3\right) +\left(0.7\right) ^{1} \left( 0.3\right) +\left( 0.7\right) ^{2} \left( 0.3\right)  \\&lt;br /&gt;
&amp;amp;=&amp;amp; \left( 1+0.7+0.7^{2}\right)\left( 0.3\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;0.657.\end{aligned}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Poisson Random Variable ==&lt;br /&gt;
&lt;br /&gt;
The Poisson random variable is widely-used to count the number of events occurring in a given interval of time. Examples include (i) the number of cars passing an observation point, located on a long stretch of straight road, over a 10 minute interval; (ii) the number of calls received at a telephone exchange over a 10 second interval.&lt;br /&gt;
&lt;br /&gt;
The probability mass function is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;p\left( x\right) =\Pr \left( X=x\right) =\frac{\lambda ^{x}}{x!}\exp \left(&lt;br /&gt;
-\lambda \right) ,\quad x=0,1,2,...;\quad \lambda &amp;gt;0&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
in which, &amp;lt;math&amp;gt;\exp (.)&amp;lt;/math&amp;gt; is the exponential function (&amp;lt;math&amp;gt;\exp \left( a\right)=e^{a}&amp;lt;/math&amp;gt;) and &amp;lt;math&amp;gt;\lambda &amp;lt;/math&amp;gt; is a positive real number (a &amp;#039;&amp;#039;parameter&amp;#039;&amp;#039;). We say that &amp;lt;math&amp;gt;X&amp;lt;/math&amp;gt; has a Poisson distribution with parameter &amp;lt;math&amp;gt;\lambda &amp;lt;/math&amp;gt; (note that &amp;lt;math&amp;gt;\lambda&amp;lt;/math&amp;gt; will often be referred to as the &amp;#039;&amp;#039;mean&amp;#039;&amp;#039; which will be discussed in a later Section).&lt;br /&gt;
&lt;br /&gt;
Suppose that the number of calls, &amp;lt;math&amp;gt;X,&amp;lt;/math&amp;gt; arriving at a telephone exchange in any 10 second interval follows a Poisson distribution with &amp;lt;math&amp;gt;\lambda =5&amp;lt;/math&amp;gt;. What is &amp;lt;math&amp;gt;\Pr \left( X=2\right)&amp;lt;/math&amp;gt;?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{aligned}&lt;br /&gt;
p\left( 2\right) &amp;amp;=&amp;amp;\Pr \left( X=2\right) =\frac{5^{2}}{2!}\exp \left(&lt;br /&gt;
-5\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;0.0842.\end{aligned}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
The probability of more than &amp;lt;math&amp;gt;2&amp;lt;/math&amp;gt; calls is&lt;br /&gt;
&lt;br /&gt;
&amp;lt;math&amp;gt;\begin{aligned}&lt;br /&gt;
\Pr \left( X&amp;gt;2\right) &amp;amp;=&amp;amp;1-\Pr \left( X\leq 2\right) \\&lt;br /&gt;
&amp;amp;=&amp;amp;1-\left\{ \Pr \left( X=0\right) +\Pr \left( X=1\right) +\Pr \left(&lt;br /&gt;
X=2\right) \right\} \\&lt;br /&gt;
&amp;amp;=&amp;amp;1-\left\{ e^{-5}+5\times e^{-5}+12.5\times e^{-5}\right\} \\&lt;br /&gt;
&amp;amp;=&amp;amp;1-0.1247 \\&lt;br /&gt;
&amp;amp;=&amp;amp;0.8753.\end{aligned}&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Footnotes =&lt;/div&gt;</summary>
		<author><name>Rb</name></author>	</entry>

	</feed>