Quiz Linear Regression
Quiz Linear Regression
Linear Regression
Name: John Carl N. Rusiana____
Given the following sample data from the 20-item exam taken by 10 student of the QUAMETH class. The
independent variable (x) signifies the student’s individual score out of the possible 20 items test and the
dependent variable (y) is their attitude towards the test. The attitude is in percentage, the higher the
number the more positive attitude towards taking the exam.
Score(x) Attitude(y)
16 79
16 93
18 77
16 66
13 73
15 80
17 96
19 91
14 85
12 59
Attitude
50 55 60 65 70 75 80 85 90 95 100
10 11 12 13 14 15 16 17 18 19 20
Score
2. Calculate the slope(b1).
b1 = ______________
5. What is your ŷ line or line of regression? This is your estimated regression line.
ŷ = y-intercept + slope.x
ŷ = ___________________________________
5. Using the estimated line of regression formula predict the value of y given for a given x value.
Suppose the score is = 16, what would be the predicted attitude of the student? _________