document.write( "Question 1196832: PICTURE FOR PROBLEM https://imagizer.imageshack.com/img924/482/OjKL0M.jpg\r
\n" ); document.write( "\n" ); document.write( "​a) Find the quartiles using technology.
\n" ); document.write( "Q1= Q2=\r
\n" ); document.write( "\n" ); document.write( "​b) Find the quartiles using the Tukey method.
\n" ); document.write( "Q1= Q2=\r
\n" ); document.write( "\n" ); document.write( "​c) Find the IQR using the quartiles from part b.\r
\n" ); document.write( "\n" ); document.write( "​d) Find the standard deviation.
\n" ); document.write( "
\n" ); document.write( "

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

\n" ); document.write( "a)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The answer will slightly vary depending on which type of technology you use. Are you using a graphing calculator? Spreadsheet? A programming language such as R or Python?\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Refer to this article for more details
\n" ); document.write( "https://en.wikipedia.org/wiki/Quartile\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "=======================================================================
\n" ); document.write( "b)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Given Data\n" ); document.write( "\n" ); document.write( "
40.45.1832.5947.01
37.1234.6163.4451.53
57.3281.1347.511.65
21.8342.2138.7732.05
76.7272.846.9365.45

\n" ); document.write( "Let's list out the sorted values from smallest to largest
\n" ); document.write( "{5.18, 11.65, 21.83, 32.05, 32.59, 34.61, 37.12, 38.77, 40.4, 42.21, 46.93, 47.01, 47.5, 51.53, 57.32, 63.44, 65.45, 72.8, 76.72, 81.13}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "There are n = 20 items in this data set
\n" ); document.write( "The median is at the midpoint of slot 10 and 11
\n" ); document.write( "since n/2 = 20/2 = 10\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The items in the 10th and 11th slots are 42.21 and 46.93 respectively\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The midpoint of which is (42.21+46.93)/2 = 44.57 and this is the median of the given set.
\n" ); document.write( "The median is sometimes referred to as Q2\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Let's form two new sets L and U
\n" ); document.write( "L = lower set = items below the median 44.57
\n" ); document.write( "U = upper set = items above the median 44.57\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "L = {5.18, 11.65, 21.83, 32.05, 32.59, 34.61, 37.12, 38.77, 40.4, 42.21}
\n" ); document.write( "U = {46.93, 47.01, 47.5, 51.53, 57.32, 63.44, 65.45, 72.8, 76.72, 81.13}\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Sets L and U have n/2 = 20/2 = 10 items each in them.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The median of set L is 33.60
\n" ); document.write( "The median of set U is 60.38
\n" ); document.write( "These are the values of Q1 and Q3 respectively.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Summary:
\n" ); document.write( "Q1 = 33.60
\n" ); document.write( "Q2 = 44.57 aka median
\n" ); document.write( "Q3 = 60.38\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "=======================================================================
\n" ); document.write( "c)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "IQR = Q3 - Q1
\n" ); document.write( "IQR = 60.38 - 33.60
\n" ); document.write( "IQR = 26.78\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "=======================================================================
\n" ); document.write( "d)\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "You can use a spreadsheet or graphing calculator to compute the standard deviation in one single command.
\n" ); document.write( "So there isn't much for me to go over here if your teacher wants you to use technology.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "However, I'll show a method to calculate the standard deviation by hand.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Check out this spreadsheet
\n" ); document.write( "https://docs.google.com/spreadsheets/d/1VsuY1rMMsdiF1GKgO_5x0Ts5vIOnn6hf5fhHlC4cIfw/edit?usp=sharing
\n" ); document.write( "The x column is the set of original values
\n" ); document.write( "xbar = 45.312 is the sample mean (found by adding every x value up and dividing by n = 20) \r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "The column labeled (x-xbar)^2 has us do these two things in the order mentioned
  1. Subtract xbar from each x value
  2. Square the result of the previous step
For example,
\n" ); document.write( "(x-xbar)^2 = (5.18 - 45.312)^2 = 1610.577424
\n" ); document.write( "and that result goes in the first entry of the (x-xbar)^2 column. It corresponds to x = 5.18\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Once we calculate all the (x-xbar)^2 values, we add them all up to get
\n" ); document.write( "Sum[ (x-xbar)^2 ] = 7843.32072
\n" ); document.write( "In the spreadsheet provided above, I defined this value as the variable A.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Divide A over (n-1) to get the sample variance
\n" ); document.write( "Sample Variance = A/(n-1) = 7843.32072/(20-1) = 412.8063537
\n" ); document.write( "Then take the square root of that to get the sample standard deviation\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "SampleSD = sqrt(sampleVar)
\n" ); document.write( "SampleSD = sqrt(412.8063537)
\n" ); document.write( "SampleSD = 20.31763652\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "Or if you wanted the population variance, then,
\n" ); document.write( "popVar = A/n = 7843.32072/20 = 392.166036
\n" ); document.write( "and
\n" ); document.write( "popSD = sqrt(popVar) = sqrt(392.166036) = 19.803182471512\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "So we have:
\n" ); document.write( "sample standard deviation = 20.31763652
\n" ); document.write( "population standard deviation = 19.803182471512
\n" ); document.write( "

\n" ); document.write( "
\n" ); document.write( "
\n" );