Bevington and uncertainty of a weighted mean

In summary, there is a debate on which equation to use for calculating the variance of a weighted mean. Equation 4.19 in Bevington's Data Reduction and Error Analysis for the Physical Sciences 2nd Ed. is derived using error propagation and produces the exact variance of the weighted mean when each observation comes from a different probability distribution with known variances. On the other hand, Equation 4.22 substituted into 4.23 is an estimate of the variance of the mean and can only be calculated with the data and their mean. The third equation is a variation with additional terms to correct for biasness. The first equation is more appropriate if the weights used are equal to inverse square of estimates of the variances. However,
  • #1
pkennedy
4
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: 892
  • Bevington_Eq4.22_into_4.23.png
    Bevington_Eq4.22_into_4.23.png
    900 bytes · Views: 834
  • weighting_formulas.png
    weighting_formulas.png
    2.4 KB · Views: 778
Physics news on Phys.org
  • #2
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: 800
  • weighted_average.png
    weighted_average.png
    977 bytes · Views: 857
  • #3
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
 
  • #4
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:
  • #5
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.
 
  • #6
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.
 

What is Bevington and uncertainty of a weighted mean?

Bevington and uncertainty of a weighted mean is a statistical method used to calculate the average value of a set of data, taking into account the individual weights or importance of each data point.

Why is it important to calculate a weighted mean?

Calculating a weighted mean allows for a more accurate representation of the data, as it takes into account the varying degrees of importance of each data point. This is especially useful when dealing with data sets that have a wide range of values or when certain data points have more significance than others.

What is the formula for calculating the weighted mean?

The formula for calculating the weighted mean is:
x̄ = ∑(xiwi)/∑wi
where x̄ is the weighted mean, xi is the individual data point, and wi is the weight assigned to that data point.

How is uncertainty of a weighted mean calculated?

The uncertainty of a weighted mean can be calculated using the formula:
σx̄ = √(∑(wiσi)²)/∑wi
where σx̄ is the uncertainty of the weighted mean, wi is the weight assigned to each data point, and σi is the uncertainty of each individual data point.

What are some limitations of Bevington and uncertainty of a weighted mean?

Some limitations of Bevington and uncertainty of a weighted mean include the assumption that the data is normally distributed and that the weights assigned are accurate representations of the importance of each data point. Additionally, this method may not be appropriate for data sets with extreme outliers or when the data points are highly correlated.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
836
  • Set Theory, Logic, Probability, Statistics
Replies
2
Views
788
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
442
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
19
Views
5K
  • Set Theory, Logic, Probability, Statistics
Replies
25
Views
10K
  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
712
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
Replies
10
Views
1K
Back
Top