You are on page 1of 12

LEONG CHOON WEI 11641

EEE 233 : PART 2 ASSIGNMENT 2


Question 1:
Scatterplot of Tire Wear (mm) vs Temperature(F)
1.4

Tire Wear (mm)

1.3

1.2

1.1

1.0

0.9
50

60

70
Temperature(F)

80

90

Residual Plots for Tire Wear (mm)


Normal Probability Plot

Versus Fits

99
0.2
Residual

Percent

90
50

0.1
0.0
-0.1

10
1
-0.4

-0.2

0.0
Residual

0.2

-0.2

0.4

1.10

Histogram
0.2

Residual

Frequency

1.16

Versus Order

2
1
0

1.12
1.14
Fitted Value

0.1
0.0
-0.1

-0.1

0.0
0.1
Residual

0.2

-0.2

3
4
5
6
Observation Order

Fitted Line Plot


Tire Wear (mm) = 1.270 - 0.002026 Temperature(F)
1.4

S
R-Sq
R-Sq(adj)

0.168889
3.2%
0.0%

S
R-Sq
R-Sq(adj)

0.151452
35.1%
9.2%

Tire Wear (mm)

1.3

1.2

1.1

1.0

0.9
50

60

70
Temperature(F)

80

90

R- square value =3.2%


Fitted Line Plot
Tire Wear (mm) = - 1.525 + 0.07978 Temperature(F)
- 0.000578 Temperature(F)* * 2
1.4

Tire Wear (mm)

1.3

1.2

1.1

1.0

0.9
50

60

70
Temperature(F)

80

90

R- square value = 35.1%


Fitted Line Plot
Tire Wear (mm) = 29.33 - 1.270 Temperature(F)
+ 0.01868 Temperature(F)* * 2 - 0.000090 Temperature(F)* * 3
1.4

S
R-Sq
R-Sq(adj)

Tire Wear (mm)

1.3
1.2
1.1

1.0
0.9
50

60

70
Temperature(F)

80

R- square value = 71.0%

90

0.113143
71.0%
49.3%

Polynomial Regression Analysis: Tire Wear versus Temperature


The regression equation is
Tire Wear = 29.33 - 1.270 Temperature + 0.01868 Temperature**2
- 0.000090 Temperature**3
S = 0.113143

R-Sq = 71.0%

R-Sq(adj) = 49.3%

Analysis of Variance
Source
Regression
Error
Total

DF
3
4
7

SS
0.125582
0.051206
0.176787

MS
0.0418606
0.0128014

F
3.27

P
0.141

Sequential Analysis of Variance


Source
Linear
Quadratic
Cubic

DF
1
1
1

SS
0.0056461
0.0564535
0.0634822

F
0.20
2.46
4.96

P
0.672
0.177
0.090

From the 3 fitted line plots above, the R- square value of the cubic fitted line plot is the highest among the other
two R square, therefore a cubic relationship is more suitable to describe the data involved . The relationship
between the variables is non-linear.
Testing of intercept significance
Regression Analysis: Tire Wear (mm) versus Temperature(F)
The regression equation is
Tire Wear (mm) = 1.27 - 0.00203 Temperature(F)
Predictor
Constant
Temperature(F)
S = 0.168889

Coef
1.2695
-0.002026

SE Coef
0.3331
0.004553

R-Sq = 3.2%

T
3.81
-0.44

P
0.009
0.672

R-Sq(adj) = 0.0%

Analysis of Variance
Source
Regression
Residual Error
Total

DF
1
6
7

SS
0.00565
0.17114
0.17679

MS
0.00565
0.02852

Ho

=0

H1

Since p-value (0.009) (0.05)

F
0.20

P
0.672

Reject

Ho

There is a strong evidence to conclude that the intercept coefficient is statistically significant.

Testing of slope significance


Ho

=0

H1

Since p-value (0.672) >


Do not reject

Ho

(0.05).

There is not enough evidence to conclude that the slope coefficient is statistically significant.

Question 2:
Fitted Line Plot
throttle = 0.9708 + 0.006572 torque
S
R-Sq
R-Sq(adj)

6
5

throttle

4
3
2
1
0
0

200

400
torque

600

800

Regression Analysis: throttle versus torque


The regression equation is
throttle = 0.971 + 0.00657 torque
Predictor
Constant
torque

Coef
0.9708
0.0065722

S = 0.644209

SE Coef
0.1920
0.0005030

R-Sq = 88.6%

T
5.06
13.07

P
0.000
0.000

R-Sq(adj) = 88.1%

Analysis of Variance
Source
Regression
Residual Error
Total

DF
1
22
23

SS
70.845
9.130
79.975

MS
70.845
0.415

F
170.71

P
0.000

(a) The equation is: Throttle = 0.971 + 0.00657 torque


(b)
Ho

=0

H1

Since p-value (0.000) (0.05).


Reject

Ho

0.644209
88.6%
88.1%

There is a strong evidence to conclude that the slope of the regression model is differs from zero.

Question 3:
(a) Regression Analysis: Electric pow versus average ambi, number of da, ...
The regression equation is
Electric power,y = - 103 + 0.605 average ambient temperature,x1
+ 8.92 number of days in the month,x2
+ 1.44 average product purity, x3
+ 0.014 tons of products produced,x4
Predictor
Constant
average ambient temperature,x1
number of days in the month,x2
average product purity, x3
tons of products produced,x4
S = 15.5793

R-Sq = 74.5%

Coef
-102.7
0.6054
8.924
1.437
0.0136

SECoef
207.9
0.3689
5.301
2.392
0.7338

T
-0.49
1.64
1.68
0.60
0.02

P
0.636
0.145
0.136
0.567
0.986

R-Sq(adj) = 59.9%

Analysis of Variance
Source
Regression
Residual Error
Total

DF
4
7
11

SS
4957.2
1699.0
6656.3

MS
1239.3
242.7

F
5.11

P
0.030

The regression equation:


x
x
x + 0.014 x 4
Y= -103+ 0.605 1 +8.92 2 +1.44 3
,
0

Where

=-103,

=0.605,

= 8.92,

= 1.44,

4
=0.014

(b) Test of significance of data


H o : 1 =2 =3 = 4=0
H1:

At least one parameter differ from 0

Since p-value (0.030) < (0.05)


Reject

Ho

The model is significant.


There is a strong evidence to conclude the model is useful for predicting the electric power consumed each
month by a chemical plant.

(c)Test of significance of coefficients


(i)

x1

, the average ambient temperature.


H o : 1 =0
H 1: 1 0

Since p-value (0.145) (0.05)


Do not reject

Ho

There is not enough evidence to conclude that the coefficient of average ambient temperature is significant.
(ii)

x2

, the number of days in the month


H o : 2 =0
H 1: 2 0

Since p-value (0.136) (0.05)


Do not reject

Ho

There is not enough evidence to conclude that the coefficient of the number of days in the month is significant.
(iii)

x3

,the average product purity.


H o : 3 =0
H 1 : 3 0

Since p-value (0.567) (0.05)


Do not reject

Ho

There is not enough evidence to conclude that the coefficient of the average product purity is significant.
(iv)

x4

,the tons of products produced


H o : 4=0

H 1: 4 0

Since p-value (0.986) (0.05)


Do not reject

Ho

There is not enough evidence to conclude that the coefficient of tons of products produced are significant.

Question 4:
(a)
Regression Analysis: y versus x1, x2, x3, x4
The regression equation is
y = 62.4 + 1.55 x1 + 0.510 x2 + 0.102 x3 - 0.144 x4
Predictor
Constant
x1
x2
x3
x4

Coef
62.41
1.5511
0.5102
0.1019
-0.1441

S = 2.44601

SECoef
70.07
0.7448
0.7238
0.7547
0.7091

R-Sq = 98.2%

T
0.89
2.08
0.70
0.14
-0.20

P
0.399
0.071
0.501
0.896
0.844

R-Sq(adj) = 97.4%

Analysis of Variance
Source
Regression
Residual Error
Total

DF
4
8
12

SS
2667.90
47.86
2715.76

MS
666.97
5.98

F
111.48

P
0.000

The regression equation:


x
x
x 0.144 x 4
Y= 62.4+ 1.55 1 +0.510 2 +0.102 3
,
0

Where

= 62.4,

= 1.55,

= 0.51,

= 0.102,

= -0.144

(b) Test of significance of data


H o : 1 =2 =3 = 4=0
H1:

At least one parameter differ from 0

Since p-value (0.000) < (0.05)


Ho
Reject
There is a strong evidence to conclude that the data is significant.
(c) Test the null hypothesis that

HO

H1

4
4

= 0.

0.

Since p-value (0.844) > (0.05)


HO
Do not reject

= 0.

There is not enough evidence to conclude that

x4

is significant.

(d)
The t statistic for Constant is 0.89 and the corresponding p-value is 0.399.
Since the p-value (0.399)> (0.05), it is not significant.
The t statistic for

x1

is 2.08 and the corresponding p-value is 0.071.

Since the p-value (0.071) > (0.05), it is not significant.


The t statistic for

x2

is 0.70 and the corresponding p-value is 0.501.

Since the p-value (0.501) > (0.05), it is not significant.


The t statistic for

x3

is 0.14 and the corresponding p-value is 0.896.

Since the p-value (0.896) > (0.05), it is not significant.


The t statistic for

x4

is -0.20 and the corresponding p-value is 0.844.

Since the p-value (0.844) > (0.05), it is not significant.


(e)
Data Display
Row
1

Lower
-1.08287

The value of

t
2

Upper
2.10327

is found by using inverse cumulative probability with noncentrality parameter of 0.0, degree

of freedom of (n-2) = 13-2 = 11 and input constant of 0.975.


The formula for Lower is 0.5102t 0.7238=1. 08287
The formula for Upper is 0.5102+t 0.7238=2.10327
A 95% confidence interval for the slope is between 1.08287 and 2.10327.
We are 95% confident that the mean of the heat evolved changes from 1.08287 to 2.10327 for every 1 unit
x2
increase in the ingredient
.

(f)
Stepwise Regression: y versus x1, x2, x3, x4
Alpha-to-Enter: 0.15

Alpha-to-Remove: 0.15

Response is y on 4 predictors, with N = 13


Step
Constant

1
117.57

2
103.10

3
71.65

x4
T-Value
P-Value

-0.738
-4.77
0.001

-0.614
-12.62
0.000

-0.237
-1.37
0.205

1.44
10.40
0.000

1.45
12.41
0.000

1.47
12.10
0.000

0.416
2.24
0.052

0.662
14.44
0.000

2.31
98.23
97.64
3.0

2.41
97.87
97.44
2.7

x1
T-Value
P-Value
x2
T-Value
P-Value
S
R-Sq
R-Sq(adj)
Mallows Cp

8.96
67.45
64.50
138.7

2.73
97.25
96.70
5.5

4
52.58

The regression model in Step 1 is y = 117.57 - 0.738

x4

The regression model in Step 2 is y = 103.10 - 0.614

x4

with R2= 67.45%


+ 1.44

x1

The regression model in Step 3 is y = 71.65 - 0.237

x4

+ 1.45

x1

The regression model in Step 4 is y = 52.58 + 1.47

x1

+ 0.662

x2

with R2= 97.25%


+ 0.416

x2

with R2= 98.23%


with R2= 97.87%

You might also like