Univariate and Bivariate Analysis
"How tall is our class?" and "do taller students have bigger hand spans?" sound similar, but they need completely different kinds of analysis. The first looks at one variable, the second at two.
Printable Worksheets
Print or save as PDF, or build a custom worksheet from any module's questions.
A class collects data: each student's height, and each student's hand span. Two questions come up: "What is the typical height in our class?" and "Do students with bigger hands tend to be taller?"
How many variables does each question use? Would you analyse the two questions in the same way, or differently? Why?
Univariate analysis means analysing one variable on its own (the prefix "uni" means one). You are describing the distribution of a single set of values: what they look like when you line them all up. The tools that suit one variable include frequency tables, dot plots, histograms and bar charts. To summarise the variable you describe its centre using a mean, median or mode, and its spread using the range, exactly the descriptive statistics you practised in Lesson 12.
For example, "What is the typical shoe size in Year 9?" is a univariate question. You collect one number from each student, build a dot plot, and report that the most common size is 8 and the values range from 5 to 11. You are not comparing shoe size against anything else, you are simply describing one variable well.
"How many hours of sleep did each student get last night?" is univariate. You gather one number per student, draw a histogram, then report the centre (median 8 hours) and the spread (range from 5 to 10 hours). One variable, fully described.
When the Australian Bureau of Statistics reports the median age of the Australian population, that is univariate analysis. It takes one variable, age, across millions of people and describes its centre and spread, without yet linking it to anything else.
Univariate does not mean "only one data point". You can have thousands of values, the "uni" refers to one variable (one thing being measured), not one measurement.
Know
- Univariate analysis describes one variable; bivariate analysis compares two variables.
- Which display suits each type, dot plots and histograms for one variable, scatter plots for two.
Understand
- How counting the variables in a question tells you which analysis it needs.
- How a scatter plot shows the direction and rough strength of a relationship.
Can Do
- Classify a question or analysis as univariate or bivariate.
- Read a scatter plot and describe its trend in words.
Bivariate analysis means analysing two variables together to see whether there is a relationship between them (the prefix "bi" means two). Instead of describing one column of data, you now have two measurements for each record and you ask: as one changes, what happens to the other? The right tool depends on the kind of variables. For two numerical variables you use a scatter plot. For two category variables you use a two-way table (a contingency table). When one variable is time, a line graph shows how the other changes over that time.
For example, "Do taller students have bigger hand spans?" is bivariate. Each student gives two numbers, height and hand span, so each becomes one point on a scatter plot. If the points rise from lower left to upper right, taller students do tend to have bigger hand spans, and we say the two variables move together.
"Does temperature affect ice cream sales?" is bivariate. For each day you record two numbers, the temperature and the number of ice creams sold. Plotted together, warmer days tend to sit higher up, showing the two variables rise together.
A bivariate question needs two measurements from the same record. Measuring height in one class and hand span in a different class is not bivariate, because the pairs are not linked.
A student labels three analyses. One label is wrong, click it.
- Drawing a histogram of every student's resting heart rate: univariate.
- Plotting study hours against test score on a scatter plot: univariate.
- Counting how often each eye colour appears in a frequency table: univariate.
Deciding which analysis a question needs is simpler than it sounds: count the variables in the question. If the question is about one variable, "how tall is our class?", "what is the typical test score?", you do univariate analysis and describe its distribution. If the question links two variables, "do taller students have bigger hand spans?", "does temperature affect sales?", you do bivariate analysis and look for a relationship.
A useful clue: bivariate questions usually contain a joining word such as "affect", "relate to", "depend on", or "compared with". Univariate questions usually ask "what is", "how many" or "how typical" about a single thing. Once you know the count, the right tool follows: one variable points to a dot plot or histogram, two numerical variables point to a scatter plot, and two categories point to a two-way table.
"What is the average rainfall in Sydney each month?" names one variable, rainfall, so it is univariate. "Does rainfall affect how many people visit the beach?" names two variables, rainfall and beach visits, so it is bivariate.
Do not be fooled by extra words. "What is the typical height of Year 9 boys?" still names just one variable, height. The phrase "Year 9 boys" only describes who you measured, it is not a second variable being compared.
A scatter plot is the main tool for bivariate analysis of two numerical variables. Each point is one record with two values, one read off the horizontal axis and one off the vertical axis. To read a scatter plot, describe two things. First the direction of the trend: a positive relationship means the points rise from left to right (as one variable goes up, so does the other); a negative relationship means they fall from left to right (as one goes up, the other goes down); and if the points are scattered with no slope, there is no relationship. Second, describe roughly how strong the trend is: points hugging a clear line show a strong relationship, while a loose cloud that only leans a little shows a weak one.
Look at the scatter plot below of height against arm span for ten students. Each dot is one student. The points rise from the lower left to the upper right, so the trend is positive: taller students tend to have a longer arm span. Because the points sit close to an upward line, the relationship looks fairly strong. Important: a clear trend like this still does not prove that being tall causes a long arm span, that careful distinction between a relationship and a cause is exactly what you will tackle in Lesson 14.
On a scatter plot of "hours of screen time before bed" against "hours of sleep", the points fall from left to right, more screen time pairs with less sleep. That is a negative trend, described straight from the slope of the points.
Researchers at the CSIRO use scatter plots to explore relationships in environmental data, for example plotting ocean temperature against coral bleaching, or rainfall against crop yield. The scatter plot is often the first step that reveals whether two measurements move together at all.
A positive trend in a scatter plot only tells you the two variables move together. It does not tell you that one causes the other, you will untangle correlation from cause in Lesson 14.
Univariate worked example. A class records shoe sizes: 5, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 10, 10, 11. That is one variable, so this is univariate. Build a frequency table, draw the dot plot (shown earlier), then summarise: the mode is 8 (it appears six times), the values range from 5 to 11, and the distribution is fairly symmetric around 8. The whole job is describing one variable clearly.
Bivariate worked example. The same class now records, for ten students, both height and arm span: (142, 141), (150, 149), (155, 153), (158, 158), (162, 164), (166, 169), (170, 173), (174, 178), (178, 182), (182, 187) in centimetres. That is two measurements per student, so this is bivariate. Plot each pair as one point (the scatter plot above), then describe the trend: the points rise from lower left to upper right, so taller students tend to have a longer arm span, a positive and fairly strong relationship. Notice how the same class data answered a one-variable question one way and a two-variable question a completely different way.
If your question were "do students who study more get higher marks?", you would treat each student's (study hours, mark) as one point, plot all of them, and read the slope. Two variables, one scatter plot, one trend to describe, classic bivariate analysis.
When you switch from univariate to bivariate, do not just stack two dot plots side by side. Bivariate analysis needs the two values paired per record on the same graph, that pairing is what reveals the relationship.
A scientist plots daily maximum temperature against the number of cold drinks sold at a kiosk for 30 days. The points rise from lower left to upper right. Describe the trend in one sentence, and state whether this is univariate or bivariate.
How close was your prediction?
Nice, you read both the count of variables and the direction of the trend.
Good to notice, two measurements per day means bivariate, and rising points mean a positive trend.
Speed Round · 6 questions
True or false? Tap as fast as you can. Build a streak.
Univariate analysis looks at one variable on its own.
A scatter plot is used to compare two numerical variables.
A dot plot is the best tool for showing a relationship between two variables.
If points on a scatter plot rise from left to right, the trend is positive.
A clear trend on a scatter plot proves that one variable causes the other.
A two-way table is a tool for bivariate analysis of two category variables.
How are you completing this lesson?
Think back to the two class questions from the start: "how tall is our class?" and "do taller students have bigger hand spans?"
Which one is univariate and which is bivariate, and what display would you use for each?
Quick Check · 5 questions
Check Your Understanding · 3 questions
1. In your own words, explain the difference between univariate and bivariate analysis, and give one example question for each.
2. Name the display you would choose for (a) one numerical variable and (b) two numerical variables, and say why each fits.
3. A scatter plot of height against arm span shows points rising from lower left to upper right. Describe the trend, and explain why this does not yet prove that height causes a longer arm span.
Show Your Working · 3 questions
SA1. For each question below, state whether it needs univariate or bivariate analysis and justify your choice: (i) "What is the most common eye colour in Year 9?" (ii) "Does the amount of fertiliser affect plant height?"
SA2. A class records the temperature and the number of cold drinks sold each day for two weeks. Describe how you would carry out a bivariate analysis of this data, naming the display you would use and what you would look for.
Hint: Think about pairing the two values per day, and what the slope of the points tells you.
SA3. A scientist plots ten students' hours of sleep against their reaction time. The points fall from upper left to lower right. Describe the direction and rough strength of this trend, explain what it suggests about the two variables, and state one reason it does not prove sleep causes faster reactions.
Quick Check
1. A. "What is the typical height of students in our class?" names one variable (height), so it is univariate.
2. C. A scatter plot plots two numerical variables together, the standard tool for bivariate analysis.
3. B. Study hours and test score are two variables compared together, so plotting them is bivariate analysis.
4. D. Points falling from upper left to lower right show a negative trend: more screen time pairs with less sleep.
5. A. Two category variables are best compared with a two-way (contingency) table that counts each combination.
Show Your Working Model Answers
SA1 (4 marks): (i) Univariate [1], because the question names only one variable, eye colour, and you simply describe how often each colour occurs [1]. (ii) Bivariate [1], because it links two variables, amount of fertiliser and plant height, and you look for a relationship between them [1].
SA2 (4 marks): Pair the two values for each day (temperature, drinks sold) [1] and plot each day as one point on a scatter plot [1]. Look at the direction of the points [1]: if they rise from lower left to upper right the trend is positive, suggesting warmer days pair with more sales [1].
SA3 (5 marks): The trend is negative [1] because the points fall from upper left to lower right, and it looks fairly strong if the points sit close to a downward line [1]. It suggests that students with more sleep tend to have faster (lower) reaction times [1]. However, a relationship is not proof of cause [1]: another factor, such as overall health or time of day, could affect both, which is why correlation does not equal causation, the focus of Lesson 14 [1].
Univariate
One variable, describe its distribution
Bivariate
Two variables, look for a relationship
Scatter plot
Each point is two values for one record
Two-way table
Counts combinations of two categories
Trend
Positive, negative or no relationship
Choose
Count the variables in the question
Put what you have learned to the test! Jump through the questions in game form.
Play GameYour Badges
0 of 6Mark lesson as complete
Tick when you've finished Learn, Practice and the game. Earns +85 XP and +25 coins.