<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Computer vision for dummies &#187; parameter estimation</title>
	<atom:link href="https://www.visiondummy.com/tag/parameter-estimation/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.visiondummy.com</link>
	<description>A blog about intelligent algorithms, machine learning, computer vision, datamining and more.</description>
	<lastBuildDate>Tue, 04 May 2021 14:17:31 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=3.8.39</generator>
	<item>
		<title>Why divide the sample variance by N-1?</title>
		<link>https://www.visiondummy.com/2014/03/divide-variance-n-1/</link>
		<comments>https://www.visiondummy.com/2014/03/divide-variance-n-1/#comments</comments>
		<pubDate>Fri, 07 Mar 2014 15:29:22 +0000</pubDate>
		<dc:creator><![CDATA[Vincent Spruyt]]></dc:creator>
				<category><![CDATA[Statistics]]></category>
		<category><![CDATA[Gaussian distribution]]></category>
		<category><![CDATA[maximum likelihood]]></category>
		<category><![CDATA[normal distribution]]></category>
		<category><![CDATA[parameter estimation]]></category>
		<category><![CDATA[Variance]]></category>

		<guid isPermaLink="false">http://www.visiondummy.com/?p=196</guid>
		<description><![CDATA[<p>In this article, we will derive the well known formulas for calculating the mean and the variance of normally distributed data, in order to answer the question in the article&#8217;s title. However, for readers who are not interested in the &#8216;why&#8217; of this question but only in the &#8216;when&#8217;, the answer is quite simple: If [...]</p>
<p>The post <a rel="nofollow" href="https://www.visiondummy.com/2014/03/divide-variance-n-1/">Why divide the sample variance by N-1?</a> appeared first on <a rel="nofollow" href="https://www.visiondummy.com">Computer vision for dummies</a>.</p>
]]></description>
				<content:encoded><![CDATA[<h2>Introduction</h2>
<blockquote><p>In this article, we will derive the well known formulas for calculating the mean and the variance of normally distributed data, in order to answer the question in the article&#8217;s title. However, for readers who are not interested in the &#8216;why&#8217; of this question but only in the &#8216;when&#8217;, the answer is quite simple: </p>
<p>If you have to estimate both the mean and the variance of the data (which is typically the case), then divide by N-1, such that the variance is obtained as:</p>
<p class="ql-center-displayed-equation" style="line-height: 64px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b71ee358cbe3bce7178102acf00312ed_l3.png" height="64" width="225" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#45;&#49;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>If, on the other hand, the mean of the true population is known such that only the variance needs to be estimated, then divide by N, such that the variance is obtained as:</p>
<p class="ql-center-displayed-equation" style="line-height: 64px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e452d9b764db8e7082601fe586c341f9_l3.png" height="64" width="189" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Whereas the former is what you will typically need, an example of the latter would be the estimation of the spread of white Gaussian noise. Since the mean of white Gaussian noise is known to be zero, only the variance needs to be estimated in this case.
</p></blockquote>
<p>If data is normally distributed we can completely characterize it by its mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> and its variance <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/>. The variance is the square of the standard deviation <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-85530ce651284e1df6c244bc68a7517b_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;" title="Rendered by QuickLaTeX.com" height="9" width="12" style="vertical-align: 0px;"/> which represents the average deviation of each data point to the mean. In other words, the variance represents the spread of the data. For normally distributed data, 68.3% of the observations will have a value between <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b09a1874966ca228371143d8d400483a_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#45;&#92;&#115;&#105;&#103;&#109;&#97;" title="Rendered by QuickLaTeX.com" height="13" width="50" style="vertical-align: -4px;"/> and <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-10c65b44b34fbef99f2a050d2b2b76ce_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#43;&#92;&#115;&#105;&#103;&#109;&#97;" title="Rendered by QuickLaTeX.com" height="17" width="50" style="vertical-align: -4px;"/>. This is illustrated by the following figure which shows a Gaussian density function with mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e4c470125e4a0216335bcfd31e9d8598_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#61;&#49;&#48;" title="Rendered by QuickLaTeX.com" height="19" width="62" style="vertical-align: -4px;"/> and variance <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-6036fa400d9226296f3e40bcd9df9ce4_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#51;&#94;&#50;&#32;&#61;&#32;&#57;" title="Rendered by QuickLaTeX.com" height="19" width="108" style="vertical-align: 0px;"/>:</p>
<div id="attachment_213" style="width: 524px" class="wp-caption aligncenter"><a href="http://www.visiondummy.com/wp-content/uploads/2014/03/gaussiandensity.png" target="_blank"><img class="size-full wp-image-213 " style="border: 0px; margin-top: 0px; margin-bottom: 0px;" title="Normal distribution" alt="Gaussian density" src="http://www.visiondummy.com/wp-content/uploads/2014/03/gaussiandensity.png" width="514" height="396" /></a><p class="wp-caption-text"><b>Figure 1.</b> Gaussian density function. For normally distributed data, 68% of the samples fall within the interval defined by the mean plus and minus the standard deviation.</p></div>
<p>Usually we do not have access to the complete population of the data. In the above example, we would typically have a few observations at our disposal but we do not have access to all possible observations that define the x-axis of the plot. For example, we might have the following set of observations:</p>
<table>
<caption>Table 1</caption>
<thead>
<tr>
<th>Observation ID</th>
<th>Observed Value</th>
</tr>
</thead>
<tbody>
<tr>
<td>Observation 1</td>
<td>10</td>
</tr>
<tr>
<td>Observation 2</td>
<td>12</td>
</tr>
<tr>
<td>Observation 3</td>
<td>7</td>
</tr>
<tr>
<td>Observation 4</td>
<td>5</td>
</tr>
<tr>
<td>Observation 5</td>
<td>11</td>
</tr>
</tbody>
</table>
<p>If we now calculate the empirical mean by summing up all values and dividing by the number of observations, we have:</p>
<p class="ql-center-displayed-equation" style="line-height: 44px;"><span class="ql-right-eqno"> (1) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-93cdaf0af7092ce66c87d8d86d6889a0_l3.png" height="44" width="276" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#109;&#117;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#48;&#43;&#49;&#50;&#43;&#55;&#43;&#53;&#43;&#49;&#49;&#125;&#123;&#53;&#125;&#32;&#61;&#32;&#57;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Usually we assume that the empirical mean is close to the actually unknown mean of the distribution, and thus assume that the observed data is sampled from a Gaussian distribution with mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c91ef41194f6d2b026becce4b6129330_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#61;&#57;" title="Rendered by QuickLaTeX.com" height="19" width="51" style="vertical-align: -4px;"/>. In this example, the actual mean of the distribution is 10, so the empirical mean indeed is close to the actual mean.</p>
<p>The variance of the data is calculated as follows:<br />
<a name="id2864676703"></a>
<p class="ql-center-displayed-equation" style="line-height: 64px;"><span class="ql-right-eqno"> (2) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-6cb8ee3cecf7a9bfc0108deb88674d63_l3.png" height="64" width="815" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#45;&#49;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#40;&#49;&#48;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#49;&#50;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#55;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#53;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#49;&#49;&#45;&#57;&#41;&#94;&#50;&#125;&#123;&#52;&#125;&#41;&#32;&#61;&#32;&#56;&#46;&#53;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Again, we usually assume that this empirical variance is close to the real and unknown variance of underlying distribution. In this example, the real variance was 9, so indeed the empirical variance is close to the real variance.</p>
<p>The question at hand is now why the formulas used to calculate the empirical mean and the empirical variance are correct. In fact, another often used formula to calculate the variance, is defined as follows:<br />
<a name="id2627899374"></a>
<p class="ql-center-displayed-equation" style="line-height: 64px;"><span class="ql-right-eqno"> (3) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-f3be72f6a3797e962c5c4fe30064ec63_l3.png" height="64" width="779" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#40;&#49;&#48;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#49;&#50;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#55;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#53;&#45;&#57;&#41;&#94;&#50;&#43;&#40;&#49;&#49;&#45;&#57;&#41;&#94;&#50;&#125;&#123;&#53;&#125;&#41;&#32;&#61;&#32;&#54;&#46;&#56;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>The only difference between equation (<a href="#id2864676703">2</a>) and (<a href="#id2627899374">3</a>) is that the former divides by N-1, whereas the latter divides by N. Both formulas are actually correct, but when to use which one depends on the situation.</p>
<p>In the following sections, we will completely derive the formulas that best approximate the unknown variance and mean of a normal distribution, given a few samples from this distribution. We will show in which cases to divide the variance by N and in which cases to normalize by N-1.</p>
<p>A formula that approximates a parameter (mean or variance) is called an estimator. In the following, we will denote the real and unknown parameters of the distribution by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c512e7f37dd7722dae70ad8ce0b65b1a_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="13" style="vertical-align: -4px;"/> and <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-316084d39bdf36196d84853facf1192d_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/>. The estimators, e.g. the empirical average and empirical variance, are denoted as <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> and <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/>.</p>
<p>To find the optimal estimators, we first need an analytical expression for the likelihood of observing a specific data point <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-53efd0fb9b7cb01074ee7ba13b237495_l3.png" class="ql-img-inline-formula " alt="&#120;&#95;&#105;" title="Rendered by QuickLaTeX.com" height="12" width="17" style="vertical-align: -3px;"/>, given the fact that the population is normally distributed with a given mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> and standard deviation <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-85530ce651284e1df6c244bc68a7517b_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;" title="Rendered by QuickLaTeX.com" height="9" width="12" style="vertical-align: 0px;"/>. A normal distribution with known parameters is usually denoted as <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-8e5ac4519df4be65c5db9dd39bab68e3_l3.png" class="ql-img-inline-formula " alt="&#78;&#40;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;" title="Rendered by QuickLaTeX.com" height="25" width="78" style="vertical-align: -6px;"/>. The likelihood function is then:<br />
<a name="id2562325792"></a>
<p class="ql-center-displayed-equation" style="line-height: 84px;"><span class="ql-right-eqno"> (4) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-13e197e9e845578df19aa3cbb88b37e6_l3.png" height="84" width="339" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#38;&#120;&#95;&#105;&#32;&#92;&#115;&#105;&#109;&#32;&#78;&#40;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#32;&#92;&#92; &#38;&#92;&#82;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#80;&#40;&#120;&#95;&#105;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#41;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#50;&#32;&#92;&#112;&#105;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#125;&#32;&#101;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#125;&#46; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>To calculate the mean and variance, we obviously need more than one sample from this distribution. In the following, let vector <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c88d070c0ab87fae3f8da66bf22870dc_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#61;&#40;&#120;&#95;&#49;&#44;&#32;&#120;&#95;&#50;&#44;&#46;&#46;&#46;&#32;&#120;&#95;&#78;&#41;" title="Rendered by QuickLaTeX.com" height="23" width="162" style="vertical-align: -6px;"/> be a vector that contains all the available samples (e.g. all the values from the example in table 1). If all these samples are statistically independent, we can write their joint likelihood function as the sum of all individual likelihoods:<br />
<a name="id537882371"></a>
<p class="ql-center-displayed-equation" style="line-height: 64px;"><span class="ql-right-eqno"> (5) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-7d39352b3945c4ce0751f8b0cc6f0307_l3.png" height="64" width="864" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#32;&#61;&#32;&#80;&#40;&#120;&#95;&#49;&#44;&#32;&#120;&#95;&#50;&#44;&#32;&#46;&#46;&#46;&#44;&#32;&#120;&#95;&#78;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#32;&#61;&#32;&#80;&#40;&#120;&#95;&#49;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#80;&#40;&#120;&#95;&#50;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#46;&#46;&#46;&#80;&#40;&#120;&#95;&#78;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#32;&#61;&#32;&#92;&#112;&#114;&#111;&#100;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#80;&#40;&#120;&#95;&#105;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Plugging equation (<a href="#id2562325792">4</a>) into equation (<a href="#id537882371">5</a>) then yields an analytical expression for this joint probability density function:<br />
<a name="id1068849321"></a>
<p class="ql-center-displayed-equation" style="line-height: 127px;"><span class="ql-right-eqno"> (6) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-926af367d877ca0e8a57cd4df8137ad0_l3.png" height="127" width="363" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#32;&#38;&#61;&#32;&#92;&#112;&#114;&#111;&#100;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#50;&#32;&#92;&#112;&#105;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#125;&#32;&#101;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#125;&#92;&#92; &#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#40;&#50;&#32;&#92;&#112;&#105;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#94;&#123;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#125;&#125;&#32;&#101;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#125; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Equation (<a href="#id1068849321">6</a>) will be important in the next sections and will be used to derive the well known expressions for the estimators of the mean and the variance of a Gaussian distribution.</p>
<h2>Minimum variance, unbiased estimators</h2>
<p>To determine if an estimator is a &#8216;good&#8217; estimator, we first need to define what a &#8216;good&#8217; estimator really is. The goodness of an estimator depends on two measures, namely its bias and its variance (yes, we will talk about the variance of the mean-estimator and the variance of the variance-estimator). Both measures are briefly discussed in this section.</p>
<h3>Parameter bias</h3>
<p>Imagine that we could obtain different (disjoint) subsets of the complete population. In analogy to our previous example, imagine that, apart from the data in Table 1, we also have a Table 2 and a Table 3 with different observations. Then a good estimator for the mean, would be an estimator that on average would be equal to the real mean. Although we can live with the idea that the empirical mean from one subset of data is not equal to the real mean like in our example, a good estimator should make sure that the average of the estimated means from all subsets is equal to the real mean. This constraint is expressed mathematically by stating that the Expected Value of the estimator should equal the real parameter value:<br />
<a name="id2404251598"></a>
<p class="ql-center-displayed-equation" style="line-height: 59px;"><span class="ql-right-eqno"> (7) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b680d42fd3ce7fee8c4f6517ddd92817_l3.png" height="59" width="99" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;&#32; &#38;&#69;&#091;&#92;&#109;&#117;&#093;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;&#92;&#92; &#38;&#69;&#091;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#093;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>If the above conditions hold, then the estimators are called &#8216;unbiased estimators&#8217;. If the conditions do not hold, the estimators are said to be &#8216;biased&#8217;, since on average they will either underestimate or overestimate the true value of the parameter.</p>
<h3>Parameter variance</h3>
<p>Unbiased estimators guarantee that on average they yield an estimate that equals the real parameter. However, this does not mean that each estimate is a good estimate. For instance, if the real mean is 10, an unbiased estimator could estimate the mean as 50 on one population subset and as -30 on another subset. The expected value of the estimate would then indeed be 10, which equals the real parameter, but the quality of the estimator clearly also depends on the spread of each estimate. An estimator that yields the estimates (10, 15, 5, 12, 8) for five different subsets of the population is unbiased just like an estimator that yields the estimates (50, -30, 100, -90, 10). However, all estimates from the first estimator are closer to the true value than those from the second estimator.</p>
<p>Therefore, a good estimator not only has a low bias, but also yields a low variance. This variance is expressed as the mean squared error of the estimator:</p>
<p class="ql-center-displayed-equation" style="line-height: 60px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-6b784d7989b829ef1bc2a7fc555316b1_l3.png" height="60" width="207" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#38;&#86;&#97;&#114;&#40;&#92;&#109;&#117;&#41;&#32;&#61;&#32;&#69;&#091;&#40;&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#093;&#92;&#92; &#38;&#86;&#97;&#114;&#40;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#32;&#61;&#32;&#69;&#091;&#40;&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;&#32;&#45;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#41;&#94;&#50;&#093; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>A good estimator is therefore is a low bias, low variance estimator. The optimal estimator, if such estimator exists, is then the one that has no bias and a variance that is lower than any other possible estimator. Such an estimator is called the minimum variance, unbiased (MVU) estimator. In the next section, we will derive the analytical expressions for the mean and the variance estimators of a Gaussian distribution. We will show that the MVU estimator for the variance of a normal distribution requires us to divide the variance by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9c99ad944abf4b8313cf07a473add4bf_l3.png" class="ql-img-inline-formula " alt="&#78;" title="Rendered by QuickLaTeX.com" height="14" width="19" style="vertical-align: 0px;"/> under certain assumptions, and requires us to divide by N-1 if these assumptions do not hold.</p>
<h2>Maximum Likelihood estimation</h2>
<p>Although numerous techniques can be used to obtain an estimator of the parameters based on a subset of the population data, the simplest of all is probably the <a href="https://en.wikipedia.org/wiki/Maximum_likelihood" title="Maximum Likelihood parameter estimation" target="_blank">maximum likelihood</a> approach.</p>
<p>The probability of observing <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-3259770f914fdba71119b990d1e392b1_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;" title="Rendered by QuickLaTeX.com" height="15" width="14" style="vertical-align: 0px;"/> was defined by equation (<a href="#id1068849321">6</a>) as <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-f5d934e4d19f4e74dff71f3bffcd6d13_l3.png" class="ql-img-inline-formula " alt="&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;" title="Rendered by QuickLaTeX.com" height="25" width="97" style="vertical-align: -6px;"/>. If we fix <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> and <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/> in this function, while letting <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-3259770f914fdba71119b990d1e392b1_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;" title="Rendered by QuickLaTeX.com" height="15" width="14" style="vertical-align: 0px;"/> vary, we obtain the Gaussian distribution as plotted by figure 1. However, we could also choose a fixed <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-3259770f914fdba71119b990d1e392b1_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;" title="Rendered by QuickLaTeX.com" height="15" width="14" style="vertical-align: 0px;"/> and let <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> and/or <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-85530ce651284e1df6c244bc68a7517b_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;" title="Rendered by QuickLaTeX.com" height="9" width="12" style="vertical-align: 0px;"/> vary. For example, we can choose <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-4d5c8f390529667b71cd7c46cdd6c277_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#61;&#40;&#49;&#48;&#44;&#32;&#49;&#50;&#44;&#32;&#55;&#44;&#32;&#53;&#44;&#32;&#49;&#49;&#41;" title="Rendered by QuickLaTeX.com" height="23" width="178" style="vertical-align: -6px;"/> like in our previous example. We also choose a fixed <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e4c470125e4a0216335bcfd31e9d8598_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#61;&#49;&#48;" title="Rendered by QuickLaTeX.com" height="19" width="62" style="vertical-align: -4px;"/>, and we let <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/> vary. Figure 2 shows the plot of each different value of <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/> for the distribution with the proposed fixed <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-3259770f914fdba71119b990d1e392b1_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;" title="Rendered by QuickLaTeX.com" height="15" width="14" style="vertical-align: 0px;"/> and <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/>:</p>
<div id="attachment_228" style="width: 531px" class="wp-caption aligncenter"><a href="http://www.visiondummy.com/wp-content/uploads/2014/03/likelihood.png" target="_blank"><img class="size-full wp-image-228 " style="border: 0px; margin-top: 0px; margin-bottom: 0px;" title="Maximum likelihood parameter estimation" alt="Maximum likelihood parameter estimation" src="http://www.visiondummy.com/wp-content/uploads/2014/03/likelihood.png" width="521" height="353" /></a><p class="wp-caption-text"><b>Figure 2.</b> This plot shows the likelihood of observing fixed data <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-3259770f914fdba71119b990d1e392b1_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;" title="Rendered by QuickLaTeX.com" height="15" width="14" style="vertical-align: 0px;"/> if the data is normally distributed with a chosen, fixed <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e4c470125e4a0216335bcfd31e9d8598_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#61;&#49;&#48;" title="Rendered by QuickLaTeX.com" height="19" width="62" style="vertical-align: -4px;"/>, plotted against various values of a varying <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/>.</p></div>
<p>In the above figure, we calculated the likelihood <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-39a57241f312b4d4adabcb4dc16ab89c_l3.png" class="ql-img-inline-formula " alt="&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;" title="Rendered by QuickLaTeX.com" height="25" width="75" style="vertical-align: -6px;"/> by varying <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/> for a fixed <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e4c470125e4a0216335bcfd31e9d8598_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#61;&#49;&#48;" title="Rendered by QuickLaTeX.com" height="19" width="62" style="vertical-align: -4px;"/>. Each point in the resulting curve represents the likelihood that observation <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-3259770f914fdba71119b990d1e392b1_l3.png" class="ql-img-inline-formula " alt="&#92;&#118;&#101;&#99;&#123;&#120;&#125;" title="Rendered by QuickLaTeX.com" height="15" width="14" style="vertical-align: 0px;"/> is a sample from a Gaussian distribution with parameter <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/>. The parameter value that corresponds to the highest likelihood is then most likely the parameter that defines the distribution our data originated from. Therefore, we can determine the optimal <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/> by finding the maximum in this likelihood curve. In this example, the maximum is at <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-725c8c5efec0f736e6fa0bae31824e68_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#55;&#46;&#56;" title="Rendered by QuickLaTeX.com" height="19" width="77" style="vertical-align: 0px;"/>, such that the standard deviation is <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-70a131e580457c1bdd39e2ab70ce7458_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#113;&#114;&#116;&#123;&#40;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#125;&#32;&#61;&#32;&#50;&#46;&#56;" title="Rendered by QuickLaTeX.com" height="26" width="112" style="vertical-align: -7px;"/>. Indeed if we would calculate the variance in the traditional way, with a given <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e4c470125e4a0216335bcfd31e9d8598_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;&#61;&#49;&#48;" title="Rendered by QuickLaTeX.com" height="19" width="62" style="vertical-align: -4px;"/>, we would find that it is equal to 7.8:</p>
<p class="ql-center-displayed-equation" style="line-height: 80px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-fb4310439ded385ec585952507bea854_l3.png" height="80" width="649" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#102;&#114;&#97;&#99;&#123;&#40;&#49;&#48;&#45;&#49;&#48;&#41;&#94;&#50;&#43;&#40;&#49;&#50;&#45;&#49;&#48;&#41;&#94;&#50;&#43;&#40;&#55;&#45;&#49;&#48;&#41;&#94;&#50;&#43;&#40;&#53;&#45;&#49;&#48;&#41;&#94;&#50;&#43;&#40;&#49;&#49;&#45;&#49;&#48;&#41;&#94;&#50;&#125;&#123;&#53;&#125;&#32;&#61;&#32;&#55;&#46;&#56;&#36;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Therefore, the formula to compute the variance based on the sample data is simply derived by finding the peak of the maximum likelihood function. Furthermore, instead of fixing <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/>, we let both <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> and <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/> vary at the same time. Finding both estimators then corresponds to finding the maximum in a two-dimensional likelihood function. </p>
<p>To find the maximum of a function, we simply set its derivative to zero. If we want to find the maximum of a function with two variables, we calculate the partial derivative towards each of these variables and set both to zero. In the following, let <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-575a50c6f57029bea2006e25a69252f6_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;&#95;&#123;&#77;&#76;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="41" style="vertical-align: -4px;"/> be the optimal estimator for the population mean as obtained using the maximum likelihood method, and let <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-eb6463768d479743a8d3430d9be8466b_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;&#94;&#50;&#95;&#123;&#77;&#76;&#125;" title="Rendered by QuickLaTeX.com" height="25" width="40" style="vertical-align: -6px;"/> be the optimal estimator for the variance. To maximize the likelihood function we simply calculate its (partial) derivatives and set them to zero as follows:</p>
<p class="ql-center-displayed-equation" style="line-height: 96px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-a0a3d0627d97ef7f1cf8564a07bd5687_l3.png" height="96" width="243" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#38;&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;&#95;&#123;&#77;&#76;&#125;&#32;&#61;&#32;&#92;&#97;&#114;&#103;&#92;&#109;&#97;&#120;&#95;&#92;&#109;&#117;&#32;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#92;&#92; &#38;&#92;&#82;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#109;&#117;&#125;&#32;&#61;&#32;&#48; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>and</p>
<p class="ql-center-displayed-equation" style="line-height: 92px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-fe4239309f85fd70e651745698862cce_l3.png" height="92" width="243" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#38;&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;&#94;&#50;&#95;&#123;&#77;&#76;&#125;&#32;&#61;&#32;&#92;&#97;&#114;&#103;&#92;&#109;&#97;&#120;&#95;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#32;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#92;&#92; &#38;&#92;&#82;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#109;&#117;&#44;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#32;&#61;&#32;&#48; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>In the following paragraphs we will use this technique to obtain the MVU estimators of both <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c512e7f37dd7722dae70ad8ce0b65b1a_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="13" style="vertical-align: -4px;"/> and <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-45a34e3f79eaef56839787842616c14f_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;" title="Rendered by QuickLaTeX.com" height="16" width="12" style="vertical-align: 0px;"/>. We consider two cases: </p>
<p>The first case assumes that the true mean of the distribution <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c512e7f37dd7722dae70ad8ce0b65b1a_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="13" style="vertical-align: -4px;"/> is known. Therefore, we only need to estimate the variance and the problem then corresponds to finding the maximum in a one-dimensional likelihood function, parameterized by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/>. Although this situation does not occur often in practice, it definitely has practical applications. For instance, if we know that a signal (e.g. the color value of a pixel in an image) should have a specific value, but the signal has been polluted by white noise (Gaussian noise with zero mean), then the mean of the distribution is known and we only need to estimate the variance.</p>
<p>The second case deals with the situation where both the true mean and the true variance are unknown. This is the case you would encounter most and where you would obtain an estimate of the mean and the variance based on your sample data.</p>
<p>In the next paragraphs we will show that each case results in a different MVU estimator. More specific, the first case requires the variance estimator to be normalized by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9c99ad944abf4b8313cf07a473add4bf_l3.png" class="ql-img-inline-formula " alt="&#78;" title="Rendered by QuickLaTeX.com" height="14" width="19" style="vertical-align: 0px;"/> to be MVU, whereas the second case requires division by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-925c7ae0f336743293a05a9648ad49fc_l3.png" class="ql-img-inline-formula " alt="&#78;&#45;&#49;" title="Rendered by QuickLaTeX.com" height="16" width="54" style="vertical-align: -1px;"/> to be MVU.</p>
<h2>Estimating the variance if the mean is known</h2>
<p></p>
<h3>Parameter estimation</h3>
<p>If the true mean of the distribution is known, then the likelihood function is only parameterized on <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6b04db92b43df79158c3b4da55bd6b8_l3.png" class="ql-img-inline-formula " alt="&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="21" style="vertical-align: 0px;"/>. Obtaining the maximum likelihood estimator then corresponds to solving:</p>
<p class="ql-center-displayed-equation" style="line-height: 35px;"><span class="ql-right-eqno"> (8) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-78b3e9d80a838323cd91bd22166b3ab6_l3.png" height="35" width="221" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#38;&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;&#94;&#50;&#95;&#123;&#77;&#76;&#125;&#32;&#61;&#32;&#92;&#97;&#114;&#103;&#92;&#109;&#97;&#120;&#95;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#32;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>However, calculating the derivative of <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b4908c0f2e737f9d0987be626cb7f67f_l3.png" class="ql-img-inline-formula " alt="&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;" title="Rendered by QuickLaTeX.com" height="25" width="75" style="vertical-align: -6px;"/>, defined by equation (<a href="#id1068849321">6</a>) is rather involved due to the exponent in the function. In fact, it is much easier to maximize the log-likelihood function instead of the likelihood function itself. Since the logarithm is a monotonous function, the maximum will be the same. Therefore, we solve the following problem instead:</p>
<p class="ql-center-displayed-equation" style="line-height: 35px;"><span class="ql-right-eqno"> (9) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e898d4c88f94f227f301e99598e5d986_l3.png" height="35" width="269" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#38;&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;&#94;&#50;&#95;&#123;&#77;&#76;&#125;&#32;&#61;&#32;&#92;&#97;&#114;&#103;&#92;&#109;&#97;&#120;&#95;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#92;&#108;&#111;&#103;&#40;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#41;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>In the following we set <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-cfbf6bbef9c845f09e0ce729cdcdeb18_l3.png" class="ql-img-inline-formula " alt="&#115;&#61;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="19" width="58" style="vertical-align: 0px;"/> to obtain a simpler notation. To find the maximum of the log-likelihood function, we simply calculate the derivative of the logarithm of equation (<a href="#id1068849321">6</a>) and set it to zero:</p>
<p class="ql-center-displayed-equation" style="line-height: 611px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-6cf0750b6e14f2ef6731cc917a7f276b_l3.png" height="611" width="672" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#38;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#108;&#111;&#103;&#40;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#41;&#41;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#125;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#108;&#111;&#103;&#40;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#115;&#41;&#41;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#40;&#50;&#32;&#92;&#112;&#105;&#32;&#115;&#41;&#94;&#123;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#125;&#125;&#32;&#101;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#40;&#50;&#32;&#92;&#112;&#105;&#41;&#94;&#123;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#125;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#43;&#32;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#92;&#115;&#113;&#114;&#116;&#123;&#40;&#115;&#125;&#41;&#94;&#123;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#125;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#101;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#40;&#115;&#41;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#115;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#115;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#115;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#115;&#125;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#115;&#94;&#50;&#125;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#115;&#94;&#50;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#32;&#40;&#45;&#115;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#115;&#94;&#50;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#32;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#45;&#32;&#115;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>It is clear that if <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-747f3ccef9adc6ce37a6b5d5c73649a0_l3.png" class="ql-img-inline-formula " alt="&#78;&#32;&#62;&#32;&#48;" title="Rendered by QuickLaTeX.com" height="15" width="57" style="vertical-align: 0px;"/>, then the only possible solution to the above is:<br />
<a name="id2920392421"></a>
<p class="ql-center-displayed-equation" style="line-height: 64px;"><span class="ql-right-eqno"> (10) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-a77825eff4d2c1f67deb1819b63a3a3d_l3.png" height="64" width="232" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#115;&#32;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Note that this maximum likelihood estimator for <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-45a34e3f79eaef56839787842616c14f_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#115;&#105;&#103;&#109;&#97;&#125;" title="Rendered by QuickLaTeX.com" height="16" width="12" style="vertical-align: 0px;"/> is indeed the traditional formula to calculate the variance of normal data. The normalization factor is <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9cdb7c0cf3359e82c3e2195879f2968f_l3.png" class="ql-img-inline-formula " alt="&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;" title="Rendered by QuickLaTeX.com" height="26" width="15" style="vertical-align: -7px;"/>.</p>
<p>However, the maximum likelihood method does not guarantee to deliver an unbiased estimator. On the other hand, if the obtained estimator is unbiased, then the maximum likelihood method does guarantee that the estimator is also minimum variance and thus MVU. Therefore, we need to check if the estimator in equation (<a href="#id2920392421">10</a>) is unbiassed.</p>
<h3>Performance evaluation</h3>
<p>To check if the estimator defined by equation (<a href="#id2920392421">10</a>) is unbiassed, we need to check if the condition of equation (<a href="#id2404251598">7</a>) holds, and thus if</p>
<p class="ql-center-displayed-equation" style="line-height: 22px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-3547d7388448bd150487e33b1eebbb0f_l3.png" height="22" width="81" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#69;&#091;&#115;&#093;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>To do this, we plug equation (<a href="#id2920392421">10</a>) into <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-49fa7edb2e51079b7417a5df1bbc970b_l3.png" class="ql-img-inline-formula " alt="&#69;&#091;&#115;&#093;" title="Rendered by QuickLaTeX.com" height="22" width="37" style="vertical-align: -6px;"/> and write:</p>
<p class="ql-center-displayed-equation" style="line-height: 215px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-8d2b98eefa222881e6ec5bef1a6e3c1d_l3.png" height="215" width="721" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#69;&#091;&#115;&#093;&#32;&#38;&#61;&#32;&#69;&#32;&#92;&#108;&#101;&#102;&#116;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#69;&#32;&#92;&#108;&#101;&#102;&#116;&#091;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#69;&#32;&#92;&#108;&#101;&#102;&#116;&#091;&#120;&#95;&#105;&#94;&#50;&#32;&#45;&#32;&#50;&#120;&#95;&#105;&#32;&#92;&#109;&#117;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#92;&#92; &#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#45;&#50;&#78;&#32;&#92;&#109;&#117;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#32;&#43;&#32;&#78;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#92; &#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#45;&#50;&#78;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#43;&#32;&#78;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#92; &#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#45;&#78;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#92; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Furthermore, an <a href="https://en.wikipedia.org/wiki/Variance#Definition" title="Properties of sample variance" target="_blank">important property of variance</a> is that the true variance <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c61bd503e2bb58e96a8df31c019ea7ed_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#115;&#125;" title="Rendered by QuickLaTeX.com" height="16" width="9" style="vertical-align: 0px;"/> can be written as <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-dbae4a612899d98fdb2355700d1b1f61_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#61;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#45;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="25" width="167" style="vertical-align: -6px;"/> such that <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-f94e61718bf0e12e23886e6681706987_l3.png" class="ql-img-inline-formula " alt="&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#43;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#94;&#50;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="25" width="254" style="vertical-align: -6px;"/>. Using this property in the above equation yields:</p>
<p class="ql-center-displayed-equation" style="line-height: 170px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e2fb81365c1bace2e3d216b7ee597c72_l3.png" height="170" width="273" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#69;&#091;&#115;&#093;&#32;&#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#45;&#78;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#92;&#92; &#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#78;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#43;&#32;&#78;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#78;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#92;&#92; &#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#78;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#92;&#92; &#38;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Since <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-32b0df96556d73f37dc5d54ace10d443_l3.png" class="ql-img-inline-formula " alt="&#69;&#091;&#115;&#093;&#61;&#92;&#104;&#97;&#116;&#123;&#115;&#125;" title="Rendered by QuickLaTeX.com" height="22" width="76" style="vertical-align: -6px;"/>, the condition shown by equation (<a href="#id2404251598">7</a>) holds, and therefore the obtained estimator for the variance <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c61bd503e2bb58e96a8df31c019ea7ed_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#115;&#125;" title="Rendered by QuickLaTeX.com" height="16" width="9" style="vertical-align: 0px;"/> of the data is unbiassed. Furthermore, because the maximum likelihood method guarantees that an unbiased estimator is also minimum variance (MVU), this means that no other estimator exists that can do better than the one obtained here.<br />
Therefore, we have to divide by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9c99ad944abf4b8313cf07a473add4bf_l3.png" class="ql-img-inline-formula " alt="&#78;" title="Rendered by QuickLaTeX.com" height="14" width="19" style="vertical-align: 0px;"/> instead of <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-925c7ae0f336743293a05a9648ad49fc_l3.png" class="ql-img-inline-formula " alt="&#78;&#45;&#49;" title="Rendered by QuickLaTeX.com" height="16" width="54" style="vertical-align: -1px;"/> while calculating the variance of normally distributed data, if the true mean of the underlying distribution is known.</p>
<h2>Estimating the variance if the mean is unknown</h2>
<p></p>
<h3>Parameter estimation</h3>
<p>In the previous section, the true mean of the distribution was known, such that we only had to find an estimator for the variance of the data. However, if the true mean is not known, then an estimator has to be found for the mean too. Furthermore, this mean estimate is used by the variance estimator. As a result, we will show that the earlier obtained estimator for the variance is no longer unbiassed. Furthermore, we will show that we can &#8216;unbias&#8217; the estimator in this case by dividing by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-925c7ae0f336743293a05a9648ad49fc_l3.png" class="ql-img-inline-formula " alt="&#78;&#45;&#49;" title="Rendered by QuickLaTeX.com" height="16" width="54" style="vertical-align: -1px;"/> instead of by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9c99ad944abf4b8313cf07a473add4bf_l3.png" class="ql-img-inline-formula " alt="&#78;" title="Rendered by QuickLaTeX.com" height="14" width="19" style="vertical-align: 0px;"/>, which slightly increases the variance of the estimator.</p>
<p>As before, we use the maximum likelihood method to obtain the estimators based on the log-likelihood function. We first find the ML estimator for <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c512e7f37dd7722dae70ad8ce0b65b1a_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="13" style="vertical-align: -4px;"/>:</p>
<p class="ql-center-displayed-equation" style="line-height: 561px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-737f44b072ebb31f8b668d05126fcc85_l3.png" height="561" width="488" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#38;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#108;&#111;&#103;&#40;&#80;&#40;&#92;&#118;&#101;&#99;&#123;&#120;&#125;&#59;&#32;&#115;&#44;&#32;&#92;&#109;&#117;&#41;&#41;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#109;&#117;&#125;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#109;&#117;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#40;&#50;&#32;&#92;&#112;&#105;&#32;&#115;&#41;&#94;&#123;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#125;&#125;&#32;&#101;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#109;&#117;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#40;&#50;&#32;&#92;&#112;&#105;&#41;&#94;&#123;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#50;&#125;&#125;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#109;&#117;&#125;&#32;&#92;&#108;&#111;&#103;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#101;&#94;&#123;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#109;&#117;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#125;&#123;&#92;&#112;&#97;&#114;&#116;&#105;&#97;&#108;&#32;&#92;&#109;&#117;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#45;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#50;&#115;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#45;&#50;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#115;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#38;&#92;&#76;&#101;&#102;&#116;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#115;&#125;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#41;&#32;&#45;&#32;&#92;&#109;&#117;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#32;&#61;&#32;&#48;&#92;&#92; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>If <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-e7342596c7df33f919df021025164271_l3.png" class="ql-img-inline-formula " alt="&#78;&#62;&#48;" title="Rendered by QuickLaTeX.com" height="15" width="57" style="vertical-align: 0px;"/>, then it is clear that the above equation only has a solution if:</p>
<p class="ql-center-displayed-equation" style="line-height: 64px;"><span class="ql-right-eqno"> (11) </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-106f4ec1669abe6480270dfc69d9e22e_l3.png" height="64" width="139" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#92;&#109;&#117;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#41;&#46; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Note that indeed this is the well known formula to calculate the mean of a distribution. Although we all knew this formula, we now proved that it is the maximum likelihood estimator for the true and unknown mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c512e7f37dd7722dae70ad8ce0b65b1a_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="13" style="vertical-align: -4px;"/> of a normal distribution. For now, we will just assume that the estimator that we found earlier for the variance <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c61bd503e2bb58e96a8df31c019ea7ed_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#115;&#125;" title="Rendered by QuickLaTeX.com" height="16" width="9" style="vertical-align: 0px;"/>, defined by equation (<a href="#id2920392421">10</a>), is still the MVU variance estimator. In the next section however, we will show that this estimator is no longer unbiased now.</p>
<h3>Performance evaluation</h3>
<p>To check if the estimator <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> for the true mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c512e7f37dd7722dae70ad8ce0b65b1a_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="13" style="vertical-align: -4px;"/> is unbiassed, we have to make sure that the condition of equation (<a href="#id2404251598">7</a>) holds:</p>
<p class="ql-center-displayed-equation" style="line-height: 65px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-76f691aa17482e81c9d29ac5161d991c_l3.png" height="65" width="591" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125; &#69;&#091;&#92;&#109;&#117;&#093;&#32;&#61;&#32;&#69;&#32;&#92;&#108;&#101;&#102;&#116;&#091;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#41;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#78;&#32;&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;&#46;&#32; &#92;&#101;&#110;&#100;&#123;&#101;&#113;&#117;&#97;&#116;&#105;&#111;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Since <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-70917373d2fdaadc6f2c4c2a0ab9e575_l3.png" class="ql-img-inline-formula " alt="&#69;&#091;&#92;&#109;&#117;&#093;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="22" width="82" style="vertical-align: -6px;"/>, this means that the obtained estimator for the mean of the distribution is unbiassed. Since the maximum likelihood method guarantees to deliver the minimum variance estimator if the estimator is unbiassed, we proved that <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> is the MVU estimator of the mean.</p>
<p>To check if the earlier found estimator <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6ac8b2d308970b24dda8f9063f56d28_l3.png" class="ql-img-inline-formula " alt="&#115;" title="Rendered by QuickLaTeX.com" height="9" width="8" style="vertical-align: 0px;"/> for the variance <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c61bd503e2bb58e96a8df31c019ea7ed_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#115;&#125;" title="Rendered by QuickLaTeX.com" height="16" width="9" style="vertical-align: 0px;"/> is still unbiassed if it is based on the empirical mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> instead of the true mean <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c512e7f37dd7722dae70ad8ce0b65b1a_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#92;&#109;&#117;&#125;" title="Rendered by QuickLaTeX.com" height="20" width="13" style="vertical-align: -4px;"/>, we simply plug the obtained estimator <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b651e573373603e1a528b436ca082146_l3.png" class="ql-img-inline-formula " alt="&#92;&#109;&#117;" title="Rendered by QuickLaTeX.com" height="13" width="13" style="vertical-align: -4px;"/> into the earlier derived estimator <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6ac8b2d308970b24dda8f9063f56d28_l3.png" class="ql-img-inline-formula " alt="&#115;" title="Rendered by QuickLaTeX.com" height="9" width="8" style="vertical-align: 0px;"/> of equation (<a href="#id2920392421">10</a>):</p>
<p class="ql-center-displayed-equation" style="line-height: 451px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-8804df142d23349705e2b2bae64d5378_l3.png" height="451" width="450" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#115;&#32;&#38;&#61;&#32;&#92;&#115;&#105;&#103;&#109;&#97;&#94;&#50;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#92;&#92; &#38;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#41;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#50;&#92;&#92; &#38;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#92;&#108;&#101;&#102;&#116;&#091;&#120;&#95;&#105;&#94;&#50;&#32;&#45;&#32;&#50;&#32;&#120;&#95;&#105;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#41;&#32;&#43;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#40;&#120;&#95;&#105;&#41;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#093;&#92;&#92; &#38;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#94;&#50;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#50;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#43;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#50;&#92;&#92; &#38;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#94;&#50;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#50;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#43;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#50;&#92;&#92; &#38;&#61;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#94;&#50;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#50;&#92;&#92; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>To check if the estimator is still unbiased, we now need to check again if the condition of equation (<a href="#id2404251598">7</a>) holds:</p>
<p class="ql-center-displayed-equation" style="line-height: 132px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-7acd92c866aa7af2c56a2477e32f0797_l3.png" height="132" width="332" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#69;&#091;&#115;&#093;&#32;&#38;&#61;&#32;&#69;&#32;&#92;&#108;&#101;&#102;&#116;&#091;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#94;&#50;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#94;&#50;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#32;&#093;&#32;&#92;&#92; &#38;&#32;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#69;&#091;&#40;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#41;&#94;&#50;&#093;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>As mentioned in the previous section, an important property of variance is that the true variance <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-c61bd503e2bb58e96a8df31c019ea7ed_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#115;&#125;" title="Rendered by QuickLaTeX.com" height="16" width="9" style="vertical-align: 0px;"/> can be written as <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-dbae4a612899d98fdb2355700d1b1f61_l3.png" class="ql-img-inline-formula " alt="&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#61;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#45;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="25" width="167" style="vertical-align: -6px;"/> such that <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-f94e61718bf0e12e23886e6681706987_l3.png" class="ql-img-inline-formula " alt="&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#43;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#94;&#50;&#32;&#61;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;" title="Rendered by QuickLaTeX.com" height="25" width="254" style="vertical-align: -6px;"/>. Using this property in the above equation yields:</p>
<p class="ql-center-displayed-equation" style="line-height: 664px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-322edfb0546fa23a9df81283b7593cfe_l3.png" height="664" width="461" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#69;&#091;&#115;&#093;&#32;&#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#94;&#50;&#093;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#69;&#091;&#40;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#41;&#94;&#50;&#093;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#69;&#091;&#40;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#41;&#94;&#50;&#093;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#69;&#091;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#94;&#50;&#32;&#43;&#32;&#92;&#115;&#117;&#109;&#95;&#105;&#94;&#78;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#106;&#92;&#110;&#101;&#113;&#32;&#105;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#32;&#120;&#95;&#106;&#093;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#69;&#091;&#78;&#40;&#115;&#43;&#92;&#109;&#117;&#94;&#50;&#41;&#32;&#43;&#32;&#92;&#115;&#117;&#109;&#95;&#105;&#94;&#78;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#106;&#92;&#110;&#101;&#113;&#32;&#105;&#125;&#94;&#78;&#32;&#120;&#95;&#105;&#32;&#120;&#95;&#106;&#093;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#40;&#115;&#43;&#92;&#109;&#117;&#94;&#50;&#41;&#32;&#43;&#32;&#92;&#115;&#117;&#109;&#95;&#105;&#94;&#78;&#32;&#92;&#115;&#117;&#109;&#95;&#123;&#106;&#92;&#110;&#101;&#113;&#32;&#105;&#125;&#94;&#78;&#32;&#69;&#091;&#120;&#95;&#105;&#093;&#32;&#69;&#091;&#120;&#95;&#106;&#093;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#40;&#115;&#43;&#92;&#109;&#117;&#94;&#50;&#41;&#32;&#43;&#32;&#78;&#40;&#78;&#45;&#49;&#41;&#92;&#109;&#117;&#94;&#50;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#40;&#115;&#43;&#92;&#109;&#117;&#94;&#50;&#41;&#32;&#43;&#32;&#78;&#94;&#50;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#78;&#92;&#109;&#117;&#94;&#50;&#125;&#123;&#78;&#94;&#50;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#115;&#43;&#92;&#109;&#117;&#94;&#50;&#32;&#43;&#32;&#78;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#92;&#109;&#117;&#94;&#50;&#125;&#123;&#78;&#125;&#32;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#43;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#115;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#109;&#117;&#94;&#50;&#125;&#123;&#78;&#125;&#32;&#45;&#32;&#92;&#109;&#117;&#94;&#50;&#32;&#43;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#92;&#109;&#117;&#94;&#50;&#125;&#123;&#78;&#125;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#115;&#125;&#123;&#78;&#125;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#32;&#49;&#32;&#45;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41;&#92;&#92; &#38;&#61;&#32;&#115;&#32;&#92;&#108;&#101;&#102;&#116;&#40;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#45;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#41; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>Since clearly <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-cc6be2d8817706c0fef2174da8991cef_l3.png" class="ql-img-inline-formula " alt="&#69;&#091;&#115;&#093;&#32;&#92;&#110;&#101;&#113;&#32;&#92;&#104;&#97;&#116;&#123;&#115;&#125;" title="Rendered by QuickLaTeX.com" height="22" width="76" style="vertical-align: -6px;"/>, this shows that estimator for the variance of the distribution is no longer unbiassed. In fact, this estimator on average underestimates the true variance with a factor <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-b87bd07dbff56e48e05c0d2a484ecf6c_l3.png" class="ql-img-inline-formula " alt="&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#45;&#49;&#125;&#123;&#78;&#125;" title="Rendered by QuickLaTeX.com" height="26" width="36" style="vertical-align: -7px;"/>. As the number of samples approaches infinity (<img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-2015147e44f4276a70f82734d593d68b_l3.png" class="ql-img-inline-formula " alt="&#78;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#97;&#114;&#114;&#111;&#119;&#32;&#92;&#105;&#110;&#102;&#116;&#121;" title="Rendered by QuickLaTeX.com" height="15" width="72" style="vertical-align: -1px;"/>), this bias converges to zero. For small sample sets however, the bias is signification and should be eliminated.</p>
<h3>Fixing the bias</h3>
<p>Since the bias is merely a factor, we can eliminate it by scaling the biased estimator <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-d6ac8b2d308970b24dda8f9063f56d28_l3.png" class="ql-img-inline-formula " alt="&#115;" title="Rendered by QuickLaTeX.com" height="9" width="8" style="vertical-align: 0px;"/> defined by equation (<a href="#id2920392421">10</a>) by the inverse of the bias. We therefore define a new, unbiased estimate <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-cde2d30e919a8c5cc22c204302b5b072_l3.png" class="ql-img-inline-formula " alt="&#115;&#92;&#112;&#114;&#105;&#109;&#101;" title="Rendered by QuickLaTeX.com" height="12" width="15" style="vertical-align: 0px;"/> as follows:</p>
<p class="ql-center-displayed-equation" style="line-height: 276px;"><span class="ql-right-eqno"> &nbsp; </span><span class="ql-left-eqno"> &nbsp; </span><img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-8dc4c450d916fcf9e4aacaf9feab5596_l3.png" height="276" width="298" class="ql-img-displayed-equation " alt="&#92;&#98;&#101;&#103;&#105;&#110;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125; &#115;&#92;&#112;&#114;&#105;&#109;&#101;&#32;&#38;&#61;&#32;&#92;&#108;&#101;&#102;&#116;&#32;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#45;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#32;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#115;&#92;&#92; &#115;&#92;&#112;&#114;&#105;&#109;&#101;&#32;&#38;&#61;&#32;&#92;&#108;&#101;&#102;&#116;&#32;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#45;&#49;&#125;&#123;&#78;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#32;&#41;&#94;&#123;&#45;&#49;&#125;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#92;&#92; &#115;&#92;&#112;&#114;&#105;&#109;&#101;&#32;&#38;&#61;&#32;&#92;&#108;&#101;&#102;&#116;&#32;&#40;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#78;&#125;&#123;&#78;&#45;&#49;&#125;&#32;&#92;&#114;&#105;&#103;&#104;&#116;&#32;&#41;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#92;&#92; &#115;&#92;&#112;&#114;&#105;&#109;&#101;&#32;&#38;&#61;&#32;&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#45;&#49;&#125;&#92;&#115;&#117;&#109;&#95;&#123;&#105;&#61;&#49;&#125;&#94;&#78;&#40;&#120;&#95;&#105;&#32;&#45;&#32;&#92;&#109;&#117;&#41;&#94;&#50;&#92;&#92; &#92;&#101;&#110;&#100;&#123;&#97;&#108;&#105;&#103;&#110;&#42;&#125;" title="Rendered by QuickLaTeX.com"/></p>
<p>This estimator is now unbiassed and indeed resembles the traditional formula to calculate the variance, where we divide by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-925c7ae0f336743293a05a9648ad49fc_l3.png" class="ql-img-inline-formula " alt="&#78;&#45;&#49;" title="Rendered by QuickLaTeX.com" height="16" width="54" style="vertical-align: -1px;"/> instead of <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9c99ad944abf4b8313cf07a473add4bf_l3.png" class="ql-img-inline-formula " alt="&#78;" title="Rendered by QuickLaTeX.com" height="14" width="19" style="vertical-align: 0px;"/>. However, note that the resulting estimator is no longer the minimum variance estimator, but it is the estimator with the minimum variance amongst all unbiased estimators. If we divide by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9c99ad944abf4b8313cf07a473add4bf_l3.png" class="ql-img-inline-formula " alt="&#78;" title="Rendered by QuickLaTeX.com" height="14" width="19" style="vertical-align: 0px;"/>, then the estimator is biassed, and if we divide by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-925c7ae0f336743293a05a9648ad49fc_l3.png" class="ql-img-inline-formula " alt="&#78;&#45;&#49;" title="Rendered by QuickLaTeX.com" height="16" width="54" style="vertical-align: -1px;"/>, the estimator is not the minimum variance estimator. However, in general having a biased estimator is much worse than having a slightly higher variance estimator. Therefore, if the mean of the population is unknown, division by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-925c7ae0f336743293a05a9648ad49fc_l3.png" class="ql-img-inline-formula " alt="&#78;&#45;&#49;" title="Rendered by QuickLaTeX.com" height="16" width="54" style="vertical-align: -1px;"/> should be used instead of division by <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9c99ad944abf4b8313cf07a473add4bf_l3.png" class="ql-img-inline-formula " alt="&#78;" title="Rendered by QuickLaTeX.com" height="14" width="19" style="vertical-align: 0px;"/>.</p>
<h2>Conclusion</h2>
<p>In this article, we showed where the usual formulas for calculating the mean and the variance of normally distributed data come from. Furthermore, we have proven that the normalization factor in the variance estimator formula should be <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-9cdb7c0cf3359e82c3e2195879f2968f_l3.png" class="ql-img-inline-formula " alt="&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#125;" title="Rendered by QuickLaTeX.com" height="26" width="15" style="vertical-align: -7px;"/> if the true mean of the population is known, and should be <img src="https://www.visiondummy.com/wp-content/ql-cache/quicklatex.com-241aefc6c8df226dd84fb30cf7a96586_l3.png" class="ql-img-inline-formula " alt="&#92;&#102;&#114;&#97;&#99;&#123;&#49;&#125;&#123;&#78;&#45;&#49;&#125;" title="Rendered by QuickLaTeX.com" height="27" width="36" style="vertical-align: -8px;"/> if the mean itself also has to be estimated.</p>
<p><strong>If you&#8217;re new to this blog, don&#8217;t forget to subscribe, or <a href="https://twitter.com/vincent_spruyt" title="Follow me on Twitter!" target="_blank">follow me on twitter</a>!</strong><br />


<!-- Form created by Optin Forms plugin by Codeleon: create beautiful optin forms with ease! -->
<!-- http://codeleon.com/products/optin-forms/ -->
<div id="optinforms-form5-container" ><form method="post" target="_blank" action="http://visiondummy.us10.list-manage.com/subscribe/post?u=c435905e10ead915f3917d694&id=bbdfb33a9f"><div id="optinforms-form5" style="background:#ffffff;"><div id="optinforms-form5-container-left"><div id="optinforms-form5-title" style="font-family:News Cycle; font-size:24px; line-height:24px; color:#fd4326">JOIN MY NEWSLETTER</div><!--optinforms-form5-title--><input type="text" id="optinforms-form5-name-field" name="FNAME" placeholder="Enter Your Name" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#000000" /><input type="text" id="optinforms-form5-email-field" name="EMAIL" placeholder="Enter Your Email" style="font-family:Arial, Helvetica, sans-serif; font-size:12px; color:#000000" /><input type="submit" name="submit" id="optinforms-form5-button" value="SUBSCRIBE" style="font-family:Arial, Helvetica, sans-serif; font-size:16px; color:#FFFFFF; background-color:#fd4326" /></div><!--optinforms-form5-container-left--><div id="optinforms-form5-container-right"><div id="optinforms-form5-subtitle" style="font-family:Georgia; font-size:16px; color:#444444">Receive my newsletter to get notified when new articles and code snippets become available on my blog!</div><!--optinforms-form5-subtitle--><div id="optinforms-form5-disclaimer" style="font-family:Georgia, Times New Roman, Times, serif; font-size:14px; color:#727272">We all hate spam. Your email address will not be sold or shared with anyone else.</div><!--optinforms-form5-disclaimer--></div><!--optinforms-form5-container-right--><div class="clear"></div></div><!--optinforms-form5--><div class="clear"></div></form></div><!--optinforms-form5-container--><div class="clear"></div>
<!-- / Optin Forms -->

<style type='text/css'></style></p>
<p>The post <a rel="nofollow" href="https://www.visiondummy.com/2014/03/divide-variance-n-1/">Why divide the sample variance by N-1?</a> appeared first on <a rel="nofollow" href="https://www.visiondummy.com">Computer vision for dummies</a>.</p>
]]></content:encoded>
			<wfw:commentRss>https://www.visiondummy.com/2014/03/divide-variance-n-1/feed/</wfw:commentRss>
		<slash:comments>18</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk: enhanced
Database Caching using disk
Object Caching 825/842 objects using disk

 Served from: www.visiondummy.com @ 2026-04-22 09:38:25 by W3 Total Cache -->