StatisticsLinear Regression

Least-squares regression line for hours studied vs points earned on a project

Homework Question

For the data x=(1,2,3,4,5)x = (1, 2, 3, 4, 5) and y=(2.1,3.9,6.2,7.8,10.1)y = (2.1, 3.9, 6.2, 7.8, 10.1) (hours studied vs points earned on a project), find the least-squares regression line y^=b0+b1x\hat{y} = b_0 + b_1 x, the correlation rr, and predict yy at x=6x = 6.

Verified Final Answer
y^=0.050+1.990x\hat{y} = 0.050 + 1.990x, r≈0.9987r \approx 0.9987, y^(6)≈11.99\hat{y}(6) \approx 11.99

Key Formula & Principle

b1=∑(x−xˉ)(y−yˉ)∑(x−xˉ)2,b0=yˉ−b1xˉb_1 = \frac{\sum (x - \bar{x})(y - \bar{y})}{\sum (x - \bar{x})^2}, \quad b_0 = \bar{y} - b_1\bar{x}

Step-by-Step Solution

  1. 1
    Means: xˉ=3\bar{x} = 3, yˉ=6.02\bar{y} = 6.02.
  2. 2
    ∑(x−xˉ)(y−yˉ)=19.9\sum (x - \bar{x})(y - \bar{y}) = 19.9 and ∑(x−xˉ)2=10\sum (x - \bar{x})^2 = 10.
  3. 3
    Slope: b1=19.910=1.9900b_1 = \frac{19.9}{10} = 1.9900; intercept: b0=6.02−(1.9900)(3)=0.0500b_0 = 6.02 - (1.9900)(3) = 0.0500.
  4. 4
    Correlation r≈0.9987r \approx 0.9987 (TI-84: LinReg(a+bx) with DiagnosticOn).
  5. 5
    Prediction: y^(6)=0.0500+1.9900(6)≈11.99\hat{y}(6) = 0.0500 + 1.9900(6) \approx 11.99.
Interactive Homework Customizer

Have this WebAssign / Canvas problem with different numbers?

Replace the numbers or functions below to match your exact assignment version, then generate a custom step-by-step derivation.

View all Statistics →