Year 10StatisticsVisualisation of dataYear 10 Maths

Choosing a graph, scaling it, and lines of best fit

What this lesson covers

  • A distribution is formed from all the possible values of a variable and their frequencies. It can be shown using data visualisations that show patterns, trends, and variations and that include dot plots, bar graphs, frequency tables, box plots, histograms, time-series graphs, scatter plots, and two-way tables.
  • A good data visualisation should allow viewers to discern the variable(s) and who the data was collected from, and then, depending on the type of visualisation, additional information such as frequency, proportions, patterns or trends, and units for numerical variables.
  • In relationship investigations: sometimes one variable is thought of as predictive of the other variable; then the response or dependent variable is on the y-axis, and the ‘predictive’, explanatory, or independent variable is on the x-axis an eyeballed line or curve of best fit can be added for paired numerical data.
Key idea

A graph is an argument

  • A list of numbers tells you almost nothing at a glance.
  • A graph of the same numbers can be read in a second.
  • Which means choosing the graph is part of the argument.
Key idea

What a distribution is

  • Every value that occurs, and how often each one occurs.
  • That is all the word means.
  • A graph of it shows shape, spread and gaps at once.
TermMeaning
A distributionevery value that occurs
Andhow often each one does
A graph of itshows shape, spread and gaps
Which a list of numbersdoes not
Key idea

The graphs available to you

  • Bar graphs and two-way tables handle categories.
  • Dot plots, histograms and box plots handle one numerical variable.
  • Time series handle change, and scatter plots handle pairs.
ForUseOr
Categoriesbar graphtwo-way table
One numerical variabledot plothistogram, box plot
Over timetime-series graph
Two variables togetherscatter plot
Key idea

Two questions pick the graph

  • What kind of variable is it: a category or a number?
  • What am I trying to show: a shape, a trend, or a link?
  • Those two answers choose for you. Not "which can I draw".
AskThen
What kind of variable?category or number
What am I showing?a shape, a trend, a link
Those two answerspick the graph for you
Not "which can I draw"
Worked example

Categories go in bars

  • Favourite sport is a category, so the bars are the sports.
  • The height of each bar is how many people chose it.
  • The order of the bars carries no meaning. You can rearrange them.
Categories go in bars
Worked example

One numerical variable goes in a dot plot

  • Each dot is one measurement, stacked where it falls.
  • Now the shape is visible: where it clusters, where it thins out.
  • And the summaries can be drawn straight onto it.
One numerical variable goes in a dot plot
Key idea

What a reader has to be able to work out

  • What was measured, and in what units.
  • Who it was measured on. Which students, which year, where.
  • Without those, a graph is a shape rather than evidence.
Must showWhereNote
What is measuredaxis labels
Who it is abouta title or caption
The unitson the numerical axis
Without thoseit is a shapenot evidence
Worked example

The same two numbers, drawn twice

  • Ninety-six and ninety-eight. About two percent apart.
  • On an axis from zero, the bars look almost identical. True.
  • On an axis from ninety, one looks a third taller. Also true.
DrawnLooks likeHonest?
Two values, 96 and 98about 2% apart
Axis from 0the bars look aliketrue
Axis from 90one looks a third talleralso true
Nothing is falseand the reader is fooled
Key idea

So where should an axis start?

  • For bar charts, at zero, because the length is the comparison.
  • Line graphs and scatter plots may start elsewhere.
  • But label it clearly, so nobody is misled by accident.
ChartRule
Bar chartsstart the axis at zero
Because a bar’s lengthis the comparison
Line and scatter plotsmay start elsewhere
But say so clearlyon the axis
Key idea

Nothing on that chart was false

  • Every number was right. The bars were drawn correctly.
  • And every reader took away the wrong impression.
  • That is how most misleading graphs work. Not by lying.
Key idea

Two variables, and which goes where

  • The one you think does the affecting goes across the bottom.
  • The one that responds goes up the side.
  • Hours studied across, test score up. It is a convention worth keeping.
VariableCalledGoes
Explanatory variablethe one you think causesx-axis
Response variablethe one that answersy-axis
Hours studiedexplanatoryacross
Test scoreresponseup
Worked example

A scatter plot

  • Each point is one person, measured on both variables.
  • Six students, their study hours and their scores.
  • The points do not lie on a line, and they do have a direction.
A scatter plot
Key idea

Fitting a line by eye

  • Draw a straight line through the middle of the cloud.
  • Roughly as many points above it as below.
  • Not joining the dots, and not bending to reach any of them.
DoDetail
Draw through the middleof the cloud of points
Roughly as many aboveas below
Not joining the dotsand not through every point
Then read predictionsoff the line
Worked example

Predicting from it, and the limit

  • Seven hours: go up to the line, then across. About 85.
  • Inside the range of your data that is reasonably safe.
  • A long way outside it, the line is a guess wearing a ruler.
ReadingConfidenceNote
At 7 hoursread up to the lineabout 85
Inside the datareasonably safe
Far outside itthe line may not hold
A line is a summarynot a law
Summary

What to take away

  • Seven lines, and the sixth one is the one to remember.
A distributionthe values and how often each occurs
Categoriesbar graph
One numerical variabledot plot or histogram
Two variablesscatter plot
A reader needswhat, who, and the units
A truncated axismisleads without lying
A line of best fitgoes through the middle, not the dots
Your turn

Your turn: four questions

  • Pause here and answer all four.
  • Question 2 is asking which variable explains which.
  • Question 4 wants a number and a note about how sure you are.
Question
1Favourite sport of 200 students. Which graph?
2Sleep against test score. What goes on x?
3Why can an axis starting at 90 mislead?
4Predict the score at 7 hours of study.
Show answer

1. A bar graph. Favourite sport is a categorical variable, so the bars are the categories and their heights are the counts. A two-way table would work if you also recorded something else, such as year level. 2. Hours of sleep. It is the explanatory variable, the one you think affects the other, so it goes across the bottom, and the score goes up the side as the response. 3. Because the length of a bar is what the reader compares, and cutting the bottom off the axis makes a small difference look like a large one. Nothing on the chart is false, which is what makes it effective. 4. About 85. Read up from 7 on the horizontal axis to the line of best fit and across. It is a little outside the data, so it is a reasonable estimate rather than a certainty.

Worked example

The answers

  • A bar graph, because favourite sport is a category.
  • Hours of sleep, because it is the explanatory variable.
  • It makes a small difference look large, without saying anything false.
  • About 85, and it is just outside the data, so it is an estimate.

Is your child on track?

Take the free placement test