Professional Documents
Culture Documents
Gender No. of Hours Studied Per Day No. of Cups of Coffee Drank Per Day Grade Point Average
Gender No. of Hours Studied Per Day No. of Cups of Coffee Drank Per Day Grade Point Average
MAED –EA
LESSON 3
Data were collected from 10 sophomores at a local university, including their gender, the number of hours they
studied per day (hstudied), the number of cups of coffee they drank per day (cups), and their grade point
average (gpa).
a. Create a bar chart for the categorical variable.
b. Create histogram for continuous variables.
c. Create scatterplot using the variables gpa and hstudied.
d. Create a boxplot for the variable cups.
Female 6 5 3.78
Female 2 3 2.65
Female 3 2 3.2
Male 1 0 2.05
Male 5 3 2.98
Male 3 2 3.5
Female 5 6 3.32
The table below contains data on 15 people including whether or not they had allergies (allergy), the number of visits
made to a doctor over the last year (docvisit), and the number of days missed from work during the same time period
(daymiss).
Allergy No. of visits made to doctors No. of days missed from work
Yes 3 5
No 2 7
No 1 3
No 0 12
No 1 15
Yes 15 35
No 3 4
No 5 12
Yes 4 9
No 1 10
a. Create a bar chart for the categorical variable.