Presentation is loading. Please wait.

Presentation is loading. Please wait.

Homework #2 solution Q1: Suppose you have a sample from a sport club and the distribution of the sample as:   Tennis Basket ball Soccer Hand ball Male.

Similar presentations


Presentation on theme: "Homework #2 solution Q1: Suppose you have a sample from a sport club and the distribution of the sample as:   Tennis Basket ball Soccer Hand ball Male."— Presentation transcript:

1 Homework #2 solution Q1: Suppose you have a sample from a sport club and the distribution of the sample as: Tennis Basket ball Soccer Hand ball Male 15 20 28 25 Female 17

2 Homework #2 solution Plot bar chart for male and female separately

3 Homework #2 solution For Female

4 Homework #2 solution Plot companying bar chart over the entire club.

5 Homework #2 solution Plot Pie chart for Male and Female. a) For Male

6 Homework #2 solution For Male

7 Homework #2 solution For female

8 Homework #2 solution For female

9 Homework #2 solution Suppose you have the data set {5.1, 1.5, 1.9, 2.7, 4.5, 0.8, 4.1, 2.1,2.4, 1.2, 1.0, 3.5, 1.9} Calculate: mean –median- mean deviation-interquartile range- variance standard deviation- coefficient of variation.

10 Homework #2 solution Sort data as:
{0.8,1,1.2,1.5,1.9,1.9,2.1,2.4,2.7,3.5,4.1,4.5,5.1}

11 Homework #2 solution Sort data as:
{0.8,1,1.2,1.5,1.9,1.9,2.1,2.4,2.7,3.5,4.1,4.5,5.1} Mean deviation = 1.127 Deviation interquartiles = Q3 – Q1 Position of Q3 = * 14 = 10.5

12 Homework #2 solution Position of Q1 = 0.25 * 14 = 3.5
Then Deviation interquartiles = 3.8 – 1.35 = 2.45

13 Homework #2 solution Variance

14 Homework #2 solution Plot Box plot

15 Homework #2 solution Construct a stem and leaf diagram.
Minimum vale = 0.8 Maximum value = 5.1 Frequency 0 | 8 1 1 | 2 | 3 | 5 1 4 | 15 2 5 | 1 1

16 Homework #2 solution Suppose you have a marks of 59 student as {37, 51, 68, 55, 9, 18,54, 38, 32, 66, 19, 48, 6, 7,11 59, 13, 37, 36, 56, 58, 47, 41, 39, 21, 39, 49, 8, 17, 19, 15, 12, 67, 22, 23, 25, 21, 31, 29, 46, 34, 47, 33, 28, 27, 29, 25, 43, 49, 44, 41, 26, 36, 35, 46, 45,34,31,38}

17 Homework #2 solution Construct a frequency table for above data set with 7 classes and the length of each class is 10.

18 Homework #2 solution Frequency table for above. class frequency x x^2
fx fx^2 0 - 10 4 5 25 20 100 8 15 225 120 1800 11 625 275 6875 35 1225 525 18375 12 45 2025 540 24300 6 55 3025 330 18150 3 65 4225 195 12675 Total 59 2005 82275

19 Homework #2 solution Plot: Histograms

20 Homework #2 solution Polygon

21 Homework #2 solution Ogive

22 Homework #2 solution Box plot
ملاحظة تم حساب أقل قيمة وأكبر قيمة وكذلك الربيع الاول والوسيط والوسط الحسابي ويمكن اضافتها يدوياً على رسم الصندوق

23 Homework #2 solution Calculate mean – median – mode -interquartile range- variance – standard deviation. Median Step (2) =59/2=29.5

24 Homework #2 solution Step(3): the median class is 30-40
Step (4): Lm =30 , Fm-1 = 23 , fm =15 , Cm = 10 Step (5)

25 Homework #2 solution IQR=Q3-Q1 IQR = Q3 - Q1 = = 22.94

26 Homework #2 solution Table class frequency R.F x x^2 fx fx^2
cumulative 0-10 4 5 25 20 100 0.067 10:20 8 15 225 120 1800 0.2023 20:30 11 625 275 6875 0.389 30:40 35 1225 525 18375 0.643 40:50 12 45 2025 540 24300 0.846 50:60 6 55 3025 330 18150 0.948 60:70 3 65 4225 195 12675 1 Total 59 2005 82275

27 Homework #2 solution Variance

28 Homework #2 solution You want to buy a new car: One car has a speed of 160 km/h, consume 11 litter of fuel/km and its capacity is 5 persons, another car has a speed of 180 km/h, consume 12 litter of fuel/km and its capacity is 4 persons. Which is the better? and how? Geometric mean for the first

29 Homework #2 solution Geometric mean for the first
Geometric mean for the second The first one is better because it have the maximum geometric mean


Download ppt "Homework #2 solution Q1: Suppose you have a sample from a sport club and the distribution of the sample as:   Tennis Basket ball Soccer Hand ball Male."

Similar presentations


Ads by Google