Summary Statistics: Displaying a Single Variable Page 1/3
Study the following data which displays a selections of variables from a study dataset.
ID |
Age |
Gender |
Height |
Blood group |
LDL† |
Feeling happy? |
Number of children |
Smoke? |
Social class |
1 |
25 |
F |
1.62 |
B |
150 |
Agree |
0 |
No |
I |
2 |
35 |
F |
1.58 |
O |
123 |
Strongly agree |
1 |
Yes |
II |
3 |
44 |
M |
1.35 |
A |
178 |
Disagree |
3 |
Yes |
I |
4 |
28 |
F |
1.54 |
AB |
205 |
Disagree |
0 |
No |
III |
5 |
35 |
M |
1.35 |
O |
229 |
Indifferent |
2 |
Yes |
I |
6 |
42 |
M |
1.21 |
B |
215 |
Agree |
2 |
Yes |
IV |
7 |
36 |
F |
1.76 |
A |
130 |
Strongly disagree |
1 |
No |
IV |
8 |
38 |
M |
1.57 |
A |
175 |
Disagree |
1 |
Yes |
V |
9 |
30 |
M |
1.47 |
AB |
240 |
Indifferent |
0 |
No |
III |
10 |
40 |
F |
1.18 |
B |
167 |
Strongly agree |
6 |
No |
I |
: |
: |
: |
: |
: |
: |
: |
: |
: |
: |
Welcome to the "Displaying a Single Variable" quiz. There are 10 questions to answer.
Please remember to click the Submit button for each separate question, and read the feedback comments!
Click the Next button to begin the quiz.
Q1. What is the name of this type of graph?

The correct answer is b). A bar chart is a very simple graph to construct which allows you to display the frequency counts or the percentages of a categorical variable. It is the most effective way to compare frequency counts or percentages graphically. In a bar chart, the horizontal axis represents the levels or categories of the variable of interest (categorical), while the vertical axis represents the frequency counts or the percentages. The special feature of this graph is that there is always a gap between the bars
Q2. What is the name of this type of graph?

The correct answer is d). The most common form of a histogram is obtained by splitting the range of the data into equal-sized intervals or bins (i.e. classes). In a histogram, the horizontal axis represents the bins of the variable of interest (continuous), while the vertical axis represents the frequency (i.e. counts for each bin). The number of bins used is important; generally between 5 and 15 classes should be used. This graph is a very useful tool for spotting outliers or potential errors in a dataset and visualising the distribution of the variable of interest. The special feature of this graph is that there is no gap between the bars
Q3. What is the name of this type of graph?

The correct answer is c). Alongside a histogram, a dot plot is an alternative way to display the distribution of a continuous variable. It can also be used to compare a continuous variable between groups. It plots one point for every observation, with similar values placed next to each other. It is also good at shows outliers or extreme values. This type of plot is impractical when there are too many observations as the points will be stuck to each other. The special feature of this graph is that it is constructed with dots, allowing you to identify each individual observation.
Q4. What is the name of this type of graph?

The correct answer is a). A pie chart is built up from a number of wedges that are each used to illustrate the percentage of observations in one category. The size of the angle for each wedge at the centre of the pie indicates the proportion of subjects within the corresponding category with respect to the whole sample size. The bigger the angle of the wedge, the larger the proportion of subjects in the category. The special feature of this graph is very obvious; it looks like a round cake or pizza. If there are too many categories it can be difficult to understand data in the chart.
Q5. Select the variable(s) that could be displayed by the chart shown.

The correct answers are b), d) and f). Age, Height and LDL are continuous variables and a histogram is an effective graph to illustrate the distribution of the variables.
Q6. Select the variable(s) that could be displayed by the chart shown.

The correct answers are c), e), g), h), i) and j). They are categorical variables, and a bar chart is an effective graph to illustrate either the frequency or percentage (or proportion) of each category for this type of variable.
Q7. Select the variable(s) that could be displayed by the chart shown.

The correct answer is k). This chart is generated when the individual values of a continuous variable are plotted as bars. It is not a histogram but could be considered as a bar chart if you had a categorical variable with numerous categories. If you ticked Gender, Blood group, Feeling happy, Number of child, Smoke and Social Class then this is acceptable.
Q8. Select the variable(s) that could be displayed by the chart shown.

The correct answers are b), d) and f). Age, Height and LDL are continuous variables and a box plot is an effective graph to illustrate the distribution of each of these variables, though a histogram may reveal more information.
Q9. Select the variable(s) that could be displayed by the chart shown.

The correct answers are c), e), g), h), i) and j). Gender, Blood group, Feeling happy, Number of child, Smoke or Social Class are categorical variables, a pie chart may be used to illustrate either percentage (or proportion) of each category for this type of variable, though a bar chart is often preferred. Pie charts are rarely found in journal publications, but appear in presentations or posters.
Q10. Select the variable(s) that could be displayed by the chart shown.

The correct answers are b), d) and f). Age, Height and LDL are continuous variables and a dot plot may be used to illustrate the distribution of each of these variables, though a histogram is more frequently encountered.
You have completed the quiz and here is your result:
If you would like to try this quiz again, click here.
You have not answered questions 1, 2, 3, 4, 5, 6, 7, 8, 9, 10.
Please go back and complete the questions.
Please remember to click submit for each question, and read the feedback comments!
Score 0/0