You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li>For each trial, subtract that specific number from the mean you just calculated. Take that result and square it.</li>
210
210
<li>Do this step of subtracting the result of each trial from the mean and square it for all your meausrements.</li>
211
211
<li>Take all of these values where you have subtracted the measurement and the mean and squared it and add them all together.</li>
212
-
<li>Take the result of that adding these values together and divide by the number of measurements</li>
213
-
<li>Take the result from dividing by the number of measurements and take the square root</li>
212
+
<li>Take the result of adding these numbers together and take the square root</li>
213
+
<li>Take the result of the square root and divide by the number of measurements</li>
214
214
</ul>
215
215
<p><b>Done!</b> You have calculated the error on the mean (a.k.a. <ahref="https://youtu.be/Vm1NcJuJeeY?si=oBoA21bTB030B9Ix">the standard error</a>)</p>
216
216
<p>Bear in mind that you <b>only do this when the conditions are the same</b>. In the soccer ball example you would not combine results from different PSI when you do the calculation above because different PSI means different conditions.</p>
@@ -220,11 +220,11 @@ <h2 class="anchored" data-anchor-id="task-example-data">Task: Example data</h2>
220
220
<p>Let’s take the example of kicking the soccer ball. We try to kick it with the same effort for ten kicks and the measured distance comes out like this:</p>
<p>If you do the procedure in the previous section and take the measurement minus the average and square it and do that for each number and add it all up you would get 72.9. Then divide by the number of measurements which is 10 so then you have 7.29 and then take the square root which would give 2.7 feet.</p>
224
-
<p>So the average distance would be 37.9 feet +/- 2.7 feet, which seems resonable given that the range of values is from 34 feet to 42 feet and that we only did 10 trials. Specifically the uncertainty of 2.7 feet is the uncertainty “on the mean”</p>
223
+
<p>If you do the procedure in the previous section and take the measurement minus the average and square it and do that for each number and add it all up you would get 72.9. Then take the square root of that number which gives you 8.53. Then divide that by the number of measurements which is 10 so then you have 0.85 feet as the error on the mean.</p>
224
+
<p>So the average distance would be 37.9 feet +/- 0.85 feet, which seems resonable given that the range of values is from 34 feet to 42 feet and that we only did 10 trials. Specifically the uncertainty of 0.85 feet is the uncertainty “on the mean”</p>
225
225
<p>Here is another set of data – let’s say that your friend kicked the ball and they can kick further than you. Here is the data:</p>
<p><b> Verify that the average distance</b> is 44.4 feet with an uncertainty on the mean of +/- 4.4 feet. After you can confirm this with a calculator (or maybe <ahref="http://desmos.com">desmos</a>) confirm it using a spreadsheet!</p>
227
+
<p><b> Verify that the average distance</b> is 44.4 feet with an uncertainty on the mean of +/- 1.4 feet. After you can confirm this with a calculator (or maybe <ahref="http://desmos.com">desmos</a>) confirm it using a spreadsheet!</p>
228
228
<p><b>Generate a set of measurements (just make up some data!) and calculate the mean and the uncertainty</b> and give them to your friend to see that you came up with the same values</p>
"section": "How to calculate the error on the mean",
462
-
"text": "How to calculate the error on the mean\nIf you have multiple trials with THE SAME CONDITIONS (in the example the same PSI) then you can calculate the error on the mean as follows:\n\nCalculate the mean of all the trials\nFor each trial, subtract that specific number from the mean you just calculated. Take that result and square it.\nDo this step of subtracting the result of each trial from the mean and square it for all your meausrements.\nTake all of these values where you have subtracted the measurement and the mean and squared it and add them all together.\nTake the result of that adding these values together and divide by the number of measurements\nTake the result from dividing by the number of measurements and take the square root\n\nDone! You have calculated the error on the mean (a.k.a. the standard error)\nBear in mind that you only do this when the conditions are the same. In the soccer ball example you would not combine results from different PSI when you do the calculation above because different PSI means different conditions."
462
+
"text": "How to calculate the error on the mean\nIf you have multiple trials with THE SAME CONDITIONS (in the example the same PSI) then you can calculate the error on the mean as follows:\n\nCalculate the mean of all the trials\nFor each trial, subtract that specific number from the mean you just calculated. Take that result and square it.\nDo this step of subtracting the result of each trial from the mean and square it for all your meausrements.\nTake all of these values where you have subtracted the measurement and the mean and squared it and add them all together.\nTake the result of adding these numbers together and take the square root\nTake the result of the square root and divide by the number of measurements\n\nDone! You have calculated the error on the mean (a.k.a. the standard error)\nBear in mind that you only do this when the conditions are the same. In the soccer ball example you would not combine results from different PSI when you do the calculation above because different PSI means different conditions."
"text": "Task: Example data\nLet’s take the example of kicking the soccer ball. We try to kick it with the same effort for ten kicks and the measured distance comes out like this:\n35 feet, 39 feet, 40 feet, 42 feet, 37 feet, 34 feet, 41 feet, 35 feet, 36 feet, 40 feet\nThe average distance would be 37.9 feet.\nIf you do the procedure in the previous section and take the measurement minus the average and square it and do that for each number and add it all up you would get 72.9. Then divide by the number of measurements which is 10 so then you have 7.29 and then take the square root which would give 2.7 feet.\nSo the average distance would be 37.9 feet +/- 2.7 feet, which seems resonable given that the range of values is from 34 feet to 42 feet and that we only did 10 trials. Specifically the uncertainty of 2.7 feet is the uncertainty “on the mean”\nHere is another set of data – let’s say that your friend kicked the ball and they can kick further than you. Here is the data:\n45 feet, 47 feet, 38 feet, 39 feet, 47 feet, 51 feet, 40 feet, 41 feet, 46 feet, 50 feet\n Verify that the average distance is 44.4 feet with an uncertainty on the mean of +/- 4.4 feet. After you can confirm this with a calculator (or maybe desmos) confirm it using a spreadsheet!\nGenerate a set of measurements (just make up some data!) and calculate the mean and the uncertainty and give them to your friend to see that you came up with the same values"
469
+
"text": "Task: Example data\nLet’s take the example of kicking the soccer ball. We try to kick it with the same effort for ten kicks and the measured distance comes out like this:\n35 feet, 39 feet, 40 feet, 42 feet, 37 feet, 34 feet, 41 feet, 35 feet, 36 feet, 40 feet\nThe average distance would be 37.9 feet.\nIf you do the procedure in the previous section and take the measurement minus the average and square it and do that for each number and add it all up you would get 72.9. Then take the square root of that number which gives you 8.53. Then divide that by the number of measurements which is 10 so then you have 0.85 feet as the error on the mean.\nSo the average distance would be 37.9 feet +/- 0.85 feet, which seems resonable given that the range of values is from 34 feet to 42 feet and that we only did 10 trials. Specifically the uncertainty of 0.85 feet is the uncertainty “on the mean”\nHere is another set of data – let’s say that your friend kicked the ball and they can kick further than you. Here is the data:\n45 feet, 47 feet, 38 feet, 39 feet, 47 feet, 51 feet, 40 feet, 41 feet, 46 feet, 50 feet\n Verify that the average distance is 44.4 feet with an uncertainty on the mean of +/- 1.4 feet. After you can confirm this with a calculator (or maybe desmos) confirm it using a spreadsheet!\nGenerate a set of measurements (just make up some data!) and calculate the mean and the uncertainty and give them to your friend to see that you came up with the same values"
Copy file name to clipboardExpand all lines: projects/errorbar2.qmd
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -39,8 +39,8 @@ If you have multiple trials with THE SAME CONDITIONS (in the example the same PS
39
39
* For each trial, subtract that specific number from the mean you just calculated. Take that result and square it.
40
40
* Do this step of subtracting the result of each trial from the mean and square it for all your meausrements.
41
41
* Take all of these values where you have subtracted the measurement and the mean and squared it and add them all together.
42
-
* Take the result of that adding these values together and divide by the number of measurements
43
-
* Take the result from dividing by the number of measurements and take the square root
42
+
* Take the result of adding these numbers together and take the square root
43
+
* Take the result of the square root and divide by the number of measurements
44
44
45
45
<b>Done!</b> You have calculated the error on the mean (a.k.a. [the standard error](https://youtu.be/Vm1NcJuJeeY?si=oBoA21bTB030B9Ix))
46
46
@@ -54,15 +54,15 @@ Let's take the example of kicking the soccer ball. We try to kick it with the sa
54
54
55
55
The average distance would be 37.9 feet.
56
56
57
-
If you do the procedure in the previous section and take the measurement minus the average and square it and do that for each number and add it all up you would get 72.9. Then divide by the number of measurements which is 10 so then you have 7.29 and then take the square root which would give 2.7 feet.
57
+
If you do the procedure in the previous section and take the measurement minus the average and square it and do that for each number and add it all up you would get 72.9. Then take the square root of that number which gives you 8.53. Then divide that by the number of measurements which is 10 so then you have 0.85 feet as the error on the mean.
58
58
59
-
So the average distance would be 37.9 feet +/- 2.7 feet, which seems resonable given that the range of values is from 34 feet to 42 feet and that we only did 10 trials. Specifically the uncertainty of 2.7 feet is the uncertainty "on the mean"
59
+
So the average distance would be 37.9 feet +/- 0.85 feet, which seems resonable given that the range of values is from 34 feet to 42 feet and that we only did 10 trials. Specifically the uncertainty of 0.85 feet is the uncertainty "on the mean"
60
60
61
61
Here is another set of data -- let's say that your friend kicked the ball and they can kick further than you. Here is the data:
<b> Verify that the average distance</b> is 44.4 feet with an uncertainty on the mean of +/- 4.4 feet. After you can confirm this with a calculator (or maybe [desmos](http://desmos.com)) confirm it using a spreadsheet!
65
+
<b> Verify that the average distance</b> is 44.4 feet with an uncertainty on the mean of +/- 1.4 feet. After you can confirm this with a calculator (or maybe [desmos](http://desmos.com)) confirm it using a spreadsheet!
66
66
67
67
<b>Generate a set of measurements (just make up some data!) and calculate the mean and the uncertainty</b> and give them to your friend to see that you came up with the same values
0 commit comments