Skip to main content

Casio fx-CG50 lesson 10: Statistics: lists, 1-VAR, 2-VAR and regression

Statistics questions are where the fx-CG50 saves the most time, and where one wrong setting (an old list, the frequency left at 1, σx mixed up with sx) costs the most marks. This lesson builds one routine for every data question.

Objective

Enter data into lists and get the summary statistics, the regression line, r and a prediction quickly, with the right settings every time.

By the end, students can:

Which courses this lesson suits

Spearman's rank (AI) uses the same regression steps on the ranks: see the correlation guide below.

Before you start

Ask students to open STATISTICS (MENU 2) and look for data left in the lists from earlier work: old data in List 2 is the most common reason for a wrong mean.

The key presses, step by step

Every key is shown as it is printed on the calculator, like SHIFT or F1. The F-keys do whatever the bottom row of the screen says, so the picture next to each step shows that row.

  1. MENU 2 (STATISTICS). To clear an old list, move the cursor onto it, then F6 (▷) F4 (DEL-ALL) F1 (Yes).

    Type the values 1, 2, 3, 4, 5 into List 1 and the frequencies 3, 7, 9, 4, 2 into List 2, with EXE after each number.

    Clear the lists first, every time. A leftover value at the bottom of a list is easy to miss and changes every answer.

    Casio fx-CG50 lesson 10 screen: Statistics, showing the list editor with values in List 1 and frequencies in List 2; F-keys GRAPH, CALC, TEST, INTR, DIST, ▷
    The list editor: values in List 1, frequencies in List 2 (our drawing of the fx-CG50 screen, not a photo).
  2. F2 (CALC) F6 (SET). Set 1Var XList to List1 and 1Var Freq to List2 (with Freq highlighted, the F-keys offer 1 or List). Press EXIT.

    With the frequency left at 1 the calculator treats the frequencies as more data. This is the setting to check.

    Casio fx-CG50 lesson 10 screen: Statistics, showing the SET screen with 1Var XList List1 and 1Var Freq List2
    The SET screen with 1Var Freq set to List2 (our drawing of the fx-CG50 screen, not a photo).
  3. F1 (1-VAR). The first screen shows x̄ = 2.8, σx = 1.095445115, sx = 1.118033989 and n = 25. Scroll down with ▼ for minX, Q1, Med, Q3 and maxX: here Q1 = 2, Med = 3, Q3 = 3.5.

    σx divides by n (the data are the whole population); sx divides by n − 1 (an estimate from a sample). IB questions usually want σx unless they talk about estimating from a sample.

    Casio fx-CG50 lesson 10 screen: 1-Variable, showing 1-VAR results: mean 2.8, σx 1.095445115, sx 1.118033989, n 25
    1-VAR results (scroll down for the quartiles) (our drawing of the fx-CG50 screen, not a photo).
  4. Two variables: clear the lists, then type x = 2, 3, 5, 6, 8, 9 (hours of revision) into List 1 and y = 52, 55, 63, 66, 74, 79 (test score) into List 2.

    F2 (CALC) F6 (SET): 2Var XList = List1, 2Var YList = List2, 2Var Freq = 1. EXIT.

    Check n on the results screen: it should equal the number of pairs, 6 here.

    Casio fx-CG50 lesson 10 screen: Statistics, showing x values in List 1 and y values in List 2; F-keys GRAPH, CALC, TEST, INTR, DIST, ▷
    What the screen shows after this step (our drawing of the fx-CG50 screen, not a photo).
  5. F2 (CALC) F3 (REG) F1 (X) F1 (ax+b). Read a = 3.826666667, b = 43.78666667 and r = 0.9984496302.

    Other models are in the same REG menu: F3 (X²) quadratic, F4 (X³) cubic, and after F6 (▷) log, exponential, power, sine and logistic.

    r is shown with the line. The logarithmic, exponential and power models also show r and r². The quadratic, cubic and quartic models show R² instead, and the sine and logistic models show neither.

    Casio fx-CG50 lesson 10 screen: LinearReg(ax+b), showing linear regression a 3.826666667, b 43.78666667, r 0.9984496302; F-keys COPY, DRAW
    What the screen shows after this step (our drawing of the fx-CG50 screen, not a photo).
  6. To predict, keep every digit of a and b. In RUN-MATRIX type 7, then OPTN F5 (STAT) F2 (ŷ) EXE: ŷ at x = 7 is 70.57333333. Or type the line yourself with the full a and b from the screen.

    Back in STATISTICS, F5 (COPY) on the regression screen puts the line into the GRAPH list, and F6 (DRAW) draws it over the scatter diagram.

    The calculator uses the line from the last regression you ran, so run the regression for these data first.

    Casio fx-CG50 lesson 10 screen: RUN-MATRIX, showing the predicted value 70.57333333 at x = 7
    The prediction at x = 7 from the stored regression line (our drawing of the fx-CG50 screen, not a photo).

Your turn: check your understanding

Try these straight after the key presses, on your own calculator, before looking at the answers.

  1. Find the mean, σx and sx of 4, 7, 7, 9, 13. Which one would you give for "the standard deviation of these five values"?
  2. For x = 1, 2, 3, 4 and y = 2, 5, 7, 10, find the regression line y = ax + b and r.
Show the answers
  1. Mean 8, σx = 2.97, sx = 3.32. For the five values themselves, give σx.
  2. y = 2.6x − 0.5, r = 0.997

Exam efficiency

Worked exam-style example

Question. A teacher records the hours of revision x and the test score y of six students: x = 2, 3, 5, 6, 8, 9 and y = 52, 55, 63, 66, 74, 79. (a) Find r. (b) Find the regression line of y on x. (c) Estimate the score of a student who revises for 7 hours. (d) Is the estimate reliable?

  1. Clear List 1 and List 2, type the data, then F2 (CALC) F6 (SET) with 2Var XList = List1, 2Var YList = List2, 2Var Freq = 1, and EXIT.

    Casio fx-CG50 lesson 10 screen: Statistics, showing the SET screen for two-variable data
    What the screen shows after this step (our drawing of the fx-CG50 screen, not a photo).
  2. F3 (REG) F1 (X) F1 (ax+b) gives r and the line in one screen.

    Casio fx-CG50 lesson 10 screen: LinearReg(ax+b), showing the regression results for the revision data; F-keys COPY, DRAW
    What the screen shows after this step (our drawing of the fx-CG50 screen, not a photo).
  3. (c) RUN-MATRIX: 7 OPTN F5 (STAT) F2 (ŷ) EXE gives 70.57333333.

    Casio fx-CG50 lesson 10 screen: RUN-MATRIX, showing the estimate 70.57333333
    What the screen shows after this step (our drawing of the fx-CG50 screen, not a photo).

What to write down

(a) r = 0.998.

(b) y = 3.83x + 43.8.

(c) y = 70.6 (marks).

(d) Yes: r is very close to 1 (strong positive linear correlation) and 7 hours is inside the data (2 to 9 hours), so this is interpolation.

Practice

Do these on your own calculator. Write the answers to 3 significant figures unless the task says otherwise.

  1. Find the mean, the standard deviation σx and the median of 12, 15, 9, 20, 14, 17, 11.
  2. The values 10, 20, 30, 40 have frequencies 4, 6, 8, 2. Find the mean and σx. (Use a frequency list.)
  3. For x = 1, 2, 3, 4, 5 and y = 3.1, 4.9, 7.2, 8.8, 11.1, find the regression line of y on x and r.
  4. Use your line from task 3 to estimate y when x = 6.5. Is the estimate reliable?
  5. Find Q1, the median and Q3 of 3, 5, 7, 8, 10, 12, 15, 20, and the interquartile range.
Show the practice answers
  1. x̄ = 14, σx = 3.46, median = 14
  2. x̄ = 24, σx = 9.17
  3. y = 1.99x + 1.05, r = 0.999
  4. y = 14.0. Less reliable: 6.5 is outside the x data (1 to 5), so it is extrapolation, even though r is close to 1.
  5. Q1 = 6, median = 9, Q3 = 13.5, IQR = 7.5

Common mistakes

1-minute quick check

Answer these without looking back. Most need no calculation: they check that the key presses have stuck.

  1. Where do you set which lists 1-VAR uses?
  2. Which one divides by n − 1: σx or sx?
  3. Which keys give the linear regression line from the list editor?
  4. How do you clear a whole list?
  5. Is a prediction outside the range of the x data reliable?
Show the quick-check answers
  1. F2 (CALC) F6 (SET)
  2. sx
  3. F2 (CALC) F3 (REG) F1 (X) F1 (ax+b)
  4. Cursor on the list, F6 (▷) F4 (DEL-ALL) F1 (Yes)
  5. No: that is extrapolation.

Teaching this lesson (about 55 minutes)

0–5 minStarter: a mean that came out wrong because of an old value left in List 2. Who can spot it?
5–20 minSteps 1–3: clear, enter with frequencies, SET, 1-VAR. Discuss σx against sx.
20–30 minSteps 4–6: two-variable data, regression, r, prediction and COPY/DRAW.
30–38 minWorked example: the revision data, with what to write for each part.
38–50 minPractice tasks 1–5; pairs check n and the SET screen for each other.
50–55 min1-minute quick check.

Students need their own fx-CG50. With a projector, the calculator-skills guides below have a Show on the board view and an animated walkthrough of the key presses.

Matching calculator guides

More fx-CG50 lessons