0% found this document useful (0 votes)
33 views7 pages

Simple Linear Regression - Sample Problems

Uploaded by

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

Simple Linear Regression - Sample Problems

Uploaded by

Aiden Pierce
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 7

No.

of correct
Attitude (y) x-xave y-yave (x-xave)(y-yave)
answers (x)
17 94 1.4 14.3 20.02
13 73 -2.6 -6.7 17.42
12 59 -3.6 -20.7 74.52
15 80 -0.6 0.3 -0.18
16 93 0.4 13.3 5.32
14 85 -1.6 5.3 -8.48
16 66 0.4 -13.7 -5.48
16 79 0.4 -0.7 -0.28
18 77 2.4 -2.7 -6.48
19 91 3.4 11.3 38.42
Sum 156 797 3.55E-15 0.00E+00 134.8
Average 15.6 79.7
n 10

Attitude (y)
100
90
f(x) = 3.17924528301887 x + 30.1037735849057
80
70
60
50
40
30
20
10
0
11 12 13 14 15 16 17 18 19 20
(x-xave)^2 (y-yave)^2
1.96 204.49 Step 1 Solve for Pearson Correlation Coefficient
6.76 44.89 0.5961
12.96 428.49
0.36 0.09
0.16 176.89 Step 2 Solve for the Slope of Regression Line
2.56 28.09
0.16 187.69 3.1792
0.16 0.49
5.76 7.29
11.56 127.69 11.57632
42.4 1206.1
2.1705

Step 3 Solve for the Y Intercept of Regression Line

30.104

19 20
A study was made on the amount of converted
sugar in a certain process at various temperatures. The
data were coded and recorded as follows:
Converted Sugar, y
Converted Sugar,
Temperature, x 12
y
1.0 8.1
10
1.1 7.8 f(x) = 1.80909090909091 x + 6.41363636363636
1.2 8.5
8
1.3 9.8
1.4 9.5 6
1.5 8.9
1.6 8.6 4
1.7 10.2
1.8 9.3 2
1.9 9.2
2.0 10.5 0
0.8 1.0 1.2 1.4 1.6 1.8
ed Sugar, y

Liner Regression Line


+ 6.41363636363636 y = 1.8091x + 6.4136

Temperature x 1.75
Converted Sugar y 9.580

1.6 1.8 2.0 2.2


A study was made on the amount of converted
sugar in a certain process at various temperatures. The
data were coded and recorded as follows:

Converted Sugar,
Temperature, x x-xave y-yave
y
1.0 8.1 -0.5 -1.0273
1.1 7.8 -0.4 -1.3273
1.2 8.5 -0.3 -0.6273
1.3 9.8 -0.2 0.6727
1.4 9.5 -0.1 0.3727
1.5 8.9 0 -0.2273
1.6 8.6 0.1 -0.5273
1.7 10.2 0.2 1.0727
1.8 9.3 0.3 0.1727
1.9 9.2 0.4 0.0727
2.0 10.5 0.5 1.3727
Sum 16.5 100.4 0.00E+00 0.00E+00
Average 1.500 9.127
n 11

12

10
f(x) = 1.80909090909091 x + 6.41363636363636

0
0.8 1.0 1.2 1.4 1.6 1.8 2.0 2.2
(x-xave)(y-yave) (x-xave)^2 (y-yave)^2
0.5136 0.2500 1.0553 Step 1 Solve for Pearson Correlation Coefficient
0.5309 0.1600 1.7617
0.1882 0.0900 0.3935
-0.1345 0.0400 0.4526
-0.0373 0.0100 0.1389 Step 2 Solve for the Slope of Regression Line
0.0000 0.0000 0.0517
-0.0527 0.0100 0.2780 1.8091
0.2145 0.0400 1.1507
0.0518 0.0900 0.0298
0.0291 0.1600 0.0053 0.848635
0.6864 0.2500 1.8844
1.99 1.1 7.2018181818182
0.3317

Step 3 Solve for the Y Intercept of Regression Line

6.4136

Temperature x 1.75
Converted Sugar y 9.580

2.0 2.2
rrelation Coefficient
0.7070

f Regression Line

cept of Regression Line

You might also like