document.write( "Question 1190757: The following data give the yearly numbers of law enforcement officers killed in the United
\n" ); document.write( "States over 10 years: 164, 165, 157, 164, 152, 147, 148, 131, 147, 155, calculate sample
\n" ); document.write( "variance and standard deviation
\n" ); document.write( "

Algebra.Com's Answer #822462 by math_tutor2020(3817)\"\" \"About 
You can put this solution on YOUR website!

\n" ); document.write( "n = 10 = sample size\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Add up the numbers and you should get 1530
\n" ); document.write( "Divide that over the n = 10 numbers. This yields the sample mean of 1530/10 = 153\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "xbar = 153 = sample mean\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Next, subtract the sample mean from each item.
\n" ); document.write( "I recommend making a table to organize the data.\n" ); document.write( "\n" ); document.write( "
xx-xbar
16411
16512
1574
16411
152-1
147-6
148-5
131-22
147-6
1552
The second column tells us the error of each x value with respect to the center xbar = 153.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Square each item in the second column to form the third column.\n" ); document.write( "\n" ); document.write( "
xx-xbar(x-xbar)^2
16411121
16512144
157416
16411121
152-11
147-636
148-525
131-22484
147-636
15524
\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Add up everything in the third column to get 988. This is the sum of the squared errors (SSE). As the name implies, it's the result of adding up each error squared. Each x-xbar value is the error itself, and we square the item to avoid a negative number. This means any (x-xbar)^2 has a min value of 0.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Divide this SSE value over n-1 = 10-1 = 9 to compute the sample variance.
\n" ); document.write( "SSE/(n-1) = 988/9 = 109.7778 approximately\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Apply the square root to the sample variance to get the sample standard deviation
\n" ); document.write( "sqrt(988/9) = 10.4775 approximately\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You can use a graphing calculator to check the answers.
\n" ); document.write( "Or you can use a free dedicated online calculator such as this one
\n" ); document.write( "https://www.calculatorsoup.com/calculators/statistics/variance-calculator.php
\n" ); document.write( "Make sure the \"sample\" option is selected.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "-----------------------\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "In summary:
\n" ); document.write( "sample variance = 109.7778
\n" ); document.write( "sample standard deviation = 10.4775
\n" ); document.write( "both values are approximate
\n" ); document.write( "
\n" ); document.write( "
\n" );