L1S18MSAF0004
Muhammad Sufyan Sarwar
Q 1. Scatter Diagram
1.2
1.1
1.0
VISCOSITY
0.9
0.8
0.7
0.6
0.5
20 30 40 50 60 70 80 90 100
TEMPERATURE
1.2
1.0
.08
0.8
.04
0.6
.00
0.4
-.04
-.08
1 2 3 4 5 6 7 8
Residual Actual Fitted
There is an inverse relation between temperature and viscosity It seems here that straight line model is
adequate as it is n0n-linear in diagram shown.
Model
Dependent Variable: VISCOSITY
Method: Least Squares
Date: 03/28/18 Time: 13:26
Sample: 1 8
Included observations: 8
Variable Coefficient Std. Error t-Statistic Prob.
C 1.281511 0.046868 27.34278 0.0000
TEMPERATURE -0.008758 0.000728 -12.02405 0.0000
R-squared 0.960153 Mean dependent var 0.755275
Adjusted R-squared 0.953512 S.D. dependent var 0.219997
S.E. of regression 0.047434 Akaike info criterion -3.046654
Sum squared resid 0.013500 Schwarz criterion -3.026794
Log likelihood 14.18662 Hannan-Quinn criter. -3.180604
F-statistic 144.5778 Durbin-Watson stat 0.733509
Prob(F-statistic) 0.000020
Summery
We take temperature on x-axis as independent variable and viscosity on y-axis as dependent. Increasing
the temperature decrease the viscosity. Its equation is
Viscosity = 1.2815 – 0.00875temp
In the table our R2 IS 0.960 I.E 96% more close to 1 more variation is explained here. Standard error 4.7.
The probability p value in the table shows that model is fitted because of less than 0.05. F-Statics shows
in the table that it is best model for linearity.
After transformation
1.2
1.1
1.0
VISCOSITY
0.9
0.8
0.7
0.6
0.5
4 5 6 7 8 9 10
SQR(TEMPERATURE)