Make a scatter diagram
Plot two lists of data as a scatter diagram, with the exact key presses for the TI-84 Plus CE, Casio fx-CG50, Casio fx-CG100 and TI-Nspire CX, and describe the correlation for the exam.
To make a scatter diagram, enter the x-values in one list and the y-values in another list of the same length, then switch on a scatter plot that uses those two lists and let the calculator choose the window. Describe the correlation as positive or negative, strong or weak, and say whether the points lie close to a straight line.
Example
The number of hours of revision and the test score of eight students are:
: 2, 3, 5, 6, 8, 9, 11, 12
: 31, 38, 40, 52, 55, 63, 60, 74
Draw a scatter diagram of the data and describe the correlation.
The points rise from the lower left to the upper right and lie close to a straight line, so there is a strong positive linear correlation: students who revise for more hours tend to score higher. Pearson's product-moment correlation coefficient for these data is , which agrees with the picture.
Choose your calculator
How to make a scatter diagram on a TI-84 Plus CE
Scatter plot from two lists (STAT PLOT) | |
If L1 and L2 already hold data, press stat, choose 4:ClrList, then press 2nd 1 (L1) , 2nd 2 (L2) and enter to empty them. |
ClrList L1,L2 |
Press stat, choose 1:Edit and press enter. Type the x-values into L1, pressing enter after each: 2, 3, 5, 6, 8, 9, 11, 12. Press ▶ to move to L2 and type the y-values in the same order: 31, 38, 40, 52, 55, 63, 60, 74. The two lists must have the same number of values. |
L1 L2 L3 2 31 --- 3 38 --- 5 40 --- 6 52 --- 8 55 --- 9 63 --- 11 60 --- |
Press 2nd Y= (STAT PLOT), choose 1:Plot1 and press enter. Highlight On and press enter. Check that Type is the first icon (scatter plot), Xlist is L1 and Ylist is L2. If not, move to the item, press enter to choose the icon, or type the list name with 2nd 1 (L1) or 2nd 2 (L2). |
Plot1 On Off Type: scatter (first icon) Xlist:L1 Ylist:L2 |
Press zoom and choose 9:ZoomStat. The calculator sets the window to fit the data and draws the scatter plot. Press trace and ◀ ▶ to move from point to point and read each pair of values. The points rise from the lower left to the upper right: as x increases, y increases. |
|
When you have finished, press 2nd Y= (STAT PLOT) and choose 4:PlotsOff. A plot left on makes the next function graph fail with an error.
How to make a scatter diagram on a Casio fx-CG50
Scatter diagram from List 1 and List 2 | |
Press MENU and choose Statistics. The List Editor appears. If a list holds old data, move the highlighting to any cell of that list and press F6 (▷), then F4 (DEL-ALL) and F1 (Yes). |
|
Type the x-values into List 1, pressing EXE after each: 2, 3, 5, 6, 8, 9, 11, 12. Move to List 2 with ▶ and ▲ and type the y-values in the same order: 31, 38, 40, 52, 55, 63, 60, 74. Both lists need the same number of values. |
List 1 List 2 2 31 3 38 5 40 6 52 8 55 9 63 |
Press F1 (GRAPH), then F6 (SET). Move down to Graph Type with ▼ and press F1 (Scatter). XList should be List 1 and YList List 2, which is the default. Press EXIT. |
StatGraph1 Graph Type :Scatter XList :List1 YList :List2 Frequency :1 |
Press F1 (GRAPH1) to draw the scatter diagram. The V-Window is set automatically to fit the data. Press EXIT to return to the List Editor. The points rise from the lower left to the upper right: as x increases, y increases. |
|
If a second statistics graph is switched on, you see two sets of points. Press F1 (GRAPH) then F4 (SELECT) to check which of the graphs are On.
How to make a scatter diagram on a Casio fx-CG100
Scatter plot from List 1 and List 2 | |
Press HOME and choose Statistics. The List Editor tab appears. To empty all the lists, choose TOOLS then Delete then All Lists. |
|
Type the x-values into List 1, pressing EXE after each: 2, 3, 5, 6, 8, 9, 11, 12. Move to List 2 and type the y-values in the same order: 31, 38, 40, 52, 55, 63, 60, 74. Both lists need the same number of values. |
List 1 List 2 2 31 3 38 5 40 6 52 8 55 9 63 |
Press the next-tab key to move to the Setup tab. Highlight the first line and press OK, then choose Draw Statistics Graph and press OK. (If the Select Type menu appears straight away, choose Draw Statistics Graph from it.) Highlight Graph1 and press OK. Graph1 is a scatter plot by default, with XList set to List1 and YList to List2. |
Graph1 Graph Type: Scatter XList: List1 YList: List2 Frequency: 1 |
Press the next-tab key to draw the scatter plot on the Graph tab. The points rise from the lower left to the upper right: as x increases, y increases. |
|
Graph2 and Graph3 are set to None by default, so only the Graph1 plot is drawn. Check them if you see extra points.
How to make a scatter diagram on a TI-Nspire CX
Quick Graph from a Lists & Spreadsheet page | |
On a Lists & Spreadsheet page, move to the name cell at the top of column A (press tab to reach the top rows, or hold ▲). Type |
A hours B score |
Move into column A below the names and type the x-values, pressing enter after each: 2, 3, 5, 6, 8, 9, 11, 12. Do the same in column B with the y-values in the same order: 31, 38, 40, 52, 55, 63, 60, 74. The columns must be the same length. |
A hours B score 2 31 3 38 5 40 6 52 8 55 9 63 |
Select both columns: move to the top of column A and hold ▲ to go past the top cell, which selects the column. Then hold shift and press ▶ to extend the selection to column B. |
|
Press menu → Data → Quick Graph. A Data & Statistics page is added with the scatter plot. The left column ( The points rise from the lower left to the upper right: as x increases, y increases. |
|
Another way: from a Data & Statistics page | |
On a Data & Statistics page with the two named lists already created, click the Add Variable region in the centre of the x-axis and choose | |
Name the columns before you select them: Quick Graph needs list variables. Use names such as hours and score, not single letters that the calculator already uses.
Sources. Key presses follow the manufacturers' documentation: the TI-84 Plus CE eGuide, the TI-Nspire eGuide, the Casio fx-CG50 Software User's Guide (version 3.30) and the Casio fx-CG100 online manual.
What to write in the exam
- Sketch the diagram on paper. Draw and label both axes with the variable names, choose a sensible scale and plot the points. A screen picture is not working; the examiner marks what you write.
- Describe the correlation in full. Say positive, negative or none, say strong, moderate or weak, and say whether the points lie close to a straight line. Refer to the context, for example "students who revise longer tend to score higher".
- Do not claim cause. Correlation shows that two variables change together, not that one causes the other.
- Look for outliers. A point far from the pattern should be mentioned, and it can change the correlation coefficient a lot.
- Check which papers allow a calculator. In AA SL and AA HL, Paper 1 is calculator-free, so a scatter diagram there is drawn from the values given. In AI SL and AI HL a calculator is allowed on every paper (check your syllabus).
After the scatter diagram
The shape of the scatter diagram tells you which model is sensible. If the points follow a straight line, find the line of best fit and in linear regression. If they follow a curve, see fitting a model. If the data are ranks, see Spearman's rank correlation coefficient.
Error messages and what to do
| Calculator | Message | Usual cause | What to try |
|---|---|---|---|
| TI-84 Plus CE | ERR:DIMENSION MISMATCH | L1 and L2 do not have the same number of values, so the plot cannot pair them up. | Press stat then 1:Edit, and add or delete values until both lists are the same length. |
| TI-84 Plus CE | ERR:STAT PLOT | A statistics plot that uses an undefined list is switched on. | Check the Xlist and Ylist in 2nd Y= (STAT PLOT), or switch the plot off with 4:PlotsOff. |
| Casio fx-CG50 | Dimension ERROR | List 1 and List 2 do not have the same number of values. | Press EXIT to return to the List Editor and make the two lists the same length. |
| Casio fx-CG100 | Dimension ERROR | The XList and YList do not have the same number of values. | Return to the List Editor tab and make the two lists the same length. |
| TI-Nspire CX | Reserved name or system variable | A column name is a name the calculator already uses. | Choose another name for the column, for example hours. |
Common mistakes
- Lists of different lengths. The x-list and y-list need the same number of values, in matching order, or the calculator shows a dimension error.
- Swapping the variables. The first list is plotted on the x-axis and the second on the y-axis. Put the explanatory variable (the one given first or used to predict) in the x-list.
- Leaving old data in a list. Clear the lists first, or the new values are added to the old ones and the picture is wrong.
- Leaving a plot switched on (TI-84). Switch the plot off with PlotsOff before graphing functions, or the graph fails with an error.
- Describing only the direction. "Positive" is not enough. Add the strength and whether the relationship looks linear, in the context of the question.
Try it yourself
Real questions from the IB Maths Help question bank. Type your answer and press Mark it: the worked solution and mark scheme then appear. Enter the data in lists and draw the scatter diagram first, then use your calculator for the answer.
Practise with your calculator
Choose your course to see the practice sets that use this skill. You can also try practice mode or browse every GDC guide.
Quick questions
How do I draw a scatter diagram on a calculator?
Enter the x-values in one list and the y-values in a second list of the same length. Then switch on a scatter plot that uses those lists: 2nd Y= (STAT PLOT) and ZoomStat on the TI-84 Plus CE, F1 (GRAPH), F6 (SET) and F1 (GRAPH1) on the fx-CG50, Draw Statistics Graph and Graph1 on the fx-CG100, or Quick Graph on the TI-Nspire.
Why does my scatter plot show an error or no points?
The most common causes are lists of different lengths, a plot that is switched off, or a window that does not contain the data. Make the lists the same length, switch the plot on, and use the automatic window (ZoomStat on the TI-84 Plus CE).
How do I describe the correlation from a scatter diagram?
Say whether it is positive (y increases as x increases), negative (y decreases) or there is none, say how strong it is, and say whether the points lie close to a straight line. Mention any outlier, and write it in the context of the question.
Do I draw the calculator screen in my exam working?
No. Sketch the scatter diagram yourself with labelled axes and a scale, or describe the pattern in words. The examiner marks your working, not the calculator screen.