0% found this document useful (0 votes)
114 views2 pages

Linear Regression Solution

The document outlines the process of calculating a linear regression equation based on provided homework and test grades data. The slope and intercept are computed to derive the regression equation, which is y = 1.1x - 14.0. Using this equation, the estimated homework grade for a test grade of 42 is determined to be 51.

Uploaded by

hisgraceto1960
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
114 views2 pages

Linear Regression Solution

The document outlines the process of calculating a linear regression equation based on provided homework and test grades data. The slope and intercept are computed to derive the regression equation, which is y = 1.1x - 14.0. Using this equation, the estimated homework grade for a test grade of 42 is determined to be 51.

Uploaded by

hisgraceto1960
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Linear Regression Calculation

We need to determine the linear regression equation that best represents the given data,
then use it to estimate the homework grade (x) for a student with a test grade of 42.

Step 1: Extract Data


Homework Grade Test Grade (y) xy x^2
(x)

61 49 2989 3721

81 67 5427 6561

86 86 7396 7396

70 56 3920 4900

74 66 4884 5476

74 77 5698 5476

55 52 2860 3025

Sum of x: 501

Sum of y: 453

Sum of xy: 33174

Sum of x^2: 36555

Number of data points (n) = 7

Step 2: Compute Slope (m)


m = (n∑xy - ∑x∑y) / (n∑x² - (∑x)²)

Substituting values: m = (7 * 33174 - 501 * 453) / (7 * 36555 - 501²)

m = 1.078009828009828 ≈ 1.1 (rounded to the nearest tenth)

Step 3: Compute Intercept (b)


b = (∑y - m∑x) / n

b = (453 - 1.1 * 501) / 7

b = -14.014285714285718 ≈ -14.0 (rounded to the nearest tenth)

Step 4: Linear Regression Equation


The regression equation is: y = 1.1x + (-14.0)

Step 5: Estimate Homework Grade for y = 42


Using the equation: 42 = 1.1x - 12.4

x = (42 + 12.4) / 1.1

x = 51

Final Answer
The estimated homework grade for a test grade of 42 is **51**.

You might also like