Thursday, March 12, 2015

The data below gives the masses in mg of an active ingredient of a batch of 48 hay fever tablets. 11.2 13.4 11.7 11.5 12.6 11 .2 11.6 11.4 10.7 12.4 12.3 10.9 11.9 10.4 11.8 12.2 11.1 11.7 12.5 11.7 11.8 11.2 12.7 11.6 13.3 11.9 11.7 10.4 12.1 12.2 11.6 10.3 11.8 11.6 11.3 12.1 12.1 11.1 12 12.7 11.6 11.5 11.1 12.6 11.6 13 13.4 11.3 Using the following groups: 10.0 to 10.4, 10.5 to 10.9, 11.0 to 11.4, 11.5 to 11.9… a. Calculate the standard deviation b. Calculate the standard deviation by using a method of coding. Explain your method of coding and its effect on the data, standard deviation and mean c. Use the following unequal class intervals (10–10.2, 10.3–10.5, 10.6–11.0, 11.1–11.9) and draw a histogram for the data groups you have created.

We are given a set of 48 measurements. (Your list included 49 data items—I disregarded the .2, since it seemed like an error. You might need to check the complete list.) We are asked to find the standard deviation; then we are asked to calculate the standard deviation using the method of coding.
(a) To find the standard deviation, we first create the required frequency distribution.
X f M
10.0 - 10.4 3 10.210.5 - 10.9 2 10.711.0 - 11.4 9 11.211.5 - 11.9 17 11.712.0 - 12.4 8 12.212.5 - 12.9 5 12.713.0 - 13.4 4 13.2
Here X is the class, f the frequency of the class, and M is the midpoint of the class.
We need the mean to calculate the variance and standard deviation. To calculate the mean, we sum the products of the midpoint and frequency for each class and divide by the total frequency. 48.
Thus bar(x)=(sum(f*x))/48=11.78bar(3) (I am treating the 48 values as a sample—if needed you can calculate as a population. For the mean the answers are the same.)
To calculate the standard deviation of the sample, we take the square root of the variance. To calculate the variance, we substitute into the formula
s^2=(sum(f(M-bar(x))))/47~~.5674 and the standard deviation s=sqrt(s^2)~~.753
(b) Using the method of coding: We can somewhat simplify the calculations by performing a linear transformation on the data set. Adding the same number to every member of the data set increases the mean of the set by that number, while multiplying every number multiplies the mean by that same number. Also note that adding the same number to all data entries does not affect the standard deviation or variance, but multiplying by the same number multiplies the standard deviation.
Thus, we can select a nice transformation. I would choose something like y = 10x - 100, where y is the transformed data value, x the original value.
Apply this transformation to the midpoints of the original distribution to get:
Y f
2 37 212 917 1722 827 532 4
Now we can calculate the mean and standard deviation of this distribution to find:
bar(y)=17.8bar(3) and s_(y)~~7.532
To recover the mean and standard deviation of the original data, we note that we used y= 10x - 100.
Thus bar(y)=10bar(x)-100 ==> bar(x)=(bar(y)+100)/10=11.78bar(3)
and s_y=10s_x ==> s_x=(s_y)/10~~.7532
http://mathworld.wolfram.com/StandardDeviation.html

No comments:

Post a Comment

What is the theme of the chapter Lead?

Primo Levi's complex probing of the Holocaust, including his survival of Auschwitz and pre- and post-war life, is organized around indiv...