PUBH151 Lab Exercises W3 Student's

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

Biostatistics for Health Sciences course (PUBH151)

Lab exercises – Week 3


Student’s copy

Page 1 of 8
Exercise 1

Box 1. Maternal smoking status during pregnancy

No No No No No No No No Yes No
No No No No No No No No Yes No
No No No No No Yes No No No No
Yes No Yes No No No No No No No
No No No No No No No No No No
No No No Yes Yes No No No No No
No No Yes No No Yes No No No No
Yes No No No Yes Yes No No Yes No
No No No No No No No No No No
No Yes No No No Yes No No Yes No
No Yes Yes Yes No No No Yes No Yes

A. Construct a table presenting the frequency and relative frequency (%) for maternal smoking data
shown in Box 1.

B. What percentage of women smoked during pregnancy?

Page 2 of 8
Exercise 2

The table below presents level of agreement with the statement “The use of smartphone interferes with
my learning in the class” among 717 QU students

Level of agreement Frequency


Strongly agree 172
Agree 199
Weakly agree 156
Weakly disagree 79
Disagree 68
Strongly disagree 43

A. Calculate the relative frequencies (%) and cumulative relative frequency (%) for the frequency data
shown in the table.
B. What percentage of students agree that the use of smartphone interferes with their learning in the
class?
C. What percentage of students strongly disagree that use of smartphone interferes with their learning
in the class?
D. What percentage of students who either strongly agree, agree, or weakly agree that use of
smartphone interferes with their learning in the class?
E. What percentage of students who either strongly disagree, disagree, or weakly disagree that use of
smartphone interferes with their learning in the class?

Page 3 of 8
Exercise 3

The box below shows the ages of 40 individuals aged 0 to 24 years.

1 11 13 10 14 19 3 11
10 15 6 3 7 21 23 20
16 2 12 16 17 12 2 18
14 18 22 11 10 22 15 23
5 8 4 8 24 9 7 13

A. Construct a frequency table presenting the frequency, relative frequency (%) and cumulative
frequency (%) for the following age groups: 0-4, 5-9, 10-14, 15-19, 20-24.
B. What is the percentage of individuals aged 0-4 years?
C. What is the percentage of individuals aged 20-24 years?
D. What is percentage of individuals aged 15-19 or younger?

Page 4 of 8
Exercise 4

A cross-sectional survey included 551 female and 166 male students from QU. The study showed that
110 and 319 of male and female students are addicted to smartphone.

A. Cross-tabulate this data by placing gender categories in rows and smartphone addiction categories
(yes, no) in columns.
B. Calculate within-row relative frequencies (%) and add them to the table.
C. What does the table suggest about the possibility of a relationship between gender and smartphone
addiction with justification?

Page 5 of 8
Exercise 5

Figure 1. Box plot of smartphone addiction scores among QU students (n=717)

Write down the values of the 0th, 25th, 50th, 75th, and 100th percentiles and the interquartile range (IQR)
for smartphone addiction scores and interpret their values.

Page 6 of 8
Exercise 6

Figure 1. Box plot of daily duration of smartphone use in hours among QU students (n=717)
9 10 11 12 13 14 15
Daily duration of smartphone use in hours
8
7
6
5
4
3
2
1
0

Females Males

Overall, which students use their smartphones for longer durations?

Page 7 of 8
Exercise 7

Name the shape for the following frequency distributions.

250
200150
Frequency
100 50
0
20 40 60 80
Age

Distribution 1: Distribution 2:

Distribution 3: Distribution 4:
200
80

150
60

Frequency
Frequency

100
40

50
20

0 2 4 6 8
0

0 20 40 60 80

Distribution 5: Distribution 6:
60 40
Frequency
20
0

10 20 30 40 50 60

Distribution 7: Distribution 8:

Page 8 of 8

You might also like