Você está na página 1de 23

PROBLEM

2. Use a computer to fit a second-order model to the following data

2.7

3.8

4.58

5.0

5.3

5.2

A. Find SSE and s2


B. Do the data provide sufficient evidence to indicate that the
second- order term provides information for the prediction of y?

C. Find the least squares prediction equation.


D. Plot the data points and graph . Does your prediction equation
provide a good fit to the data? Explain

(equation 1)

(equation 2)

(equation 3)

ANSWER

Problem # 2
a. Find SSE and s2
Solution:
SSE= (yi yfit)2 and s2= SSE/ (n-k-1)
With our least square prediction equation,
y= 1.087619 + 1.65857x 0.16555x2
X

2.7

3.8

4.58

5.0

5.3

5.2

To solve for yfit or ycalculated , when x=0 ; y= 1.087619 + 1.65857(0)


0.16555(0)2 = 1.087619048

yi

yfit

(yi - yfit)2

1.087619048

0.007677098

2.7

2.582857143

0.013722449

3.8

3.751428571

0.002359184

4.58

4.593333333

0.000177778

5.108571429

0.011787755

5.3

5.297142857

8.16327x10^-6

5.2

5.159047619

0.00167798

SSE= (yi yfit)2 = 0.037409524


s2= SSE/ (n-k-1)= 0.037409524/(7-2-1) = 0.009352381

b. Problem
= . + . .

Test of hypothesis on the significance of the


coefficient of the second order term

Test of hypothesis on the significance of the coefficient of the second order term

1. 0 : 2 = 0
2. 1 : 2 0
3. Test Statistic:

2 2
2

2
2

2
=
22

Test of hypothesis on the significance of the coefficient of the second order term

7
= 21
91

21
91
441

91
441
2275

0.7619
= 0.464
0.0595

22

Test of hypothesis on the significance of the coefficient of the second order term

3. Test Statistic:

2
22
0.1633
0.0967077 0.0119048
0.1633
0.0105517

= 15.47619
4,0.025 = 2.776 2.776
Reject Ho, accept Hi
The second order term is
SIGNIFICANT

Test of hypothesis on the significance of the coefficient of the second order term

Problem #2 Case # 2
Part D

Graph
6
5
4
3
2
1
0

y = -0.1633x2 + 1.6586x + 1.0876


R = 0.9975

4
X

Solving for r2
x

y(calc)

[y(obs)-y(calc)]

1.087619

0.007677089

2.7

2.909519

0.013722014

3.8

5.058079

0.002358171

4.58

7.533299

0.000178463

10.335179

0.011798087

5.3

13.463719

5.2

16.918919

7.73396E-06
0.001667987
0.037409545

SSE =

Solving for r2
x

y(calc)

1.087619

3.94

8.6436

2.7

2.909519

3.94

1.5376

3.8

5.058079

3.94

0.0196

4.58

7.533299

3.94

0.4096

10.335179

3.94

1.1236

5.3

13.463719

3.94

1.8496

5.2

16.918919

3.94

1.5876

TSS =

15.1712

y(ave) [y(obs)-y(ave)]

Solving for r2

Solving for adjusted. r2

Conclusion
Since r2 = .9941 (near to 1), the prediction
equation provide a good fit of the data.
99.41% of the variation of y is explained by
the values of x.

Você também pode gostar