LAB REPORT BISMA AKBAR 2019-Pid-23

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 12

UNIVERSITY OF ENGINEERING AND TECHNOLOGY, LAHORE

Course Statistics
Submitted To Sir Abdul Rehman
Department PID
Semester 4th

STATISTICS LAB REPORT


ASSIGNMENT 1

Submitted By: Bisma Akbar (2019-PID-23)

Submission Date 2/07/2021


1. The number of faculty listed for a variety of private colleges which offer only
bachelor’s degrees is listed below. Use Minitab to construct a frequency
distribution with 7 classes, a histogram, a frequency polygon, and an ogive.
Discuss the shape of this distribution. What proportion of schools have 180 or
more faculty?
165 221 218 206 138 135 224 204 70 210 207 154
155 82 120 116 176 162 225 214 93 389 77 135 221
161 128 310
Solution:
Variable Minimum Maximum Range
faculty 70.0 389.0 319.0

Tally for Discrete Variables: Faculty

faculty f pf c.f pcf


116-161 9 32.14 9 32.14
162-207 6 21.43 15 53.57
208-253 7 25.00 22 78.57
300-345 1 3.57 23 82.14
346-391 1 3.57 24 85.71
70-115 4 14.29 28 100.00
N= 28

Histogram

Histogram of Faculty

10

8
Frequency

0
40 80 120 160 200 240 280 320 360 400
Faculty
Frequency Polygon

Scatterplot of f vs midpoint

5
f

0
100 150 200 250 300 350 400
midpoint

Ogive

Scatterplot of c.f vs upper class boundries


30

25
cumulative frequency

20

15

10

100 150 200 250 300 350


upper class boundries
The shape of the distribution in case of frequency polygon is increasing at one point and then
decreasing while in ogive it is decreased at one point and then increasing.
The proportion of school for 180 or more faculty is 53.54%
By using the calculation:
21.4%+25%+3.57%+3.57%= 53.54%
a)
Variable Mean Q1 Median Q3 Mode P41
faculty 175.6 129.8 163.5 217.0 135, 221 154.8
b)
StDev CoefVar
69.7 39.70

2. The number of days that selected U.S. metropolitan areas failed to meet
acceptable air quality standards is shown below for 1998 and 2003. Using Minitab
construct grouped frequency distributions and a histogram for each set of data, and
compare your results.
1993
43 76 51 14 0 1020 0 5 17 67 2538 0 56 8 0 914 5 37 14 95 2023 12 33 0 3 45
2003
10 11 14 20 15 6 31 5 88 1 1 16 14 19 20 9 138 22 4 19 20 9 138 22 13 10 20 20
20 12
Solution:
Days selected in 1993 data distributions:
Tally for Discrete Variables: days in 1993

Classes f p.f C.f pcf


0-19 16 53.33 16 53.33
20-39 7 23.33 23 76.67
40-59 4 13.33 27 90.00
60-79 2 6.67 29 96.67
80-99 1 3.33 30 100.00
N= 30
Days selected in 2003 data distributions:
Tally for Discrete Variables: days in 2003

Days in 2003 f p.f C.f pcf


0-23 26 86.67 26 86.67
120-143 2 6.67 28 93.33
24-47 1 3.33 29 96.67
72-95 1 3.33 30 100.00
N= 30
3. The scores of health care quality as calculated by a professional risk
management company are listed for selected states. Use Minitab to construct a
frequency distribution, a histogram, a frequency polygon, and an ogive.
118.2 114.6 113.1 111.9 110.0 108.8
108.3107.7107.0106.7105.3103.7103.2102.8101.6
99.8 98.1 96.6 95.7 93.6 92.5 91.0 90.0 87.1 83.1
Also find
a. Mean, median, first quartile, third quartile, 74𝑡ℎ percentile.
b. Standard deviation & coefficient of variation.
Solution:
Descriptive Statistics: scores

Variable Minimum Maximum Range


scores 83.10 118.20 35.10

Tally for Discrete Variables: scores

Scores f P.f C.f Pcf


101.4-107.4 7 28.00 7 28.00
107.5-113.5 6 24.00 13 52.00
113.6-119.6 2 8.00 15 60.00
83.1-89.1 2 8.00 17 68.00
89.2-95.2 4 16.00 21 84.00
95.3-101.3 4 16.00 25 100.00
N= 25

Histogram
Frequency polygon

Ogive

a)

Variable Mean Q1 Median Q3 Mode P74


scores 102.02 94.65 103.20 108.55 2 94.6
b)
Variable StDev CoefVar
scores 9.09 8.91

4. The amount of protein (in grams) for a variety of fast-food sandwiches is


reported here. Construct a frequency distribution using 6 classes. Draw a
histogram, a frequency polygon, and an ogive for the data, using Minitab. Describe
the shape of the histogram.
23 30 20 27 44 26 35 20 29 29 25 15 18 27 19 22 12 26 34 15 27 35 26 43 35 14
24 12 23 31 40 35 38 57 22 42 24 21 27 33
Also find
a. Mean, median, mode, first quartile, third quartile, 57𝑡ℎ percentile.
b. Standard deviation & coefficient of variation.
Descriptive Statistics: Protien

Variable Minimum Maximum Range


Protien 12.00 57.00 45.00

Tally for Discrete Variables: Protien

Protien f P.f C.f Pcf


12-19 7 17.50 7 17.50
20-27 17 42.50 24 60.00
28-35 10 25.00 34 85.00
36-43 4 10.00 38 95.00
44-51 1 2.50 39 97.50
52-59 1 2.50 40 100.00
N= 40
Frequency Polygon

Ogive

a)
Variable Mean Q1 Median Q3 Mode P57
Protien 27.63 21.25 26.50 34.75 27, 35 27
b)
Variable StDev CoefVar
Protien 9.62 34.83
5. A survey was taken on how much trust people place in the information they read
on the Internet.
Using Minitab to construct a categorical frequency distribution for the data. A =
trust in everything they
read, M = trust in most of what they read, H = trust in about one-half of what they
read, S = trust in a small
portion of what they read. (Based on information from the UCLA Internet Report.)
MMMAHMSMHMSMMMMAMM
AMMMHMMMHMHMAMMMHM
MMMM
a. Construct a cumulative frequency distribution, relative frequency distribution,
percent frequency distribution and percent cumulative frequency distribution.
b. on the basis of data in frequency distribution find the proportion(percentage) of
people who have trust in most of what they read on internet.
c. What proportion (percentage) of data is not the people who have trust in about
one-half they read on internet?
d. Represent the data by a suitable bar or chart.
Solution:
a)
Tally for Discrete Variables: chances

chances Count Percent CumCnt CumPct ReCount


A 4 10.00 4 10.00 0.10
H 6 15.00 10 25.00 0.15
M 28 70.00 38 95.00 0.70
S 2 5.00 40 100.00 0.05
N= 40

b) The proportion of people who have trust in most of what they read on internet is about 70%.
c) The proportion of data that is not the people who have trust in about one-half they read on
internet is 85%.
By using calculation
10%+70%+5%= 85%.
d) Data representation by chart
Bar Chart
30

25

20
counts

15

10

0
A H M S
Scenario

6. Data from a sample of 30 soft drinks purchases is given.


Coke diet coke sprite zero Fanta diet coke coke diet coke sprite sprite zero
coke coke coke coke sprite sprite Fanta Fanta coke diet coke sprite Coke
sprite sprite coke sprite diet coke
a. Using Minitab to construct a frequency, cumulative frequency, relative frequency, percentage
frequency and percentage cumulative frequency distributions.
b. on the basis of data in frequency distribution find the proportion(percentage) used by Coke &
Diet Coke.
c. What proportion of data is Sprite zero?
d. Which soft drink has minimum customers and which one has the highest maximum.
e. Represent the data by a suitable bar or chart.
Solution:
Tally for Discrete Variables: drinks

a)

drinks Count Percent CumCnt CumPct relcount


coke 12 40.00 12 40.00 0.4000
diet 3 10.00 15 50.00 0.1000
diet coke 2 6.67 17 56.67 0.0666
Fanta 3 10.00 20 66.67 0.1000
sprite 8 26.67 28 93.33 0.2666
sprite zero 2 6.67 30 100.00 0.0666
N= 30

b) the proportion used by Coke is 40% & Diet Coke is 6.6.7%


c) The proportion for sprite is 6.67%
d) diet coke and sprite zero has minimun customers while coke has maximum customers.
e) Data by chart

Chart for Drinks

12

10

8
counts

0
coke diet diet coke Fanta sprite sprite zero
drinks

You might also like