Professional Documents
Culture Documents
Anreg - Tugas Essay - Daniel Unedo Tarigan
Anreg - Tugas Essay - Daniel Unedo Tarigan
Kelas : Matematika A 17
NIM : 4173230004
11.11 The trust of an engine (y) is a function of exhaust temperature (x) in F when other importan
variables are held constant . Consider the Following data
y x
4300 1760
4650 1652
3200 1485
3150 1390
4950 1820
4010 1665
3810 1550
4500 1700
3008 1270
In this task, we will plot the data with 3 way, which is R, Matlab, and SPSS.
(b) Fit a simple linear regression to the data and plot the line through the data.
y x xy x^2
309760
4300 1760 7568000
0
272910
4650 1652 7681800
4
220522
3200 1485 4752000
5
193210
3150 1390 4378500
0
331240
4950 1820 9009000
0
277222
4010 1665 6676650
5
240250
3810 1550 5905500
0
289000
4500 1700 7650000
0
161290
3008 1270 3820160
0
x y
xy n
b
x
2
x 2
n
57441610 56497864
22954054 22695696
3.652862
b1 is 3.652862. Then we can get the value of b0 from this equation :
We obtain the value of
a y bx
3953.111111 (3.652862*1588)
1847.63
After we have all the value, we can form the simple linear regression equation, that is :
yˆ a bx
yˆ 1847.63 3.652862 x
With R, we get the result :
From that picture, we can see the value of a is -1847.6330 and the value of b is 3.6529. And the
regression line can we see from this picture :
Coefficientsa
Standardized
Unstandardized Coefficients Coefficients
Model B Std. Error Beta t Sig.
1 (Constant) -1847.633 904.874 -2.042 .080
X 3.653 .567 .925 6.447 .000
a. Dependent Variable: Y
From that tabel, we can get the value of a = -1847.633 and b = 3.653.
With Matlab, We obtain the same result. We can see from this picture :
11.12. A Study was done to study the effect of ambient temperature x on the electric power
consumed by a chemical x on the electric power consumed by a chemical plant y. Other factors
were held constant, and the data were collected from an experimental pilot plant.