0% found this document useful (0 votes)
21 views

Assignment PAS 1

This document contains an assignment on probability and statistics from the Department of Robotics & Artificial Intelligence at Shaheed Zulfikar Ali Bhutto Institute of Science & Technology University. The assignment contains 3 questions that assess calculating the mean, median, geometric mean, and mode from various data sets. The student is asked to find the mean and median of a data set of 10 numbers, the geometric mean of 12 numbers, and the median and mode from a frequency distribution table of student weights.

Uploaded by

Taimour Afridi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views

Assignment PAS 1

This document contains an assignment on probability and statistics from the Department of Robotics & Artificial Intelligence at Shaheed Zulfikar Ali Bhutto Institute of Science & Technology University. The assignment contains 3 questions that assess calculating the mean, median, geometric mean, and mode from various data sets. The student is asked to find the mean and median of a data set of 10 numbers, the geometric mean of 12 numbers, and the median and mode from a frequency distribution table of student weights.

Uploaded by

Taimour Afridi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

Shaheed Zulfikar Ali Bhutto Institute of Science & Technology University

DEPARTMENT OF ROBOTICS & ARTIFICIAL INTELLIGENCE

Total Marks: 04

Obtained Marks:

Probability and statistics


Assignment # 01

Last date of Submission: 1 Mar, 2024

Submitted To: Mr. Sohrab Ahmed

Student Name:

Reg. Number:

DEPARTMENT OF ROBOTICS & ARTIFICIAL INTELLIGENCE

P&S BS (AI)-2B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology University
Instructions: Copied or shown assignments will be marked zero. Late submissions are not
entertained in any case.
Q1: (Marks=1)
Find mean and median form following data set.
22, 25, 27, 45, 34, 25, 32, 31, 29, 30.

Mean
n=10
∑x= 22+25+27+45+34+25+32+31+29+30 = 300
Mean =∑x/n
=300/10
Mean =30

Median
Arranging data in to arranging order
45,34,32,31,30,29,27,22,25,25,27
Median=(n+1/2)th terms
=(10+1/2)th terms
=(5.5)th terms
=(5th+6th/2) terms
=30+29/2
=29.5

Q2: (Marks=1)
Find Geometric mean from the following data set.
32, 25, 12, 36, 25, 65, 45, 32, 45, 65, 75, 85

X LogX
32 1.50
25 1.39
12 1.07
36 1.55
25 1.39
65 1.81
45 1.65
32 1.50
45 1.65

P&S BS (AI)-2B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology University
65 1.81
75 1.87
85 1.92
∑log=19.11

G.M= Antilog [∑LogX/n]


G.M=Antilog [19.11/12]
G.M=Antilog (1.5925)
G.M=39.129

Q3: (Marks=2)
Consider the following frequency distribution. Calculate the median and mode weight of
students
Weight (in 31- 36- 41- 46- 51- 56- 61- 66- 71-
kg) 35 40 45 50 55 60 65 70 75
Number of 9 6 15 3 1 2 2 1 1
Students

Weight (in Number of (C.B) (C.F)


kg) student(f)
31-35 9 30.5-35.5 9
36-40 6 35.5-40.5 15
41-45 15 40.5-45.5 30
46-50 3 45.5-50.5 33
51-55 1 50.5-55.5 34
56-60 2 55.5-60.5 36
61-65 2 60.5-65.5 38
66-70 1 65.5-70.5 39
71-75 1 70.5-75.5 40
Total F=40

Median
Median=l+h/f(n/2-c)
=40.5+5/15(20-15)
=42.16

P&S BS (AI)-2B SZABIST-ISB


Shaheed Zulfikar Ali Bhutto Institute of Science & Technology University
Mode

Mode=l+(fm-f1/2fm-f1-f2)*h
=40.5+(15-6/2(15)-6-3)4
=42.21

P&S BS (AI)-2B SZABIST-ISB

You might also like