<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Weighted_averages</id>
	<title>Weighted averages - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://mathresearch.utsa.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=Weighted_averages"/>
	<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Weighted_averages&amp;action=history"/>
	<updated>2026-05-24T07:32:39Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.1</generator>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Weighted_averages&amp;diff=2886&amp;oldid=prev</id>
		<title>Khanh at 18:02, 24 October 2021</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Weighted_averages&amp;diff=2886&amp;oldid=prev"/>
		<updated>2021-10-24T18:02:07Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 18:02, 24 October 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot; &gt;Line 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Resources==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.youtube.com/watch?v=LdrBNhWw9AM How To Find The Weighted Mean and Weighted Average In Statistics], The Organic Chemistry Tutor&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;* [https://www.youtube.com/watch?v=LdrBNhWw9AM How To Find The Weighted Mean and Weighted Average In Statistics], The Organic Chemistry Tutor&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;== Licensing == &lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Content obtained and/or adapted from:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [https://en.wikipedia.org/wiki/Weighted_arithmetic_mean Weight arithmetic mean, Wikipedia] under a CC BY-SA license&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
	<entry>
		<id>https://mathresearch.utsa.edu/wiki/index.php?title=Weighted_averages&amp;diff=1531&amp;oldid=prev</id>
		<title>Khanh: Created page with &quot;The '''weighted arithmetic mean''' is similar to an ordinary arithmetic mean (the most common type of average), except that instead of each of the data points contributing equ...&quot;</title>
		<link rel="alternate" type="text/html" href="https://mathresearch.utsa.edu/wiki/index.php?title=Weighted_averages&amp;diff=1531&amp;oldid=prev"/>
		<updated>2021-09-27T04:04:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;The &amp;#039;&amp;#039;&amp;#039;weighted arithmetic mean&amp;#039;&amp;#039;&amp;#039; is similar to an ordinary arithmetic mean (the most common type of average), except that instead of each of the data points contributing equ...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The '''weighted arithmetic mean''' is similar to an ordinary arithmetic mean (the most common type of average), except that instead of each of the data points contributing equally to the final average, some data points contribute more than others. The notion of weighted mean plays a role in descriptive statistics and also occurs in a more general form in several other areas of mathematics.&lt;br /&gt;
&lt;br /&gt;
If all the weights are equal, then the weighted mean is the same as the arithmetic mean. While weighted means generally behave in a similar fashion to arithmetic means, they do have a few counterintuitive properties, as captured for instance in Simpson's paradox.&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
=== Basic example ===&lt;br /&gt;
Given two school classes, one with 20 students, and one with 30 students, the grades in each class on a test were:&lt;br /&gt;
&lt;br /&gt;
:Morning class = 62, 67, 71, 74, 76, 77, 78, 79, 79, 80, 80, 81, 81, 82, 83, 84, 86, 89, 93, 98&lt;br /&gt;
&lt;br /&gt;
:Afternoon class = 81, 82, 83, 84, 85, 86, 87, 87, 88, 88, 89, 89, 89, 90, 90, 90, 90, 91, 91, 91, 92, 92, 93, 93, 94, 95, 96, 97, 98, 99&lt;br /&gt;
&lt;br /&gt;
The mean for the morning class is 80 and the mean of the afternoon class is 90. The unweighted mean of the two means is 85. However, this does not account for the difference in number of students in each class (20 versus 30); hence the value of 85 does not reflect the average student grade (independent of class). The average student grade can be obtained by averaging all the grades, without regard to classes (add all the grades up and divide by the total number of students):&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\bar{x} = \frac{4300}{50} = 86.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or, this can be accomplished by weighting the class means by the number of students in each class. The larger class is given more &amp;quot;weight&amp;quot;:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\bar{x} = \frac{(20\times80) + (30\times90)}{20 + 30} = 86.&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Thus, the weighted mean makes it possible to find the mean average student grade without knowing each student's score. Only the class means and the number of students in each class are needed.&lt;br /&gt;
&lt;br /&gt;
=== Convex combination example ===&lt;br /&gt;
Since only the ''relative'' weights are relevant, any weighted mean can be expressed using coefficients that sum to one. Such a linear combination is called a convex combination.&lt;br /&gt;
&lt;br /&gt;
Using the previous example, we would get the following weights:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{20}{20 + 30} = 0.4&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\frac{30}{20 + 30} = 0.6&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Then, apply the weights like this: &lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\bar{x} = (0.4\times80) + (0.6\times90) = 86.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Mathematical definition==&lt;br /&gt;
Formally, the weighted mean of a non-empty finite multiset of data &amp;lt;math&amp;gt;\{x_1, x_2, \dots , x_n\},&amp;lt;/math&amp;gt;&lt;br /&gt;
with corresponding non-negative weights &amp;lt;math&amp;gt;\{w_1, w_2, \dots , w_n\}&amp;lt;/math&amp;gt; is&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;\bar{x} = \frac{ \sum\limits_{i=1}^n w_i x_i}{\sum\limits_{i=1}^n w_i},&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
which expands to:&lt;br /&gt;
&lt;br /&gt;
:&amp;lt;math&amp;gt;&lt;br /&gt;
\bar{x} = \frac{w_1 x_1 + w_2 x_2 + \cdots + w_n x_n}{w_1 + w_2 + \cdots + w_n}.&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Therefore, data elements with a high weight contribute more to the weighted mean than do elements with a low weight. The weights cannot be negative. Some may be zero, but not all of them (since division by zero is not allowed).&lt;br /&gt;
&lt;br /&gt;
The formulas are simplified when the weights are normalized such that they sum up to &amp;lt;math&amp;gt;1&amp;lt;/math&amp;gt;, i.e.:&lt;br /&gt;
:&amp;lt;math&amp;gt; \sum_{i=1}^n {w_i'} = 1&amp;lt;/math&amp;gt;. &lt;br /&gt;
For such normalized weights the weighted mean is then:&lt;br /&gt;
:&amp;lt;math&amp;gt;\bar {x} = \sum_{i=1}^n {w_i' x_i}&amp;lt;/math&amp;gt;.&lt;br /&gt;
Note that one can always normalize the weights by making the following transformation on the original weights:&lt;br /&gt;
:&amp;lt;math&amp;gt;w_i' = \frac{w_i}{\sum_{j=1}^n{w_j}}&amp;lt;/math&amp;gt;. &lt;br /&gt;
Using the normalized weight yields the same results as when using the original weights:&lt;br /&gt;
:&amp;lt;math&amp;gt;\begin{align}&lt;br /&gt;
\bar{x} &amp;amp;= \sum_{i=1}^n w'_i x_i= \sum_{i=1}^n \frac{w_i}{\sum_{j=1}^n w_j} x_i = \frac{ \sum_{i=1}^n w_i x_i}{\sum_{j=1}^n w_j}&lt;br /&gt;
\\&lt;br /&gt;
&amp;amp; = \frac{ \sum_{i=1}^n w_i x_i}{\sum_{i=1}^n w_i}.&lt;br /&gt;
\end{align}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
The ordinary mean &amp;lt;math&amp;gt;\frac {1}{n}\sum_{i=1}^n {x_i}&amp;lt;/math&amp;gt; is a special case of the weighted mean where all data have equal weights.&lt;br /&gt;
&lt;br /&gt;
If the data elements are independent and identically distributed random variables with variance &amp;lt;math&amp;gt;\sigma&amp;lt;/math&amp;gt;, the ''standard error of the weighted mean'', &amp;lt;math&amp;gt;\sigma_{\bar{x}}&amp;lt;/math&amp;gt;, can be shown via uncertainty propagation to be:&lt;br /&gt;
:&amp;lt;math display=&amp;quot;inline&amp;quot;&amp;gt;&lt;br /&gt;
\sigma_{\bar{x}} = \sigma \sqrt{\sum_{i=1}^n w_i'^2}&lt;br /&gt;
&amp;lt;/math&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Resources==&lt;br /&gt;
* [https://www.youtube.com/watch?v=LdrBNhWw9AM How To Find The Weighted Mean and Weighted Average In Statistics], The Organic Chemistry Tutor&lt;/div&gt;</summary>
		<author><name>Khanh</name></author>
		
	</entry>
</feed>