7.3 The Normal Distribution - Estimating From Data
Estimating the mean, , knowing the deviation,
Typically one is provided with a series of measurements of a quantity, and we want to estimate the value of that quantity, and have a description of our uncertainty in the estimate. In Chapter 9 (Applications of Parameter Estimation and Inference on page 165) we go through a number of detailed examples of this process. Here, we simply summarize the result. We are given:
- A series of measurements, data=
- The real deviation,
- We are modeling the data as a true value, , with uncertainty with a likelihood from the Normal distribution with known deviation, , as in . Further, we assume independence between the measurements.
Since in this case we are given , we wish then to estimate the parameter . The result will be a probability distribution over , with a best (i.e. most probable) value and an uncertainty in that value. The result is that the distribution of is also a Normal distribution,
where the center value (and thus the most probable value of ) is given by the sample mean of the data.
Sample Mean The sample mean of a set of samples, is given by
The uncertainty in is given by . As a consequence, larger (i.e. more data points), makes us more confident in the particular estimate for .
Estimate of location parameter given samples and , the known deviation In summary, the best estimate for the location parameter in the Normal distribution given a set of samples, is given by
Estimating the mean, , not knowing the deviation,
If we are not so fortunate to be given the deviation, as in the previous case, then this parameter too must be estimated from the data. As a first step we can estimate the deviation with the sample deviation.
Sample Deviation The sample deviation of a set of samples, is given by
Note
Sample Deviation
The sample deviation of a set of samples, is given by
Approximate estimate of location parameter and deviation given samples The posterior probability for and given a set of samples, can be approximated with
which works well if we have many () data points.
Note
Approximate estimate of location parameter and deviation given samples
The posterior probability for and given a set of samples, can be approximated with
which works well if we have many () data points.
With a smaller data set, the value of as an estimate for the deviation becomes too small. When the estimate for is too small, then the result is claiming more confidence in the estimate of the mean, , than is warranted. This discrepancy depends on the number of data points, and thus it makes sense that the proper distribution should depend on the number of data points, in addition to the sample mean and deviation. The proper, although less convenient, result is that the posterior probability for takes the form of the Student's distribution,
Note
Because the uncertainty in the mean depends explicitly on the number of data points, it goes beyond the level of this chapter to give a form for the posterior probability distribution for the deviation, .
Estimate of location parameter given samples and unknown The posterior probability for takes the form of the Student's distribution,
This distribution requires three numbers to specify, referred to as the mean (), deviation () and the degrees of freedom (dof). The degrees of freedom is defined in this case to be the number of data points less one, .
Example 2 Estimating the True Length of an Object...Again
Say we have an object, and 5 measurements of its length from the same ruler but from different people,
5.1[ cm], 4.9[ cm], 4.7[ cm], 4.9[ cm], 5.0[ cm]
Unlike earlier, let's say that we don't know the uncertainty (given this ruler) of one measurement What is the best estimate of the length? Again, the best estimate should be given by the sample mean of these 5 samples,
with uncertainty related to the sample deviation
Looking at Table 16.2on page 236 with “Degrees of Freedom” equal to 4, we find that the 95% credible interval for (between areas 0.025 and 0.975) falls , thus we have
Although much of this is easier with the computer, it is instructive to go through simple examples by hand.
Try it in XYZ Crunch
Read the t multiplier without the table
The example takes 2.776 from the t table at 4 degrees of freedom. The distributions panel in inverse mode gives the same 2.7764 straight out, and it will do degrees of freedom the printed table skips. Drag the degrees of freedom up and watch the multiplier fall toward 1.96 - the whole reason the Normal replaces the t once the data set gets large.
Adapted from Statistical Inference for Everyone, by Brian Blais (Bryant University), licensed under CC BY-SA 4.0 (dual-licensed under the GNU FDL 1.2 or later; this adaptation uses the CC BY-SA grant). Changes were made; this adaptation is distributed under the same license. License: CC-BY-SA-4.0.