Statistical Analysis of Sample Data
Statistical Analysis of Sample Data
ASSIGNMENT 1
Q.1. The winning scores in the U.S. Masters golf tournament in the years from 1999 to
2008 were as follows:
280, 278, 272, 276, 281, 279, 276, 281, 289, 280
Find the sample mean of these scores.
Solution
∑ 𝑥 2792
𝑋̅ = = = 279.2
𝑛 10
Q.2. The following is a frequency table giving the ages of members of a symphony
orchestra for young adults.
Find the sample mean of the ages of the 54 members of the symphony.
Solution
X f fX
15 2 30
16 5 80
17 11 187
18 9 162
19 14 266
20 13 260
SUM 54 985
∑ 𝑓𝑋 985
𝑋̅ = = = 18.2407
∑𝑓 54
Q.3. A random sample of 29 students were asked to estimate the average number of
hours they spent per week studying outside of class. Also their eye color and the
number of pets they owned was recorded. The results are given below
1 MALE 10 White 1
2 FEMALE 7 Black 0
3 MALE 15 Brown 3
4 FEMALE 20 Grey 1
5 MALE 40 White 2
6 MALE 25 Blue 1
7 MALE 22 Black 0
8 MALE 13 Blue 5
9 FEMALE 12 White 4
10 MALE 21 Brown 3
11 MALE 16 Black 1
12 MALE 22 White 1
13 FEMALE 25 Blue 1
14 MALE 30 Yellow 2
15 MALE 29 Green 3
16 MALE 25 Brown 5
17 MALE 27 White 4
18 MALE 15 Black 2
19 MALE 14 Black 2
20 FEMALE 17 Brown 1
21 MALE 20 Green 0
22 MALE 17 Yellow 0
23 MALE 10 Grey 1
24 FEMALE 18 White 2
25 MALE 22 Black 2
26 MALE 15 Black 3
27 FEMALE 14 Grey 0
28 MALE 16 Yellow 0
29 FEMALE 25 Brown 1
Mean 19.37931034
Standard Error 1.319999434
Median 18
Mode 25
Standard Deviation 7.108414496
Sample Variance 50.52955665
Kurtosis 1.092644129
Skewness 0.767808832
Range 33
Minimum 7
Maximum 40
Sum 562
Count 29
𝑅𝑎𝑛𝑔𝑒 = 𝑚𝑎𝑥𝑖𝑚𝑢𝑚 − 𝑚𝑖𝑛𝑖𝑚𝑢𝑚
𝑅𝑎𝑛𝑔𝑒 = 40 − 7 = 33
𝑘 = 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑐𝑙𝑎𝑠𝑠𝑒𝑠 = 1 + 3.3 log(𝑁)
𝑘 = 1 + 3.3 log(29) = 5.82~6
𝑟𝑎𝑛𝑔𝑒 33
ℎ = 𝑐𝑙𝑎𝑠𝑠 𝑖𝑛𝑡𝑒𝑟𝑣𝑎𝑙 = = = 5.5~6
𝑘 6
LCL UCL Bin Frequency
7 12 12 4
13 18 18 11
19 24 24 6
25 30 30 7
31 36 36 0
37 42 42 1
More 0
e. Draw bar chart for dress colors of students, categorized by male and female.
Count of Column Labels
Gender
Row Labels Black Blue Brown Green Grey White Yellow (blank) Grand
Total
FEMALE 1 1 2 2 2 8
MALE 6 2 3 2 1 4 3 21
(blank)
Grand Total 7 3 5 2 3 6 3 29
f. Construct less than cumulative distribution for # hours studying.
Q.4. Complete a given table from the following histogram of the number of credit
cards possessed by 80 adults.
Lower class Upper class frequency Lower Upper Cumulative
boundary boundary class limit class limit frequency
-0.5 3.5 18 0 3 18
3.5 7.5 26 4 7 18+26=44
7.5 11.5 22 8 11 44+22=66
11.5 15.5 11 12 15 66+11=77
15.5 19.5 3 16 19 77+3=80
a. Prepare a cumulative frequency distribution.
Less than cumulative frequency Distribution
Less than 3.5 18
Less than 7.5 44
Less than 11.5 66
Less than 15.5 77
Less than 19.5 80
Q.5. The frequency Ogive of weights (in kg) of 40 persons is given below.
Frequency Ogive
40
37
33
19
Q.6. The mean of 6, 8, x + 2, 10, 2x - 1, and 2 is 9. Find the value of x and also the
value of the observation in the data.
6 + 8 + (𝑥 + 2) + 10 + (2𝑥 − 1) + 2
𝑋̅ =
6
6 + 8 + (𝑥 + 2) + 10 + (2𝑥 − 1) + 2
9=
6
(9 × 6) = 6 + 8 + (𝑥 + 2) + 10 + (2𝑥 − 1) + 2
54 = 26 + 𝑥 + 2 + 2𝑥 − 1
54 = 27 + 3𝑥
54 − 27 = 3𝑥
27
𝑥= =9
3
𝑥=9
𝑥 + 2 = 9 + 2 = 11
2𝑥 − 1 = 2(9) − 1 = 17
Q.7. The following observations are arranged in ascending order. The median of the
data is 25 find the value of x.
17 x 24 x+7 35 36 46
𝑥 + 7 = 25
𝑥 = 25 − 7 = 18
𝑥 = 18
Q.8. The mean of the following distribution is 2.6. Find the value of p and also the
value of the observation.
xi 0 1 2 3 4 5
fi 3 3 p 7 p-1 4
∑ 𝑓𝑋
𝑋̅ =
∑𝑓
xi 0 1 2 3 4 5
fi 3 3 p 7 p-1 4
fX 0 3 2P 21 4(P-1) 20
∑ 𝑓𝑋 0 + 3 + 2𝑃 + 21 + 4(𝑃 − 1) + 20
𝑋̅ = =
∑𝑓 3 + 3 + 𝑃 + 7 + (𝑃 − 1) + 4
44 + 2𝑃 + 4𝑃 − 4
2.6 =
17 + 𝑃 + 𝑃 − 1
6𝑃 + 40
2.6 =
2𝑃 + 16
2.6(2𝑃 + 16) = 6𝑃 + 40
5.2𝑃 + 41.6 = 6𝑃 + 40
41.6 − 40 = 6𝑃 − 5.2𝑃
1.6 = 0.8𝑃
1.6
𝑃= =2
0.8
𝑃=2
xi 0 1 2 3 4 5
fi 3 3 2 7 1 4
Q.9. A small company makes and sells cakes. There are 11 employees (including the
owner) in the company whose salaries are given in the table below.
Employe Store Mixer Mixer Baker Baker Head Icer 1 Icer 2 Salesperso Finance Owne
e Perso 1 2 1 2 Baker n Directo r
n r
Salary ($ 15 00 16 50 16 50 17 50 17 50 20 00 18 50 18 50 19 000 75 000 90 00
per Year) 0 0 0 0 0 0 0 0 0
Find the mean, median, and mode for the data of the salaries and determine which the
most appropriate measure of central tendency is.
∑ 𝑋 324000
𝜇= = = 29454.5455
𝑁 11
Employe 1st 2nd 3rd 4rth 5th 6th 7th 8th 9th 10th 11th
e
Salary ($ 15000 16500 16500 17500 17500 18500 18500 19 000 20000 75000 90000
per Year)
Median
𝜇̃ = 18500
Mode
𝜇̂ = 16500,17500,18500
90,000 is an outlier and because of this value we prefer median as measure of central
tendency.
Q.10. The table shows students’ math test scores.
Scores 0-10 11-21 22-32 33-43 44-54
No. of
2 5 30 10 3
students
∑ 𝑓𝑋 1427
𝑋̅ = = = 28.54
∑𝑓 50
Histogram
30
10
2 5 3
∑ 𝑊𝑋 8920
𝑋̅𝑊 = = = 89.20
∑𝑊 100
Q.12. 32 is the geometric mean of 16 and what other number?
1
𝐺. 𝑀 = (16 × 𝑥)2
1
32 = (16 × 𝑥)2
Taking LOG on both sides
1
log(32) = log [(16 × 𝑥)2 ]
1 1
1.5051 = log(16) + log(𝑥)
2 2
1
1.5051 = 0.60205 + log(𝑥)
2
1
0.9031 = log(𝑥)
2
1.8061 = log(𝑥)
𝑇𝑎𝑘𝑒 𝐴𝑁𝑇𝐼𝐿𝑂𝐺 𝑜𝑛 𝑏𝑜𝑡ℎ 𝑠𝑖𝑑𝑒𝑠
63.98822 = 𝑥
𝑥~64
OR
Taking Natural log on both sides
1
ln(32) = ln [(16 × 𝑥)2 ]
1 1
3.4657 = ln(16) + ln(𝑥)
2 2
1
3.4657 = 1.3863 + ln(𝑥)
2
1
2.0794 = ln(𝑥)
2
4.1588 = ln(𝑥)
𝑇𝑎𝑘𝑒 𝐸𝑥𝑝𝑜𝑛𝑒𝑛𝑡𝑖𝑎𝑙 𝑜𝑛 𝑏𝑜𝑡ℎ 𝑠𝑖𝑑𝑒𝑠
𝑒 4.1588 = 𝑥
63.9946 = 𝑥
𝑥~64
Q.13. The arithmetic mean and the geometric mean of two positive integers
are 10 and 8. Determine the two numbers.
𝑎+𝑏
𝑋̅ =
2
𝑎+𝑏
10 =
2
20 = 𝑎 + 𝑏 ……………(1)
1
𝐺. 𝑀 = (𝑎 × 𝑏)2
1
8 = (𝑎 × 𝑏)2
1
ln(8) = ln(𝑎𝑏)
2
4.1588 = ln(𝑎𝑏)
𝑒 4.1588 = 𝑎𝑏
63.9946 = 𝑎𝑏 ………..(2)
Solving equation 1 and 2 simultaneously
𝑎 = 20 − 𝑏
64 = (20 − 𝑏)𝑏
64 = 20𝑏 − 𝑏 2
𝑏 2 − 20𝑏 + 64 = 0
Solving quadratic equation
−(−20) ± √(−20)2 − 4(1)(64) 20 ± √144 20 ± 12
𝑏= = =
2(1) 2 2
If
20 + 12 32
𝑏= = = 16
2 2
𝑎 = 20 − 16 = 4
If
20 − 12 8
𝑏= = =4
2 2
𝑎 = 20 − 4 = 16
Q.14. The mean of four numbers is 37. The mean of the smallest three of
them is 34. If the range of data is 15 what will be mean for the three
largest numbers?
1𝑆𝑇 + 2𝑁𝐷 + 3𝑅𝐷 + 4𝑅𝑇𝐻
𝑋̅ =
4
1𝑆𝑇 + 2𝑁𝐷 + 3𝑅𝐷 + 4𝑅𝑇𝐻
37 =
4
148 = 1𝑆𝑇 + 2𝑁𝐷 + 3𝑅𝐷 + 4𝑅𝑇𝐻 ……………(1)
1𝑆𝑇 + 2𝑁𝐷 + 3𝑅𝐷
34 =
3
102 = 1𝑆𝑇 + 2𝑁𝐷 + 3𝑅𝐷………………………(2)
𝑅𝑎𝑛𝑔𝑒 = 𝑚𝑎𝑥 − min
15 = 4𝑟𝑡ℎ − 1𝑠𝑡
4𝑡ℎ = 15 + 1𝑠𝑡………………………………….(3)
𝐹𝑟𝑜𝑚 𝑒𝑞 (1)
148 = 102 + 4𝑟𝑡ℎ
4𝑟𝑡ℎ = 148 − 102 = 46
4𝑟𝑡ℎ = 46
From eq (3)
1𝑠𝑡 = 46 − 15 = 31
From eq (1)
148 = 31 + 2𝑛𝑑 + 3𝑟𝑑 + 46
117 = 2𝑛𝑑 + 3𝑟𝑑 + 46
So mean of largest three numbers
X 𝑋 − 𝑋̅ |𝑋 − 𝑋̅|
75 75 – 74 = 1 1
80 80 – 74 =6 6
85 85 – 74 = 11 11
60 60 – 74 = - 14 14
70 70 – 74 = - 4 4
SUM 0 36
∑ 𝑥 370
𝑋̅ = = = 74
𝑛 5
∑|𝑋−𝑋̅| 36
𝑀. 𝐷 = = = 7.2
𝑛 5
Q.16. A man travels from Jaipur to Agra by a car and takes 4 hours to cover
the whole distance. In the first hour he travels at a speed of 50 km/hr,
in the second hour his speed is 64 km/hr, in third hour his speed is 80
km/hr and in the fourth hour he travels at the speed of 55 km/hr. find
the average speed of the motorist.
1 1 1 1 −1
+ 64 + 80 +
𝐻𝑎𝑟𝑚𝑜𝑛𝑖𝑐 𝑚𝑒𝑎𝑛 = 𝐻. 𝑀 = (50 55)
4
0.06631 −1
𝐻. 𝑀 = ( )
4
𝐻. 𝑀 = 60.32
Q.17. The population in a city increased at the rate of 15% and 25% for two
successive years. In the next year it decreased at the rate of 5%. Find
the average rate of growth.
Hint: Let us assume that the population is 100
Percentage Population at
rise in the end of
Population year
𝑥𝑖
15 115
25 125
5 95
1
𝐺. 𝑀 = (115 × 125 × 95)3
𝐺. 𝑀 = 110.93
𝐺. 𝑀 = 10.93%
Q.18. Find the mean of a sample consisting of measurements 1⁄2 , 1⁄4 , 1⁄3 , 1⁄2 , 𝑎𝑛𝑑
1⁄ by using coded measurements 6, 3, 4, 6, and 2.
6
X 𝑌 = 12𝑋
1⁄ 6
2
1⁄ 3
4
1⁄ 4
3
1⁄ 6
2
1⁄ 2
6
𝑌 = 12𝑋
𝑌̅ = 12𝑋̅
∑ 𝑌 21
𝑌̅ = = = 4.2
𝑛 5
𝑌̅ = 12𝑋̅
4.2 = 12𝑋̅
4.2
𝑋̅ = = 0.35
12
Q.19. Faculty salaries for a random sample of teachers in the public school
system of a certain town were coded by dividing each salary by 1000.
Find the average salary of teachers if the coded values are 18, 15, 21,
19, 13, 15, 14, 23, 18 and 16 dollars.
𝑋
𝑌=
1000
18
15
21
19
13
15
14
23
18
16
𝑋
𝑌=
1000
𝑋̅
𝑌̅ =
1000
∑ 𝑌 172
𝑌̅ = = = 17.2
𝑛 10
𝑋̅
𝑌̅ =
1000
𝑋̅
17.2 =
1000
𝑋̅ = 17.2 × 1000 = 17200
Q.20. At the end of the cruise, guests pay one bill that covers all on-board
transactions. Suppose that 60 single travellers were surveyed as to their
on-board bills for a seven-day cruise from Los Angeles to the Mexican
Riviera. Following is a summary of the bills.
Amount($) Frequency
51–100 5
101–150 10
151–200 15
201–250 15
251–300 10
301–350 5
∑ 𝑓𝑋 12030
𝑋̅ = =
∑𝑓 60
̅
𝑋 = 200.5
Cumulative UCB
LCL UCL f LCB
frequency
51 100 5 5 50.5 100.5
101 150 10 15 100.5 150.5
151 200 15 30 150.5 200.5
201 250 15 45 200.5 250.5
251 300 10 55 250.5 300.5
301 350 5 60 300.5 350.5
ℎ 𝑛
𝑚𝑒𝑑𝑖𝑎𝑛 = 𝑋̃ = 𝑙 + ( − 𝑐)
𝑓 2
𝑛 60
= = 30
2 2
ℎ = 50
50
𝑋̃ = 150.5 + (30 − 15) = 150.5 + 50 = 200.5
15
iii. What do you say about shape of distribution? Symmetrical or skewed. Justify
your answer
2
2
∑ 𝑓𝑋 2 ∑ 𝑓𝑋
𝑆 = −( )
∑𝑓 ∑𝑓
2
2699515 12030 2
𝑆 = −( )
60 60
𝑆 2 = 4791.6667
𝑆 = √4791.6667 = 69.2218
𝑋̅ = 200.5
𝑆 = 69.2218
200.5 ± (1 × 69.2218)
(131.27 , 269.7218)
(131 𝑇𝑂 270)
Amount($) Frequency
51–100 5
101–150 10
151–200 15
201–250 15
251–300 10
301–350 5
10 + 15 + 15 + 10
𝑃𝑒𝑟𝑐𝑒𝑛𝑡𝑎𝑔𝑒 𝑜𝑓 𝑣𝑎𝑙𝑢𝑒𝑠 𝑓𝑎𝑙𝑙 𝑤𝑖𝑡ℎ𝑖𝑛 (𝑋̅ ± 1. 𝑆) = × 100
60
= 83.33%