Bevington and uncertainty of a weighted mean

  • Context: Graduate 
  • Thread starter Thread starter pkennedy
  • Start date Start date
  • Tags Tags
    Mean Uncertainty
Click For Summary

Discussion Overview

The discussion centers around the calculation of the weighted mean and the associated uncertainties as presented in Bevington's "Data Reduction and Error Analysis for the Physical Sciences." Participants explore different equations for calculating the variance of the weighted mean and question their equivalence and applicability in various contexts.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant notes that Bevington's Equation 4.19 and the substitution of Equations 4.22 into 4.23 yield different variances for the weighted mean, prompting a request for clarification on their differences and purposes.
  • Another participant explains that Equation 4.19 is derived from the error propagation equation and is applicable when variances are known, while the second equation estimates variance without prior knowledge of variances.
  • A third participant suggests that the first equation produces the exact variance of the weighted mean, whereas the second provides an estimate, raising questions about the appropriateness of each in practical scenarios.
  • Concerns are raised regarding the use of sample variance in place of known population variance, with a suggestion that corrections may be necessary depending on the data distribution.
  • One participant expresses uncertainty about the third equation's validity and the potential need for bias correction in variance estimation.

Areas of Agreement / Disagreement

Participants express differing views on the equivalence and appropriateness of the various equations for calculating the variance of the weighted mean. No consensus is reached regarding which equation is more suitable under specific conditions.

Contextual Notes

Participants highlight limitations in their understanding of estimation theory and the implications of using sample versus population variances in their calculations. The discussion reflects a lack of resolution on the best approach to take when variances are estimated rather than known.

pkennedy
Messages
4
Reaction score
0
I'm trying to decide on a method for calculating a weighted mean for my data.

In Bevington's Data Reduction and Error Analysis for the Physical Sciences 2nd Ed. Equation 4.19, the variance of the weighted mean is:
attachment.php?attachmentid=30233&d=1291144713.png


However, Bevington also suggests the use of Equation 4.22 substituted into 4.23 to calculate the variance of the weighted mean:
attachment.php?attachmentid=30234&d=1291144713.png


These two formula are not equivalent (even if weight is defined as the square of the inverse standard deviation).

To muddy the waters even further, a coworker has suggested the following variance calculation:
attachment.php?attachmentid=30235&d=1291145631.png


Could someone explain why these formulae are different when they are all used to calculate the standard deviation of the weighted mean? Do they serve different purposes?
 

Attachments

  • uncertainty_of_weighted_mean.png
    uncertainty_of_weighted_mean.png
    695 bytes · Views: 950
  • Bevington_Eq4.22_into_4.23.png
    Bevington_Eq4.22_into_4.23.png
    900 bytes · Views: 891
  • weighting_formulas.png
    weighting_formulas.png
    2.4 KB · Views: 841
Physics news on Phys.org
Further information:

Equation 4.19 was derived by applying the error propagation equation:

attachment.php?attachmentid=30257&d=1291222596.png


to the equation for the weighted mean:

https://www.physicsforums.com/attachment.php?attachmentid=30258&d=1291222596.

On the other hand, the substitution of Equation 4.22 into Equation 4.23 appears very much like the definition of standard deviation (tweaked for weighted values).

Shouldn't the uncertainty on the weighted mean calculated in Equation 4.19 be identical to the uncertainty calculated by the substitution of Equation 4.22 into 4.23?
 

Attachments

  • error_propagation_equation.png
    error_propagation_equation.png
    1.4 KB · Views: 857
  • weighted_average.png
    weighted_average.png
    977 bytes · Views: 922
I can only provide a lay explanation about which to use, not the mathematical derivation sorry.

The first equation arises when each observation comes from a different probability distribution with known variance [tex]\sigma[/tex]i and we assign weights to the observations based on their known variance such that wi=1/[tex]\sigma[/tex]i^2. Therefore there is no more wi term in the variance formula.


The second equation arises when you do not know the variances of the observations before hand obviously. And actually, without the known variances, you are merely computing an estimate of the variance of the mean, not computing the variance of the mean. It would be more appropriate to write [tex]\widehat{\mu}[/tex]2= ... instead.

The tangible difference between them (if you do not understand estimation theory and are just interested in this for your work...because I do not really understand or can explain it well either) is that the first formula can be calculated before any data is calculated as we are working with presumably known information, but the second formula can only be calculated with the data and their mean.

The third equation...well... I cannot really verify it at the moment but I think N-1 should be used instead of N to correct for biasness. The question is, is the second formula or the third formula a better estimator for variance of mean? I suspect the additional terms are included to correct biasness.

Edit: damn latex I can't figure out the problem with the notation
 
Thank you very much for your reply.

The second equation arises when you do not know the variances of the observations before hand obviously. And actually, without the known variances, you are merely computing an estimate of the variance of the mean, not computing the variance of the mean. It would be more appropriate to write LaTeX Code: \\widehat{\\mu} 2= ... instead.

So the difference between the first equation (4.19) and the second (4.22 into 4.23) is that the first equation (given precisely known variances) will produce the exact variance of the weighted mean but the second equation will produce an estimate of the variance of the weighted mean?

[Edit]:
This raises a practical question: if the weights used to calculate the weighted mean are equal to the inverse square of *estimates* of the variances (obtained by the typical unweighted variance calculations on measured data), is the first or second equation more appropriate?
 
Last edited:
The first one then. But usually when we substitute sample variance into an equation requiring known population variance directly, some correction has to be done depending on the distribution of the data.

For example, the t-test and z-test are both applied on a test on the sample mean, depending on whether the population variance is assumed to be known or unknown.
 
I vaguely recall using those tests before but not for the purpose of correcting data. I'll need to look for a resource to explain how these corrections should be done (any suggestions?).

Thanks again.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 11 ·
Replies
11
Views
3K
  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 25 ·
Replies
25
Views
12K
  • · Replies 19 ·
Replies
19
Views
8K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 11 ·
Replies
11
Views
2K