Professional Documents
Culture Documents
CHD 322 CAT Solutions - Do The Handrwiting Part
CHD 322 CAT Solutions - Do The Handrwiting Part
The CAT assignment should be submitted by 19/3/2023 for marking. It should be hand written.
Solution
i. The mean:
To calculate the mean, we need to multiply each midpoint by the corresponding frequency, add up
Mean = Σ(midpoint × f) / Σf = ((20 × 30) + (30 × 40) + (40 × 100) + (50 × 110) + (60 × 80) + (70 × 30) +
To find the median, we need to arrange the data in ascending order and find the middle value.
Class interval Frequency Cumulative Frequency 15-25 30 30 25-35 40 70 35-45 100 170 45-55 110
Median class = 45-55 Median position = (n/2)th term = (400/2)th term = 200th term Median = l +
(h/f) × (m-cumulative frequency of the class previous to the median class) = 45 + (10/110) × (200-
The mode is the value that occurs most frequently. Here, we can see that the plasma level 45-55 has
To calculate the mean deviation, we need to find the deviation of each midpoint from the mean,
multiply each deviation by the corresponding frequency, add up the results, and divide by the total
frequency.
Mean deviation = Σ|midpoint - mean| × f / Σf = ((|20 - 47.78| × 30) + (|30 - 47.78| × 40) + (|40 -
47.78| × 100) + (|50 - 47.78| × 110) + (|60 - 47.78| × 80) + (|70 - 47.78| × 30) + (|80 - 47.78| × 10)) /
Using the table below, you can draw a cumulative frequency curve on graph paper by plotting
the values of midpoint and cumulative frequencies.
The midpoint lies on the X-axis while the cumulative frequency lies on the y a-xis
σ =
Plasma level No. Of street families(f) Midpoint, x x-47.78 (x-47.78)2
15 - 25 30 20 -27.78 771.7284
25- 35 40 30 -17.78 316.1284
35- 45 100 40 -7.78 60.5284
45 - 55 110 50 2.22 4.9284
55 - 65 80 60 12.22 149.3284
65 - 75 30 70 22.22 493.7284
75 - 85 10 80 32.22 1038.128
Σ(x-47.78)2 2834.499
√
σ = 2834.499
400
= 2.662
vii. Variance
Variance = 2.6622
= 7.086
Q2. Suppose the following information was collected about a sample of students from
GLUK..
IV. The probability that the student is not a first year is:
P(Not first year) = 1 - P(First year) = 1 - 0.2857 = 0.7143
Therefore, the probability that a student is not a first year is 0.7143 or 71.43%.
VI. The probability that the student is a non-resident first year is:
P(Non-resident and First year) = (number of non-resident first year students) / (total number
of students) = 200 / 7000 = 0.0286
Therefore, the probability that a student is a non-resident first year is 0.0286 or 2.86%.
VII.
The probability that a student is a first-year given that he or she commutes can be calculated
using Bayes' theorem, which states that the conditional probability of A given B is equal to
the probability of B given A times the probability of A, divided by the probability of B. In
this case, let A be the event that the student is a first-year, and let B be the event that the
student commutes. Then we have:
VII
To find the probability that a student is a freshman/woman or a commuter, we can use the
addition rule for events that are not mutually exclusive, which states that the probability of
either of two events occurring is the sum of their individual probabilities minus the
probability of their intersection (i.e., the probability that both events occur at the same time).
Let A be the event that the student is a freshman/woman, and let B be the event that the
student commutes. Then we have:
We can use the information given in the table to calculate each of these probabilities:
P(A) is the probability that a student is a freshman/woman, which is not given in the table.
P(B) is the probability that a student commutes, which we calculated in part VII:
P(B) = 0.5 or 50%
P(A and B) is the probability that a student is both a freshman/woman and a commuter. Since
we don't have enough information to calculate this directly, we need to use the fact that:
P(A and B) = P(B | A) * P(A)
In other words, the probability that a student is both a freshman/woman and a commuter is
equal to the probability that a commuter is a freshman/woman times the probability that any
given student is a freshman/woman. We don't have the first probability, but we can assume
that it is not 0 (i.e., commuting students are not a disjoint set from freshman/women), and use
the fact that:
In other words, the probability that a student is both a freshman/woman and a commuter
cannot be greater than the smaller of the two individual probabilities. Therefore, we can
assume that:
This means that the probability that a student is either a freshman/woman or a commuter is at
least 0, but we cannot say anything more without knowing the value of P(A).
Q3.a) The number of fatalities in motor accidents in one week are as follows-:
Day Number of fatalities
(X)
Sunday 4
Monday 6
Tuesday 2
Wednesday 0
Thursday 3
Friday 5
Saturday 8
Total 28
4 0 0
6 2 4
2 -2 4
0 -4 16
3 -1 1
5 1 1
8 4 16
42
σ = 42
√ 7
¿6
b). Calculate the standard deviation life of a batch of electric light bulbs following the
following columns in the table below.
Life in hundreds No. of bulbs Mid-point fx f(x-24.375)2
of hrs f x
0-5 4 2.5 10 1914.063
5-10 9 7.5 67.5 2562.891
10- 20 38 15 570 3339.844
20 - 40 33 30 990 1044.141
40 & over 16 50 800 10506.25
Total Σf =100 Σfx=
2437.5
Sum = 19367.19
Standard deviation , σ =
√ 19367.1 9
10 0
= 13.92
Lecturer: L.Kirika