You are on page 1of 7

QUESTION 5

a) Scatter plot

Do transformation on X by : 1/X

b)

i) Without transformation of X:

Simple linear regression model :

^y =32.7280.0432 x 1
ii) Transformation of X:

Simple linear regression model :

^y =11.591974.38 x 1

c) Anova table :
i) Without transformation of X :

The regression model is significant because the p-value is too small and
almost equal to zero
(P-value : 2.908e-07)
ii) Transformation of X :

The regression model is significant because the p-value is too small and
almost equal to zero
(P-value : 6.888e-09)

d)
i) Without transformation of X :
Total of variability , R

: 0.5896

The percentage of total variability accounted by gasoline mileage in linear


relationship with engine displacement is about 59%.

ii) Transformation of X :

Total of variability , R

: 0.6789

The percentage of total variability accounted by gasoline mileage in linear


relationship with engine displacement is about 68%.

e)
i) Without transformation of X:
From the fitted regression model, we predict the 275 on 95% CI.
Y = 32.728 0.0432 (275)
= 20.848
Prediction interval on 95% CI based on formula,

Predict 95 % CI = 20.848 2.042

941(0.878412)

= 20.848 2.87504
= 17.79296

Y0

23.72304

ii) Transformation of X:
95% CI :

Point estimate :

^y =11.591974.38

( 2751 )=4.41044

95% Prediction interval :

g) Normal probability plot for residual


i) Without transformation of X:

The residual is normally distributed.

ii) Transformation of X :

The residual is normally distributed. But there is an outlier.

h) Plot residual Vs predicted response

i) Without transformation of X :

The errors have constant variance.


ii) transformation of X :

The errors do not have constant variance. Thus, the regression model is not fit.

You might also like