You are on page 1of 3

King Khalid University Subject Code: 217 AAL - 3

College of Arts & Sciences Subject Name: Statistical


Dhahran Al Janub Programming
Department of Computer Science

Assignment (1) (Lab)

Instructions:
1. Do the assignment using your own handwriting.(do not use office word)
2. Write your name, Student ID at the provided space.
3. Answer all the questions
4. For Assignment, total mark is 5.

Student ID: 439809534


Student Name: ‫عبد هللا بن عايض مدراج‬

Q1: The Quick oil company has a number of outlets in the metropolitan
Seattle area. The numbers of changes at the Oak Street outlet in the past
20 days are:

65, 98, 55, 62, 79, 79, 59, 51, 90, 72, 56, 70, 62, 66, 80, 94, 63, 73, 71, 85

Calculate the Arithmetic Mean from the following data.

=71.5

1
Q2: The following table shows the number of plants in 20 houses in a
group

Number of Plants 0 - 2 2 - 4 4 - 6 6 - 8 8 - 10 10 - 12 12 - 14
Number of Houses 1 2 2 4 6 2 3

- Find the mean number of plans per house.


We have
Number of Houses Class Mark
Number of Plant fixi
(fi) (xi)
0-2 1 1 1×1=1
2-4 2 3 2×3=6
4-6 2 5 2 × 5 = 10
6-8 4 7 4 × 7 = 28
8 - 10 6 9 6 × 9 = 54
10 - 12 2 11 2 × 11 = 22
12 -14 3 13 3 × 13 = 39

∑fi= 1 + 2 + 2 + 4 + 6 + 2 + 3 = 20

∑fixi=1 + 6 + 10 + 28 + 54 + 22 + 39 = 160

Therefore, mean = ∑(fixi)/ ∑fi= 160/20 = 8 plants

2
Q3: Calculate median from the following data.

Group 60 – 65 – 69 70 – 74 75 – 79 80 – 84 85 – 89

64

Frequency 1 5 9 12 7 2

Solution:
Cumulative
Group f Class Boundary
Frequency
60 – 64 1 59.5 – 64.5 1
65 – 69 5 64.5 – 69.5 6
70 – 74 9 69.5 – 74.5 15
75 – 79 12 74.5 – 79.5 27
80 – 84 7 79.5 – 84.5 34
85 – 89 2 84.5 – 89.5 36
Median=l+hf(n2–c)Median=l+hf(n2–c) ∵(n2)th∵(n2)thitem =(362)th=18th=(362)th=18thitem

Median=74.5+512(18–15)=74.5+512(3)=75.75Median=74.5+512(18–
15)=74.5+512(3)=75.75

You might also like