new file: Files/flashplayer_32_sa.exe new file: favicon.ico new file: globe.gif new file: imgs/download.png new file: imgs/zuck.jpg new file: index.html new file: other.ico new file: script.js new file: site.webmanifest new file: sitemap.html new file: styles/backround.css new file: styles/border.css new file: styles/fonts/Titillium_Web/OFL.txt new file: styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf new file: styles/fonts/webfontkit-20221027-163353/generator_config.txt new file: styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2 new file: styles/fonts/webfontkit-20221027-165950/generator_config.txt new file: styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2 new file: styles/style.css new file: tools/2048/.gitignore new file: tools/2048/.jshintrc new file: tools/2048/CONTRIBUTING.md new file: tools/2048/LICENSE.txt new file: tools/2048/README.md new file: tools/2048/Rakefile new file: tools/2048/favicon.ico new file: tools/2048/index.html new file: tools/2048/js/animframe_polyfill.js new file: tools/2048/js/application.js new file: tools/2048/js/bind_polyfill.js new file: tools/2048/js/classlist_polyfill.js new file: tools/2048/js/game_manager.js new file: tools/2048/js/grid.js new file: tools/2048/js/html_actuator.js new file: tools/2048/js/keyboard_input_manager.js new file: tools/2048/js/local_storage_manager.js new file: tools/2048/js/tile.js new file: tools/2048/meta/apple-touch-icon.png new file: tools/webretro/cores/neocd_libretro.js new file: tools/webretro/cores/neocd_libretro.wasm new file: tools/webretro/cores/nestopia_libretro.js new file: tools/webretro/cores/nestopia_libretro.wasm new file: tools/webretro/cores/o2em_libretro.js new file: tools/webretro/cores/o2em_libretro.wasm new file: tools/webretro/cores/opera_libretro.js new file: tools/webretro/cores/opera_libretro.wasm
228 lines
10 KiB
HTML
228 lines
10 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="en"><!-- #BeginTemplate "/Templates/Main.dwt" --><!-- DW6 -->
|
||
|
||
<!-- Mirrored from www.mathsisfun.com/data/weighted-mean.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:41:50 GMT -->
|
||
<head>
|
||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||
<!-- #BeginEditable "doctitle" -->
|
||
<title>Weighted Mean</title>
|
||
<meta name="description" content="Math explained in easy language, plus puzzles, games, quizzes, worksheets and a forum. For K-12 kids, teachers and parents.">
|
||
<!-- #EndEditable -->
|
||
<meta name="keywords" content="math, maths, mathematics, school, homework, education">
|
||
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes">
|
||
<meta name="HandheldFriendly" content="true">
|
||
<meta http-equiv="pics-label" content="(PICS-1.1 "http://www.classify.org/safesurf/" L gen true for "http://www.mathsisfun.com" r (SS~~000 1))">
|
||
<link rel="stylesheet" type="text/css" href="../style3.css">
|
||
<script src="../main3.js" type="text/javascript"></script>
|
||
</head>
|
||
|
||
<body id="bodybg">
|
||
<div class="bg">
|
||
<div id="stt"></div>
|
||
<div id="hdr"></div>
|
||
<div id="logo"><a href="../index.html"><img src="../images/style/logo.svg" alt="Math is Fun"></a></div>
|
||
<div id="gtran">
|
||
<script type="text/javascript">document.write(getTrans());</script></div>
|
||
<div id="gplus">
|
||
<script type="text/javascript">document.write(getGPlus());</script></div>
|
||
<div id="adTopOuter" class="centerfull noprint">
|
||
<div id="adTop">
|
||
<script type="text/javascript">document.write(getAdTop());</script>
|
||
</div>
|
||
</div>
|
||
<div id="adHide">
|
||
<div id="showAds1"><a href="javascript:showAds()">Show Ads</a></div>
|
||
<div id="hideAds1"><a href="javascript:hideAds()">Hide Ads</a><br>
|
||
<a href="../about-ads.html">About Ads</a></div>
|
||
</div>
|
||
<div id="menuWide" class="menu">
|
||
<script type="text/javascript">document.write(getMenu(0));</script>
|
||
</div>
|
||
<div id="linkto">
|
||
<div id="linktort">
|
||
<script type="text/javascript">document.write(getLinks());</script></div>
|
||
</div>
|
||
<div id="search" role="search">
|
||
<script type="text/javascript">document.write(getSearch());</script></div>
|
||
<div id="menuSlim" class="menu">
|
||
<script type="text/javascript">document.write(getMenu(1));</script>
|
||
</div>
|
||
<div id="menuTiny" class="menu">
|
||
<script type="text/javascript">document.write(getMenu(2));</script>
|
||
</div>
|
||
<div id="extra"></div>
|
||
</div>
|
||
<div id="content" role="main"><!-- #BeginEditable "Body" -->
|
||
<h1 class="center">Weighted Mean</h1>
|
||
<p class="center">Also called Weighted Average</p>
|
||
<p class="center larger">A mean where some values contribute more than others.</p>
|
||
<h2>Mean</h2>
|
||
<p>When we do a simple <a href="../mean.html">mean</a> (or average), we give equal weight to each number. </p>
|
||
<p>Here is the mean of 1, 2, 3 and 4:</p>
|
||
<p class="center"><img src="images/weighted-average-equal.svg" alt="weighted average equal"></p>
|
||
<p>Add up the numbers, divide by how many numbers:</p>
|
||
<p class="center larger">Mean = <span class="intbl"><em>1 + 2 + 3 + 4</em><strong>4</strong></span> = <span class="intbl"><em>10</em><strong>4</strong></span> = 2.5</p>
|
||
<h2>Weights</h2>
|
||
<p>We could think that each of those numbers has a "weight" of <span class="hilite">¼</span> (because there are 4 numbers):</p>
|
||
<p class="center larger">Mean = <span class="hilite">¼</span> × 1 + <span class="hilite">¼</span> × 2 + <span class="hilite">¼</span> × 3 + <span class="hilite">¼</span> × 4<br>
|
||
= 0.25 + 0.5 + 0.75 + 1 = <b>2.5</b></p>
|
||
<p>Same answer.</p>
|
||
<p> </p>
|
||
<p>Now let's change the weight of <b>3</b> to <span class="hilite">0.7</span>, and the weights of the other numbers to <span class="hilite">0.1</span> so <b>the total of the weights is still 1</b>:</p>
|
||
<p class="center"><img src="images/weighted-average-a.svg" alt="weighted average more weight"></p>
|
||
<p class="center larger">Mean = <span class="hilite">0.1</span> × 1 + <span class="hilite">0.1</span> × 2 + <span class="hilite">0.7</span> × 3 + <span class="hilite">0.1</span> × 4<br>
|
||
= 0.1 + 0.2 + 2.1 + 0.4 = <b>2.8</b></p>
|
||
<p class="center">This <b>weighted mean</b> is now a little higher ("pulled" there by the weight of 3).</p>
|
||
<p> </p>
|
||
<div class="beach">
|
||
<table align="center" border="0">
|
||
<tbody>
|
||
<tr>
|
||
<td align="center">
|
||
<p>When some values get more weight than others,<br>
|
||
the central point (the mean) can change:</p></td>
|
||
<td><img src="images/weighted-average-seesaw.svg" alt="weighted average seesaw"></td>
|
||
</tr>
|
||
</tbody></table>
|
||
</div>
|
||
<h2>Decisions</h2>
|
||
<p>Weighted means can help with decisions where some things are more important than others:</p>
|
||
<div class="example">
|
||
<p style="float:right; margin: 0 0 5px 10px;"><img src="images/camera.jpg" alt="camera" height="91" width="120"></p>
|
||
<h3>Example: Sam wants to buy a new camera, and decides on the following rating system:</h3>
|
||
<ul>
|
||
<li>Image Quality <b>50%</b></li>
|
||
<li>Battery Life <b>30%</b></li>
|
||
<li>Zoom Range <b>20%</b></li>
|
||
</ul>
|
||
<p>The Sonu camera gets 8 (out of 10) for Image Quality, 6 for Battery Life and 7 for Zoom Range</p>
|
||
<p>The Conan camera gets 9 for Image Quality, 4 for Battery Life and 6 for Zoom Range</p>
|
||
<p>Which camera is best?</p>
|
||
<p class="center larger">Sonu: 0.5 × 8 + 0.3 × 6 + 0.2 × 7 = 4 + 1.8 + 1.4 = <b>7.2</b></p>
|
||
<p class="center larger">Conan: 0.5 × 9 + 0.3 × 4 + 0.2 × 6 = 4.5 + 1.2 + 1.2 = <b>6.9</b></p>
|
||
<p>Sam decides to buy the Sonu.</p>
|
||
</div>
|
||
<p> </p>
|
||
<h2>What if the Weights Don't Add to 1?</h2>
|
||
<p>When the weights don't add to 1, divide by the sum of weights.</p>
|
||
<div class="example">
|
||
<p style="float:right; margin: 0 0 5px 10px;"><img src="images/lunch.jpg" alt="lunch" height="103" width="200"></p>
|
||
<h3>Example: Alex usually eats lunch 7 times a week, but some weeks only gets 1, 2, or 5 lunches. </h3>
|
||
<p>Alex had lunch:</p>
|
||
<ul>
|
||
<li>on 2 weeks: only one lunch for the whole week</li>
|
||
<li>on 14 weeks: 2 lunches each week</li>
|
||
<li>on 8 weeks: 5 lunches each week</li>
|
||
<li>on 32 weeks: 7 lunches each week</li>
|
||
</ul>
|
||
<p>What is the <b>mean number of lunches</b> Alex has each week? </p>
|
||
<p> </p>
|
||
<p>Use "Weeks" as the weighting:</p>
|
||
<p class="center larger"> Weeks × Lunches = 2 × 1 + 14 × 2 + 8 × 5 + 32 × 7<br>
|
||
= 2 + 28 + 40 + 224 = <b>294</b></p>
|
||
<p>Also add up the weeks:</p>
|
||
<p class="center larger"> Weeks = 2 + 14 + 8 + 32 = <b>56</b></p>
|
||
|
||
<p>Divide total lunches by total weeks:</p>
|
||
<p class="center larger"><span class="larger">Mean = </span><span class="intbl"><em><span class="larger">294</span></em><strong><span class="larger">56</span></strong></span><span class="larger"> = 5.25</span></p>
|
||
<p>It looks like this:</p>
|
||
<p class="center"><img src="images/weighted-average-b.svg" alt="weighted average 5.25"></p>
|
||
</div>
|
||
<p>But it is often better to use a table to make sure you have all the numbers correct:</p>
|
||
<div class="example">
|
||
<h3>Example (continued):</h3>
|
||
<p>Let's use:</p>
|
||
<ul>
|
||
<li><b>w</b> for the number of weeks (the weight)</li>
|
||
<li><b>x</b> for lunches (the value we want the mean of)</li>
|
||
</ul>
|
||
<p>Multiply <b>w</b> by <b>x</b>, sum up <b>w</b> and sum up <b>wx</b>:</p>
|
||
<div class="beach">
|
||
<table align="center" border="0">
|
||
<tbody>
|
||
<tr>
|
||
<th align="center">Weight<br>
|
||
w</th>
|
||
<th align="center" width="100">Lunches<br>
|
||
x</th>
|
||
<th align="right" width="100"><br>
|
||
wx</th>
|
||
</tr>
|
||
<tr>
|
||
<td align="center">2</td>
|
||
<td align="center">1</td>
|
||
<td align="right">2</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center">14</td>
|
||
<td align="center">2</td>
|
||
<td align="right">28</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center">8</td>
|
||
<td align="center">5</td>
|
||
<td align="right">40</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center">32</td>
|
||
<td align="center">7</td>
|
||
<td align="right">224</td>
|
||
</tr>
|
||
<tr>
|
||
<td align="center" height="23"><span class="center larger">Σw = 56</span></td>
|
||
<td align="center"> </td>
|
||
<td align="right"><span class="center larger">Σwx = 294</span></td>
|
||
</tr>
|
||
</tbody></table>
|
||
</div>
|
||
|
||
<p class="center">The symbol <b><span class="large">Σ</span></b> (<a href="../algebra/sigma-notation.html">Sigma</a>) means "Sum Up"</p>
|
||
<p>Divide <b>Σwx</b> by <b>Σw</b>:</p>
|
||
<p class="center larger"><span class="larger">Mean = </span><span class="intbl"><em><span class="larger">294</span></em><strong><span class="larger">56</span></strong></span><span class="larger"> = 5.25</span></p>
|
||
<p>(Same answer as before.)</p>
|
||
</div>
|
||
<p>And that leads us to our formula:</p>
|
||
<div class="def">
|
||
<p class="center larger"><span class="larger">Weighted Mean = </span><span class="intbl"><em><span class="center larger">Σwx</span></em><strong><span class="center larger">Σw</span></strong></span></p>
|
||
</div>
|
||
|
||
<p>In other words: multiply each weight <b>w</b> by its matching value <b>x</b>, sum that all up, and divide by the sum of weights. </p>
|
||
<h2>Summary</h2>
|
||
<ul class="larger">
|
||
<li><b>Weighted Mean</b>: A mean where some values contribute more than others.</li>
|
||
<li>When the weights add to 1: just multiply each weight by the matching value and sum it all up</li>
|
||
<li>Otherwise, multiply each weight <b>w</b> by its matching value <b>x</b>, sum that all up, and divide by the sum of weights:
|
||
|
||
|
||
|
||
|
||
|
||
<div class="def">
|
||
<p class="center larger">Weighted Mean = <span class="intbl"><em><span class="center">Σwx</span></em><strong><span class="center">Σw</span></strong></span></p>
|
||
</div>
|
||
</li>
|
||
</ul>
|
||
<p> </p>
|
||
<div class="questions">
|
||
<script type="text/javascript">getQ(8848, 8849, 8850, 8851, 8852, 8853, 8854, 8855, 8856, 8857);</script>
|
||
</div>
|
||
|
||
<div class="related"><a href="../mean.html">Mean</a>
|
||
<a href="index.html">Data Index</a>
|
||
</div>
|
||
<!-- #EndEditable --></div>
|
||
<div id="adend" class="centerfull noprint">
|
||
<script type="text/javascript">document.write(getAdEnd());</script>
|
||
</div>
|
||
<div id="footer" class="centerfull noprint">
|
||
<script type="text/javascript">document.write(getFooter());</script>
|
||
</div>
|
||
<div id="copyrt">
|
||
Copyright © 2017 MathsIsFun.com
|
||
</div>
|
||
|
||
<script type="text/javascript">document.write(getBodyEnd());</script>
|
||
</body><!-- #EndTemplate -->
|
||
<!-- Mirrored from www.mathsisfun.com/data/weighted-mean.html by HTTrack Website Copier/3.x [XR&CO'2014], Sat, 29 Oct 2022 00:41:51 GMT -->
|
||
</html> |