Porisma

Worked solution

Correct recorded marks and compare the scatter

The average weekly study hours xx and corresponding test marks yy of ten students are recorded below.

Studentxxyy
A246
B1730
C2040
D4176
E5296
F2346
G4690
H1735
I1526
J2957

(i) Calculate the product moment correlation coefficient between yy and xx.

(ii) Determine the least-squares regression line of yy on xx.

(iii) Three marks were wrongly recorded: A should receive 35, I should receive 6, and E should receive 99. Using appropriate diagrams, comment on how these changes affect (a) the gradient of the regression of yy on xx and (b) the correlation coefficient.

CJC · Lecture · Example 5

(i) Obtain correlation from the paired lists

Answer

r=0.900r=0.900 (3 s.f.).

Follow all five source steps: STAT → 1:Edit; enter study hours (explanatory xx) in L1 and test marks (response yy) in L2; STAT → CALC → 8:LinReg(a+bx); set Xlist=L1 (2nd 1) and Ylist=L2 (2nd 2), then highlight Calculate; press ENTER. The screen gives r=0.8997013464r=0.8997013464, r2=0.8094625127r^2=0.8094625127, a=−6.105276445a=-6.105276445, b=1.982580157b=1.982580157.

In MODE, set STAT DIAGNOSTICS to ON; otherwise rr and r2r^2 may be absent from the output even though the regression coefficients are shown. The standalone answer space is blank, but the coefficient is printed in the calculator screen; the 3-s.f. reporting here is authored.

How did this part go?

(ii) Read coefficient roles correctly

Answer

y=1.98x−6.11y=1.98x-6.11 (3 s.f.).

For 8:LinReg(a+bx), aa is the intercept and bb is the gradient. Thus the full screen equation is y=−6.105276445+1.982580157xy=-6.105276445+1.982580157x.

The source also permits 4:LinReg(ax+b). That option labels the gradient a=1.982580157a=1.982580157 and intercept b=−6.105276445b=-6.105276445. Both options give the same fitted line, y=1.98x−6.11y=1.98x-6.11 to 3 s.f.; only the coefficient names change. Preserve the equation form rather than copying the letter names without checking.

How did this part go?

(iii)(a) Compare original and amended diagrams

Answer

The corrected positive regression line is steeper.

Replace A’s point (24,6)(24,6) by (24,35)(24,35), I’s point (15,26)(15,26) by (15,6)(15,6), and E’s point (52,96)(52,96) by (52,99)(52,99). Keep all ten students. The source says the new data “removes the outlier point”, meaning that the old A coordinate is replaced, not that student A is deleted. The smallest-hour observation moves down and the largest-hour observation moves up, giving the source’s steeper positive trend.

The diagrams retain every pair and label the corrected observations. An independent numerical check, not required by the printed graphical ask, gives a new slope 2.115879828…2.115879828\ldots compared with 1.982580157…1.982580157\ldots.

How did this part go?

(iii)(b) Compare clustering about a line

Answer

The new rr is closer to 11.

The corrected scatter is more tightly clustered around a rising straight-line trend. This is the source’s graphical justification. An independent check gives r=0.9655543987…r=0.9655543987\ldots after correction, compared with 0.8997013464…0.8997013464\ldots before correction. A steeper slope by itself does not imply a stronger correlation; the scatter’s closeness to a line supplies the separate reason.

How did this part go?

Compare your sketch

Expand diagram

Use the scrollbars or arrow keys to inspect details.

Two panels show all ten exact study-hour/test-mark pairs before and after replacing marks for students A,I,E: A(24,6) becomes (24,35), I(15,26) becomes (15,6), E(52,96) becomes (52,99). No rows deleted. Both have zero mark origin and cropped hour axis 15–52.
Two panels show all ten exact study-hour/test-mark pairs before and after replacing marks for students A,I,E: A(24,6) becomes (24,35), I(15,26) becomes (15,6), E(52,96) becomes (52,99). No rows deleted. Both have zero mark origin and cropped hour axis 15–52.
Two panels show all ten exact study-hour/test-mark pairs before and after replacing marks for students A,I,E: A(24,6) becomes (24,35), I(15,26) becomes (15,6), E(52,96) becomes (52,99). No rows deleted. Both have zero mark origin and cropped hour axis 15–52.

Solution notes

All source calculator menu/list/diagnostics/coefficient-role remarks retained. The printed graphical conclusions are preserved. Corrected-data coefficients are explicitly independent checks, not claimed as printed answers. No marks printed.