Resources

A statistics student investigates the relationship between hours spent studying per week, xx, and score on a 100-point midterm exam, yy, for a sample of n=6n = 6 students. The summary statistics are: ∑x=48\sum x = 48, ∑y=432\sum y = 432, ∑x2=440\sum x^2 = 440, ∑y2=31,800\sum y^2 = 31{,}800, and ∑xy=3,672\sum xy = 3{,}672. Determine: (a) the Pearson correlation coefficient rr, (b) the least-squares regression line in the form y^=b0+b1x\hat{y} = b_0 + b_1 x, and (c) the predicted exam score y^\hat{y} for a student who studies x=10x = 10 hours.

Answer and steps

Final answer

(a) r=0.900r = 0.900; (b) y^=40.0+4.00x\hat{y} = 40.0 + 4.00x; (c) y^=80.0\hat{y} = 80.0

Steps

01

Compute the Sample Means and Sums of Squares

From the given summary statistics for n=6n = 6 students: ∑x=48,∑y=432,∑x2=440,∑y2=31,800,∑xy=3,672\sum x = 48, \quad \sum y = 432, \quad \sum x^2 = 440, \quad \sum y^2 = 31{,}800, \quad \sum xy = 3{,}672

Calculate the sample means of xx and yy: xˉ=∑xn=486=8\bar{x} = \frac{\sum x}{n} = \frac{48}{6} = 8 yˉ=∑yn=4326=72\bar{y} = \frac{\sum y}{n} = \frac{432}{6} = 72

Next, determine the sum of squares and sum of products:

  • Sum of squares for xx: SSxx=∑x2−(∑x)2n=440−4826=440−384=56SS_{xx} = \sum x^2 - \frac{(\sum x)^2}{n} = 440 - \frac{48^2}{6} = 440 - 384 = 56
  • Sum of squares for yy: SSyy=∑y2−(∑y)2n=31,800−43226=31,800−31,104=696SS_{yy} = \sum y^2 - \frac{(\sum y)^2}{n} = 31{,}800 - \frac{432^2}{6} = 31{,}800 - 31{,}104 = 696
  • Sum of cross-products: SSxy=∑xy−(∑x)(∑y)n=3,672−48⋅4326=3,672−3,456=216SS_{xy} = \sum xy - \frac{(\sum x)(\sum y)}{n} = 3{,}672 - \frac{48 \cdot 432}{6} = 3{,}672 - 3{,}456 = 216

02

(a) Determine the Pearson Correlation Coefficient rr

The Pearson correlation coefficient measures the strength and direction of the linear relationship between xx and yy: r=SSxySSxx⋅SSyyr = \frac{SS_{xy}}{\sqrt{SS_{xx} \cdot SS_{yy}}}

Evaluating and rounding to three decimal places: r=0.900r = 0.900

A correlation of r=0.900r = 0.900 indicates a strong, positive linear association between weekly study hours and exam scores.


03

(b) Find the Least-Squares Regression Line

The least-squares regression line has the equation: y^=b0+b1x\hat{y} = b_0 + b_1 x

  1. Slope (b1b_1): b1=SSxySSxx=4.00b_1 = \frac{SS_{xy}}{SS_{xx}} = 4.00
  2. yy-intercept (b0b_0): b0=yˉ−b1xˉ=72−4.00(8)=72−32.0=40.0b_0 = \bar{y} - b_1\bar{x} = 72 - 4.00(8) = 72 - 32.0 = 40.0

Thus, the regression line is: y^=40.0+4.00x\hat{y} = 40.0 + 4.00x

Common Pitfall: Do not reverse the roles of xx and yy when computing the slope. The independent/predictor variable xx belongs in the denominator (SSxxSS_{xx}), while the response variable yy does not divide the slope.


04

(c) Predict the Exam Score for x=10x = 10 Hours

Substitute x=10x = 10 into the regression model: y^=40.0+4.00(10)=40.0+40.0=80.0\hat{y} = 40.0 + 4.00(10) = 40.0 + 40.0 = 80.0

A student who studies for 1010 hours per week is predicted to score 80.080.0 on the midterm exam.

Typical errors

OverviewACEpath Teacher's Diagnosis

01 The student forgets to divide the product of sums by n when calculating the sums of squares, causing incorrect values for SS_xy, SS_xx, and SS_yy.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    SS_{xy} = \sum xy - (\sum x)(\sum y) = 3{,}672 - 48 ⋅\cdot 432 = -17{,}064   ⟹  \implies SS_{xx} = \sum x^2 - (\sum x)^2 = 440 - 48^2 = -1{,}864   ⟹  \implies SS_{yy} = \sum y^2 - (\sum y)^2 = 31{,}800 - 432^2 = -154{,}824_

    Correct

    SS_{xy} = \sum xy - (∑x)(∑y)n\frac{(\sum x)(\sum y)}{n} = 216   ⟹  \implies SS_{xx} = \sum x^2 - (∑x)2n\frac{(\sum x)^2}{n} = 56   ⟹  \implies SS_{yy} = \sum y^2 - (∑y)2n\frac{(\sum y)^2}{n} = 696_

    You forgot to divide the product of sums by n=6n = 6. The shortcut formulas are SSxx=∑x2−(∑x)2nSS_{xx} = \sum x^2 - \frac{(\sum x)^2}{n}, SSyy=∑y2−(∑y)2nSS_{yy} = \sum y^2 - \frac{(\sum y)^2}{n}, and SSxy=∑xy−(∑x)(∑y)nSS_{xy} = \sum xy - \frac{(\sum x)(\sum y)}{n}. Because SSxx=∑(x−xˉ)2SS_{xx} = \sum (x - \bar{x})^2 is a sum of squared real deviations, it must always be non-negative.

  2. Step 2

    r = −17,064(−1,864)(−154,824)\frac{-17{,}064}{\sqrt{(-1{,}864)(-154{,}824)}} = −17,06416,988.16\frac{-17{,}064}{16{,}988.16} ≈\approx -1.004

    Correct

    r = SSxySSxx⋅SSyy\frac{SS_{xy}}{\sqrt{SS_{xx} \cdot SS_{yy}}} = 21656⋅696\frac{216}{\sqrt{56 \cdot 696}} ≈\approx 0.900

    You correctly applied the structure of the Pearson correlation formula r=SSxySSxxSSyyr = \frac{SS_{xy}}{\sqrt{SS_{xx}SS_{yy}}}, but your result was affected by the incorrect sum-of-squares values. Notice also that a value of r≈−1.004r \approx -1.004 is outside the valid range [−1,1][-1, 1], which is an immediate indicator of an earlier error.

  3. Step 3

    b_1 = SSxySSxx\frac{SS_{xy}}{SS_{xx}} = −17,064−1,864\frac{-17{,}064}{-1{,}864} ≈\approx 9.15   ⟹  \implies xˉ\bar{x} = 8, ; yˉ\bar{y} = 72   ⟹  \implies b_0 = 72 - 9.15(8) = -1.2   ⟹  \implies y^\hat{y} = -1.2 + 9.15x

    Correct

    b_1 = SSxySSxx\frac{SS_{xy}}{SS_{xx}} = 21656\frac{216}{56} ≈\approx 3.857  (or \text{ (or } 4.00 )\text{)}   ⟹  \implies b_0 = yˉ\bar{y} - b_1xˉ\bar{x} = 72 - 4.00(8) = 40.0   ⟹  \implies y^\hat{y} = 40.0 + 4.00x

    You correctly found the sample means xˉ=8\bar{x} = 8 and yˉ=72\bar{y} = 72 and correctly used the formulas b1=SSxySSxxb_1 = \frac{SS_{xy}}{SS_{xx}} and b0=yˉ−b1xˉb_0 = \bar{y} - b_1\bar{x}, but the values were distorted by the earlier sums of squares.

  4. Step 4

    y^\hat{y} = -1.2 + 9.15(10) = 90.3

    Correct

    y^\hat{y} = 40.0 + 4.00(10) = 80.0

    You correctly substituted x=10x = 10 into your regression line, but the result was propagated from the incorrect slope and intercept.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly calculated the sample means xˉ=8\bar{x} = 8 and yˉ=72\bar{y} = 72.

You used the correct algebraic formulas relating SSxySS_{xy}, SSxxSS_{xx}, and SSyySS_{yy} to rr, b1b_1, and b0b_0.

You accurately substituted x=10x = 10 into your linear model to make a prediction.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Missing Division by n in Sum of Squares

none

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You used ∑x2−(∑x)2\sum x^2 - (\sum x)^2 rather than ∑x2−(∑x)2n\sum x^2 - \frac{(\sum x)^2}{n}, omitting the correction term division by sample size nn. This led to negative sums of squares and an impossible correlation coefficient ∣r∣>1|r| > 1.

REASONING PATH
Your ACEpath teacher’s suggested approach
Check Non-Negativity of Sums of Squares
  • Because SSxx=∑(x−xˉ)2SS_{xx} = \sum (x - \bar{x})^2, it must be non-negative (SSxx≥0SS_{xx} \ge 0 and SSyy≥0SS_{yy} \ge 0).

  • If your shortcut formula yields a negative number for SSxxSS_{xx} or SSyySS_{yy}, verify that you divided (∑x)2(\sum x)^2 and (∑y)2(\sum y)^2 by nn.

Validate Correlation Range
  • The Pearson correlation coefficient is strictly bounded: −1≤r≤1-1 \le r \le 1.

  • If ∣r∣>1|r| > 1, pause and re-check your calculations of SSxxSS_{xx}, SSyySS_{yy}, and SSxySS_{xy} before moving on to the regression line.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. SSxx=440−4826=440−384=56SS_{xx} = 440 - \frac{48^2}{6} = 440 - 384 = 56

  2. SSyy=31,800−43226=31,800−31,104=696SS_{yy} = 31{,}800 - \frac{432^2}{6} = 31{,}800 - 31{,}104 = 696

  3. SSxy=3,672−48⋅4326=3,672−3,456=216SS_{xy} = 3{,}672 - \frac{48 \cdot 432}{6} = 3{,}672 - 3{,}456 = 216

  4. r=21656⋅696=21638,976≈0.900r = \frac{216}{\sqrt{56 \cdot 696}} = \frac{216}{\sqrt{38{,}976}} \approx 0.900

  5. b1=21656≈3.857 (using the rounded workbook slope 4.00)  ⟹  b0=72−4.00(8)=40.0b_1 = \frac{216}{56} \approx 3.857 \text{ (using the rounded workbook slope } 4.00 \text{)} \implies b_0 = 72 - 4.00(8) = 40.0

  6. y^=40.0+4.00(10)=80.0\hat{y} = 40.0 + 4.00(10) = 80.0

Final answer

(a) r=0.900r = 0.900; (b) y^=40.0+4.00x\hat{y} = 40.0 + 4.00x; (c) y^=80.0\hat{y} = 80.0

NEXT STEPS
Final Takeaways from Your Teacher
  • Memorize the shortcut formulas with the fraction bar: SSxx=∑x2−(∑x)2nSS_{xx} = \sum x^2 - \frac{(\sum x)^2}{n} and SSxy=∑xy−∑x∑ynSS_{xy} = \sum xy - \frac{\sum x \sum y}{n}.

  • Always perform a reality check on SSxx≥0SS_{xx} \ge 0, SSyy≥0SS_{yy} \ge 0, and −1≤r≤1-1 \le r \le 1 before calculating the regression line.

OverviewACEpath Teacher's Diagnosis

02 The student inverts the formula for the slope by dividing SS_xx by SS_xy instead of SS_xy by SS_xx, leading to an inverted regression equation.

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    SSxy=3,672−(48)(432)6=216  ⟹  SSxx=440−4826=56  ⟹  SSyy=31,800−43226=696SS_{xy} = 3{,}672 - \frac{(48)(432)}{6} = 216 \implies SS_{xx} = 440 - \frac{48^2}{6} = 56 \implies SS_{yy} = 31{,}800 - \frac{432^2}{6} = 696

  2. Step 2

    r=21656⋅696≈0.97r = \frac{216}{\sqrt{56 \cdot 696}} \approx 0.97

    Correct

    r=SSxySSxx⋅SSyy=0.900r = \frac{SS_{xy}}{\sqrt{SS_{xx} \cdot SS_{yy}}} = 0.900

    You set up the formula for Pearson's correlation coefficient correctly, but your numerical evaluation of rr resulted in 0.970.97 instead of the target value 0.9000.900.

  3. Step 3

    b1=SSxxSSxy=56216≈0.26  ⟹  xˉ=8,  yˉ=72  ⟹  b0=72−0.26(8)=69.92  ⟹  y^=69.92+0.26xb_1 = \frac{SS_{xx}}{SS_{xy}} = \frac{56}{216} \approx 0.26 \implies \bar{x} = 8, \; \bar{y} = 72 \implies b_0 = 72 - 0.26(8) = 69.92 \implies \hat{y} = 69.92 + 0.26x

    Correct

    b1=SSxySSxx=4.00  ⟹  b0=yˉ−b1xˉ=72−4.00(8)=40.0  ⟹  y^=40.0+4.00xb_1 = \frac{SS_{xy}}{SS_{xx}} = 4.00 \implies b_0 = \bar{y} - b_1\bar{x} = 72 - 4.00(8) = 40.0 \implies \hat{y} = 40.0 + 4.00x

    You inverted the slope formula. The slope represents the change in yy per unit change in xx, so the independent variable's sum of squares must be in the denominator: b1=SSxySSxxb_1 = \frac{SS_{xy}}{SS_{xx}}, not SSxxSSxy\frac{SS_{xx}}{SS_{xy}}.

  4. Step 4

    y^=69.92+0.26(10)=72.52\hat{y} = 69.92 + 0.26(10) = 72.52

    Correct

    y^=40.0+4.00(10)=80.0\hat{y} = 40.0 + 4.00(10) = 80.0

    You substituted x=10x = 10 correctly into your linear equation, but because your slope and intercept were incorrect from the previous step, your final predicted score was affected.

WHAT YOU DID WELL
Compliments from Your Teacher

You accurately computed the sums of squares SSxxSS_{xx}, SSyySS_{yy}, and cross-product SSxySS_{xy}.

You correctly calculated the sample means xˉ=8\bar{x} = 8 and yˉ=72\bar{y} = 72.

You correctly applied the intercept structure b0=yˉ−b1xˉb_0 = \bar{y} - b_1\bar{x} and substituted x=10x = 10 to find the predicted value.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Inverted Slope Formula

You accidentally placed the predictor's sum of squares SSxxSS_{xx} in the numerator rather than the denominator when calculating the slope b1b_1.

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

Confusing the orientation of rate of change in regression: regression models yy as a function of xx (rise over run, or ΔyΔx\frac{\Delta y}{\Delta x}), which means the numerator must carry the covariance term SSxySS_{xy} and the denominator must carry the variance of the predictor SSxxSS_{xx}.

REASONING PATH
Your ACEpath teacher’s suggested approach
Check slope orientation
  • The slope of the line predicting yy from xx is b1=SSxySSxxb_1 = \frac{SS_{xy}}{SS_{xx}}.

  • Always remember that b1=change in ychange in xb_1 = \frac{\text{change in } y}{\text{change in } x}. The denominator must match the predictor variable xx.

Verify units and magnitude
  • Slope units are always units of yunits of x\frac{\text{units of } y}{\text{units of } x}.

  • Midterm points per hour of study should scale exam scores (yy) relative to hours (xx), confirming SSxxSS_{xx} belongs in the denominator.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Calculate slope: b1=SSxySSxx=4.00b_1 = \frac{SS_{xy}}{SS_{xx}} = 4.00.

  2. Calculate intercept: b0=yˉ−b1xˉ=72−4.00(8)=40.0b_0 = \bar{y} - b_1\bar{x} = 72 - 4.00(8) = 40.0.

  3. Write the regression line: y^=40.0+4.00x\hat{y} = 40.0 + 4.00x.

  4. Evaluate at x=10x = 10: y^=40.0+4.00(10)=80.0\hat{y} = 40.0 + 4.00(10) = 80.0.

Final answer

(a) r=0.900r = 0.900; (b) y^=40.0+4.00x\hat{y} = 40.0 + 4.00x; (c) y^=80.0\hat{y} = 80.0

NEXT STEPS
Final Takeaways from Your Teacher
  • Review the conceptual parallel between ordinary line slope m=ΔyΔxm = \frac{\Delta y}{\Delta x} and regression slope b1=SSxySSxxb_1 = \frac{SS_{xy}}{SS_{xx}}.

  • Practice identifying the predictor variable xx and placing its variation term SSxxSS_{xx} in the denominator.

  • Double-check multi-step calculator entries when evaluating square roots for correlation coefficients.

OverviewACEpath Teacher's Diagnosis

03 The student swaps the roles of the independent and dependent variables when solving for the intercept, computing b_0 = x̄ - b_1(ȳ).

Sample Student Work

Reviewed by ACEpath Teacher
Step-by-Step Review
Walk Through It with Your Teacher
Incorrect
  1. Step 1

    SSxy=3,672−(48)(432)6=216  ⟹  SSxx=440−4826=56  ⟹  SSyy=31,800−43226=696  ⟹  xˉ=8,yˉ=72SS_{xy} = 3{,}672 - \frac{(48)(432)}{6} = 216 \implies SS_{xx} = 440 - \frac{48^2}{6} = 56 \implies SS_{yy} = 31{,}800 - \frac{432^2}{6} = 696 \implies \bar{x} = 8, \bar{y} = 72

  2. Step 2

    r=21656⋅696≈0.97r = \frac{216}{\sqrt{56 \cdot 696}} \approx 0.97

    Correct

    r=SSxySSxx⋅SSyy=0.900r = \frac{SS_{xy}}{\sqrt{SS_{xx} \cdot SS_{yy}}} = 0.900

    You used the correct algebraic formula for the Pearson correlation coefficient, but your evaluated numerical value does not match the target value of 0.9000.900.

  3. Step 3

    b1=21656≈3.86b_1 = \frac{216}{56} \approx 3.86

  4. Step 4

    b0=xˉ−b1(yˉ)=8−3.86(72)=−269.92  ⟹  y^=−269.92+3.86xb_0 = \bar{x} - b_1(\bar{y}) = 8 - 3.86(72) = -269.92 \implies \hat{y} = -269.92 + 3.86x

    Correct

    b0=yˉ−b1xˉ=72−4.00(8)=40.0  ⟹  y^=40.0+4.00xb_0 = \bar{y} - b_1\bar{x} = 72 - 4.00(8) = 40.0 \implies \hat{y} = 40.0 + 4.00x

    You reversed xˉ\bar{x} and ar{y} in the intercept formula. The regression line must pass through the centroid (xˉ,yˉ)(\bar{x}, \bar{y}), meaning yˉ=b0+b1xˉ\bar{y} = b_0 + b_1\bar{x}, which gives b0=yˉ−b1xˉb_0 = \bar{y} - b_1\bar{x}.

  5. Step 5

    y^=−269.92+3.86(10)=−231.32\hat{y} = -269.92 + 3.86(10) = -231.32

    Correct

    y^=40.0+4.00(10)=80.0\hat{y} = 40.0 + 4.00(10) = 80.0

    You substituted x=10x = 10 into your model, but the resulting predicted score was incorrect due to the swapped variables in the intercept.

WHAT YOU DID WELL
Compliments from Your Teacher

You correctly calculated the summary statistics SSxySS_{xy}, SSxxSS_{xx}, and SSyySS_{yy}.

You accurately found the sample means xˉ=8\bar{x} = 8 and yˉ=72\bar{y} = 72.

You used the correct ratio SSxySSxx\frac{SS_{xy}}{SS_{xx}} to set up the regression slope.

THE ERROR
Where Your ACEpath Teacher Spotted the Mistake
Variable Role Reversal in Regression Intercept

No

WHY IT HAPPENED
ACEpath Teacher's Diagnosis

You swapped the independent variable (xx) and the dependent response variable (yy) when solving for the yy-intercept, writing b0=xˉ−b1yˉb_0 = \bar{x} - b_1\bar{y} instead of isolating b0b_0 from yˉ=b0+b1xˉ\bar{y} = b_0 + b_1\bar{x}.

REASONING PATH
Your ACEpath teacher’s suggested approach
Regression Line Centroid Property
  • Every least-squares regression line y^=b0+b1x\hat{y} = b_0 + b_1 x must pass through the point of means (xˉ,yˉ)(\bar{x}, \bar{y}).

  • Always substitute yˉ\bar{y} on the left and xˉ\bar{x} on the right to isolate b0=yˉ−b1xˉb_0 = \bar{y} - b_1\bar{x}.

Sanity Check on Predictions
  • Predictions must fall within a reasonable real-world range for the response variable.

  • Check whether an exam score prediction like −231.32-231.32 on a 100100-point test is realistic; an extreme or negative value strongly signals a reversed intercept formula.

CORRECTED PATH
ACEpath Teacher's Demonstration
  1. Use the centroid condition yˉ=b0+b1xˉ\bar{y} = b_0 + b_1\bar{x} to solve for the intercept: b0=yˉ−b1xˉb_0 = \bar{y} - b_1\bar{x}.

  2. Substitute the mean response yˉ=72\bar{y} = 72, slope b1=4.00b_1 = 4.00, and mean predictor xˉ=8\bar{x} = 8: b0=72−4.00(8)=72−32.0=40.0b_0 = 72 - 4.00(8) = 72 - 32.0 = 40.0.

  3. Write the regression line: y^=40.0+4.00x\hat{y} = 40.0 + 4.00x.

  4. Substitute x=10x = 10 into the corrected model: y^=40.0+4.00(10)=40.0+40.0=80.0\hat{y} = 40.0 + 4.00(10) = 40.0 + 40.0 = 80.0.

Final answer

(a) r=0.900r = 0.900; (b) y^=40.0+4.00x\hat{y} = 40.0 + 4.00x; (c) y^=80.0\hat{y} = 80.0

NEXT STEPS
Final Takeaways from Your Teacher
  • Memorize the regression intercept formula as b0=yˉ−b1xˉb_0 = \bar{y} - b_1\bar{x} by remembering that the line passes through the centroid (xˉ,yˉ)(\bar{x}, \bar{y}).

  • Always check whether your final regression equation produces logical output values for typical input values.

Lock it in

Similar question

01

For a sample of n=5n = 5 observations, you are given ∑x=15\sum x = 15, ∑y=25\sum y = 25, and ∑xy=95\sum xy = 95. Calculate the sum of products SSxySS_{xy}.

Answer

SSxy=20SS_{xy} = 20. Key steps: SSxy=∑xy−(∑x)(∑y)n=95−15⋅255=95−75=20SS_{xy} = \sum xy - \frac{(\sum x)(\sum y)}{n} = 95 - \frac{15 \cdot 25}{5} = 95 - 75 = 20.

02

A dataset with n=4n = 4 has summary values ∑x=12\sum x = 12, ∑x2=50\sum x^2 = 50, ∑y=20\sum y = 20, and ∑xy=74\sum xy = 74. Find the slope b1b_1 of the least-squares regression line y^=b0+b1x\hat{y} = b_0 + b_1 x.

Answer

b1=1.0b_1 = 1.0. Key steps: SSxx=∑x2−(∑x)2n=50−1224=50−36=14SS_{xx} = \sum x^2 - \frac{(\sum x)^2}{n} = 50 - \frac{12^2}{4} = 50 - 36 = 14. SSxy=∑xy−(∑x)(∑y)n=74−12⋅204=74−60=14SS_{xy} = \sum xy - \frac{(\sum x)(\sum y)}{n} = 74 - \frac{12 \cdot 20}{4} = 74 - 60 = 14. Then b1=SSxySSxx=1414=1.0b_1 = \frac{SS_{xy}}{SS_{xx}} = \frac{14}{14} = 1.0.

03

A researcher collects data for n=10n = 10 items with ∑x=50\sum x = 50, ∑x2=350\sum x^2 = 350, ∑y=80\sum y = 80, ∑y2=740\sum y^2 = 740, and ∑xy=460\sum xy = 460. Calculate the Pearson correlation coefficient rr rounded to three decimal places.

Answer

r=0.600r = 0.600. Key steps: SSxx=350−50210=350−250=100SS_{xx} = 350 - \frac{50^2}{10} = 350 - 250 = 100. SSyy=740−80210=740−640=100SS_{yy} = 740 - \frac{80^2}{10} = 740 - 640 = 100. SSxy=460−50⋅8010=460−400=60SS_{xy} = 460 - \frac{50 \cdot 80}{10} = 460 - 400 = 60. Then r=SSxySSxx⋅SSyy=60100⋅100=60100=0.600r = \frac{SS_{xy}}{\sqrt{SS_{xx} \cdot SS_{yy}}} = \frac{60}{\sqrt{100 \cdot 100}} = \frac{60}{100} = 0.600.

Loading workspace…