4/27/00 252y0032 ECO252 QBA2 Name

advertisement
4/27/00 252y0032
ECO252 QBA2
THIRD HOUR EXAM
April 19, 2000
Name
key
Hour of Class Registered (Circle)
MWF TR 10 12 12:30 2:00
(Open this document in 'Page Layout' view!)
I. (10+ points) Do all the following;
1. Hand in your computer printouts for problems 1,2 and 3.(5 points – 3 point penalty for not handing in)
2. Do not do the following unless you handed in at least two outputs.
On the next few pages there are problems very much like the ones you did.
a. An oil price report reveals that the mean national price for gas was $1.46 last week. A random
sample of gas stations (data is "gaspr2") in Southeastern Pennsylvania reveals that the mean price was
$1.44. Using the tests with p-values in Minitab Problem 1 below, can we conclude that the price in
Southeastern Pennsylvania is lower than it is nationwide? Do not answer without citing which of the tests
and p-values you used. (2)
b. The regression Problem 2 relates sales of a product (‘sales1’) to shelf space ('shsp') in a
random sample of grocery stores. Identify the slope of the equation and explain whether it is significant at
the 2% significance level.(2) Add a regression line to the graph. (1) Do a 95% confidence interval for the
slope. (2)
Remember: As I have said innumerable times, your null hypothesis is usually 'no
significance.'
The rule on p-value:
If the p-value is less than the significance level (alpha) reject the null hypothesis; if the pvalue is greater than or equal to the significance level, do not reject the null hypothesis.
Since a p-value is a probability, there is no reason in the universe why you would compare it
with anything but a probability. (The significance level is also a probability.)
See next few pages for the answer to question 2.
7
4/24/00 252y0032
Problem1:
MTB > RETR 'C:\MINITAB\2X0031-3.MTW'.
Retrieving worksheet from file: C:\MINITAB\2X0031-3.MTW
Worksheet was saved on 4/11/2000
MTB > ttest mu=1.46 'gaspr2'
T-Test of the Mean
Test of mu = 1.46000 vs mu not = 1.46000
Variable
gaspr2
N
35
Mean
1.44473
StDev
0.04962
SE Mean
0.00839
T
-1.82
P-Value
0.077
T
-1.82
P-Value
0.96
MTB > ttest mu=1.46 'gaspr2';
SUBC> alt =1.
T-Test of the Mean
Test of mu = 1.46000 vs mu > 1.46000
Variable
gaspr2
N
35
Mean
1.44473
StDev
0.04962
SE Mean
0.00839
MTB > ttest mu=1.46 'gaspr2';
SUBC> alt=-1.
T-Test of the Mean
*********
Test of mu = 1.46000 vs mu < 1.46000
Variable
gaspr2
N
35
Mean
1.44473
StDev
0.04962
SE Mean
0.00839
T
-1.82
P-Value
0.039
MTB > Stop.
Solution to 2a: The only part of the printout that is relevant is the starred section which tests
 H 0 :   1.46
. Since p-value is .039 and this is very small, we reject the null hypothesis at the 5%

 H 1 :   1.46
significance level (but not at the 1% level). If we use the 5% significance level, we conclude that the mean
Southeastern PA price is below the mean nationwide price. Testing H 0 :   1.46 is not the same as
testing H 1 :   1.46.
Problem 2:
Worksheet size: 100000 cells
MTB > RETR 'C:\MINITAB\2X0031-2.MTW'.
Retrieving worksheet from file: C:\MINITAB\2X0031-2.MTW
Worksheet was saved on 4/13/2000
MTB > print 'sales1''shsp'
Data Display
Row
sales1
shsp
1
2
3
4
5
6
7
8
9
10
11
12
2.6
3.2
2.4
2.9
3.4
3.6
3.3
3.7
3.8
3.6
4.0
4.3
5
5
5
10
10
10
15
15
15
20
20
20
8
4/24/00 252y0032
MTB > regress 'sales1' on 1 'shsp''resid''pred'
Regression Analysis
The regression equation is
sales1 = 2.40 + 0.0800 shsp
Predictor
Constant
shsp
Coef
2.4000
0.08000
s = 0.3225
Stdev
0.2280
0.01665
R-sq = 69.8%
t-ratio
10.52
4.80
p
0.000
0.000
R-sq(adj) = 66.7%
Analysis of Variance
SOURCE
Regression
Error
Total
DF
1
10
11
SS
2.4000
1.0400
3.4400
MS
2.4000
0.1040
F
23.08
p
0.000
pred
MTB > plot 'pred'*'shsp'
MTB > plot 'sales1'*'shsp'
MTB > plot 'pred'*'shsp' 'sales1'*'shsp';
SUBC> symbol;
SUBC> type 3 1;
SUBC> color 8 9;
4.5
SUBC> overlay.
MTB > Save 'C:\MINITAB\2X0031-2.MTW';
SUBC>
Replace.
Saving worksheet in file: C:\MINITAB\2X0031-2.MTW
* NOTE * Existing file replaced.
MTB >
3.5
2.5
5
10
15
20
shsp
Answer to 2b: (i)According to the printout, the slope of the regression equation is b1  0.0800 . (Its
H 0 :  1  0
standard deviation is sb1  01665. ) If we assume a confidence level of 2% and test 
, we find
H 1 :  1  0
a p-value of 0.000 which is below .02 (=2%) and reject the null hypothesis. We thus conclude that the slope
is significant. The p-value from the ANOVA has the same effect. (ii) Just connect the x's. (iii) From the
10
outline: 1  b1  t sb1  0.0800  2.228 0.01665   0.080  0.037 . Here tn2  t.025
 2.228.
2
2
9
4/24/00 252y0032
Problem 3:
Worksheet size: 100000 cells
MTB > RETR 'C:\MINITAB\2X0031-1.MTW'.
Retrieving worksheet from file: C:\MINITAB\2X0031-1.MTW
Worksheet was saved on 4/13/2000
MTB > print 'br st' 'op''mach'
Data Display
Row
br st
op
mach
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
116
116
120
112
109
115
110
111
108
119
116
116
106
103
107
111
114
115
110
111
107
100
102
100
104
103
106
113
116
112
106
108
108
109
112
111
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
3
3
3
3
3
3
3
3
3
4
4
4
4
4
4
4
4
4
1
1
1
2
2
2
3
3
3
1
1
1
2
2
2
3
3
3
1
1
1
2
2
2
3
3
3
1
1
1
2
2
2
3
3
3
MTB > table'op''mach'
10
4/24/00 252y0032
Tabulated Statistics
ROWS: op
1
2
3
4
ALL
COLUMNS: mach
1
2
3
ALL
3
3
3
3
12
3
3
3
3
12
3
3
3
3
12
9
9
9
9
36
CELL CONTENTS -COUNT
MTB > table 'op''mach';
SUBC> data 'br st'.
Tabulated Statistics
ROWS: op
COLUMNS: mach
1
2
3
1
116.00
116.00
120.00
112.00
109.00
115.00
110.00
111.00
108.00
2
119.00
116.00
116.00
106.00
103.00
107.00
111.00
114.00
115.00
3
110.00
111.00
107.00
100.00
102.00
100.00
104.00
103.00
106.00
4
113.00
116.00
112.00
106.00
108.00
108.00
109.00
112.00
111.00
CELL CONTENTS -br st:DATA
11
4/24/00 252y0032
MTB > table 'op''mach';
SUBC> mean 'br st'.
Tabulated Statistics
ROWS: op
1
2
3
4
ALL
COLUMNS: mach
1
2
3
ALL
117.33
117.00
109.33
113.67
114.33
112.00
105.33
100.67
107.33
106.33
109.67
113.33
104.33
110.67
109.50
113.00
111.89
104.78
110.56
110.06
CELL CONTENTS -br st:MEAN
MTB > twoway 'br st''op''mach'
Two-way Analysis of Variance
Analysis of Variance for br st
Source
DF
SS
MS
op
3
361.22
120.41
mach
2
389.56
194.78
Interaction
6
90.44
15.07
Error
24
88.67
3.69
Total
35
929.89
MTB > Save 'C:\MINITAB\2X0031-1.MTW';
SUBC>
Replace.
Saving worksheet in file: C:\MINITAB\2X0031-1.MTW
* NOTE * Existing file replaced.
MTB >
12
4/24/00 252y0032
III. Do at least 4 of the following 6 Problems (at least 10 each) (or do sections adding to at least 40 points Anything extra you do helps, and grades wrap around) . Show your work! State H 0 and H1 where
applicable.
1. In Problem 3 in the computer output above we are looking at the effect of operator ('op') and machine
('mach') on the breaking strength ('br st') of a product.
a. Complete the table in the ANOVA by computing all the Fs and finding the relevant Fs for
comparison on your F table. Is there a significant difference between mean breaking strength for the
machines at the 1% significance level? Show what numbers brought you to your conclusion. (4)
b. Test for significant interaction – explain your conclusion. Use a 99% confidence level. (1)
c. Do a 99% confidence interval for the mean of machine 2 (2)
d. Do a 99% confidence interval between the means for machine 2 and 3 that is
(i) Valid when used alone. (1)
(ii) Valid when used with other possible differences between means. (2)
e. I have not asked you any questions about operators. If I was not interested in the effect of
operators, why would I have done a 2-way analysis of variance instead of a 1-way ANOVA? (1)
f. In a study of the time necessary to repair a VCR, 5 brands (Factor A) , 3 service centers (Factor
B) and two types (standard or deluxe) of product (Factor C) are distinguished. There are four
measurements (replications) per cell. Generate an ANOVA table showing all possible interactions,
using the following data. SSA = 59, SSB = 950, SSC = 38, SSAB = 405, SSAC = 15, SSBC = 20,
SSW = 245, SST = 1900. Using a 5% significance level, which of the differences and interactions
are significant.? (7)
Solution: a. The printout says (with F and F.01 columns added):
Analysis of Variance for br st
Source
DF
SS
MS
F
op
3
361.22
120.41
32.63
mach
2
398.56
194.78
52.79
6
24
35
90.04
88.67
929.89
15.07
3.69
4.08
Interaction
Error
Total
F.01
F 3,24  4.72
F 2,24  5.61
F 6,24  3.67
For the 'mach' line the null hypothesis is 'machine means equal.' We have computed
194 .78
F
 52 .79 . Because this F is larger than F 2,24  5.61 from the F table, we reject the null
3.69
hypothesis and conclude that there is a significant difference between the breaking strengths.
15 .07
 4.08 , and is larger than
b. For the interaction the null hypothesis is 'no interaction'. F 
3.69
F 6,24  3.67 , so we reject the null hypothesis and conclude that there is significant interaction.
c. The table of means in the printout says:
ROWS: op
1
2
3
4
ALL
COLUMNS: mach
1
2
3
ALL
117.33
117.00
109.33
113.67
114.33
112.00
105.33
100.67
107.33
106.33
109.67
113.33
104.33
110.67
109.50
113.00
111.89
104.78
110.56
110.06
CELL CONTENTS -br st:MEAN
13
4/24/00 252y0032
From this we conclude that x2  106 .33 and x3  109 .50 . Note that P  3, C  3 and R  4.
The outline says:
i. A Single Confidence Interval
If we desire a single interval we use the formula for a Bonferroni Confidence Interval below with m  1 .
ii. Scheffé Confidence Interval
2MSW
For column means, use  1   2  x1  x2   C  1FC 1, RC P 1
.
PR
iii. Bonferroni Confidence Interval
2MSW
Use for column means  1   2  x1  x2   t RC P 1
.
2m
PR
You were also told to use the formulas without the second mean if you wanted intervals for one mean. (See
problems.) The ANOVA table tells us that the error mean square term has 24 degrees of freedom so that
24
t RC P1  t.005
 2.797. Under these circumstances, the Bonferroni formula becomes
2
 2  x2   t RC P 1
2
MSW
3.69
 106 .33   2.797
 106 .33  1.55 .
PR
12
d. (i) Using the advice above, the Bonferroni formula becomes  2   3  x2  x3   t RC P 1
2
 106 .33  109 .50   2.797
23.69 
 3.17  2.19
12
2MSW
PR
2,24  5.61 . So the Scheffé interval becomes
(ii) From the ANOVA table FC 1, RC P 1  F.01
2  3  x2  x3  
C  1FC 1, RCP 1 2MSW
 106 .33  109 .50  
3  15.61 23.69   3.17  2.62.
PR
12
e. The columns are still not random samples and it is important to eliminate any effects due to the operators
before we look at the machines.
f. b) There are 5  3  2  30 groups with 4 observations in each group, so n  30  4  120 .
‘s’ means ‘significant difference’ ( H 0 rejected), ‘ns’ means ‘no significant difference’ ( H 0 accepted).
Source
SS
DF
MS
F
F.05
Factor A
59
4
Factor B
950
2
475
174.79
Factor C
38
1
38
13.96
Interaction AB
405
8
50.625
18.59
Interaction AC
15
4
3.75
1.38
Interaction BC
20
2
10
3.67
168
8
21
7.71
245
1900
90
119
Interaction ABC
Error (Within)
Total
14.75
5.42
2.46  F 4,90  2.49 s
3.09  F 2,90  3.11 s
3.94  F 1,90  3.96 s
2.03  F 8,90  2.06 s
2.46  F 4,90  2.49 ns
3.09  F 2,90  3.11 s
2.03  F 8,90  2.06 s
2.722222
14
4/24/00 252y0032
2. A hospital administrator wishes to compare the distribution of unoccupied beds in three hospitals.
Because she believes that the distributions are quite badly skewed she does not use analysis of variance but
instead ranks the entire sample and uses a test based on these ranks. Data is below. Numbers in boldface
were added in the process of solving the problem.
Day
1
2
3
4
5
6
7
8
9
10
Beds
6
38
3
17
11
30
15
16
25
5
Rank
5
27
2
13
8
21
11
12
17
4
120
Beds
34
28
42
13
40
31
9
32
39
27
Rank
25
19
30
9.5
29
22
7
23
28
18
210.5
Beds
13
35
19
4
29
0
7
33
18
24
Rank
9.5
26
15
3
20
1
6
24
14
16
134.5
Ranks
1 3 2
3 1 2
1 3 2
3 2 1
1 3 2
2 3 1
3 2 1
1 2 3
2 3 1
1 3 2
18 25 17
a. On the basis of the rank sums test the hypothesis that the median number of beds unoccupied differs for
the three hospitals. (5)
b. A statistician claims that her method is inappropriate because she has ignored the fact that each row
corresponds to a specific day, even if the days were chosen randomly. Rerank the data to account for the
fact that it is cross-classified and repeat the analysis. (9)
Solution:
a. H 0 : Columns come from same distribution or medians equal.
Sums of ranks are added above in boldface. To check the ranking, note that the sum of the three rank sums
nn  1 30 31

 465 .
is 120 + 210.5 + 134.5 = 465, and that the sum of the first n numbers is
2
2
 12
 SRi 2 

  3n  1
Now, compute the Kruskal-Wallis statistic H  
 nn  1 i  ni 
 12  120 2 210 .52 134 .52 

  331  12 1440  4431 .025  1809 .025   93  6.0974 . If we try to







30
31
10
10
10
930



look up this result in the (10,10,10) section of the Kruskal-Wallis table (Table 9) , we find that the problem
is to large for the table. Thus we must use the chi-squared table with 2 degrees of freedom. Since
 .2052   5.9915 reject H 0 .

.
15
4/24/00 252y0032
b. H 0 : Columns come from same distribution or medians equal.
Items were ranked within the rows. To check the ranking, note that the sum of the three rank sums is 18 +
cc  1
25 + 17 = 60, and that the sum of the c numbers in a row is
. However, there are r rows, so we
2
rc c  1 10 34
must multiply the expression by r . So we have
SRi 

 60 .
2
2
 12

SRi2   3r c  1
Now compute the Friedman statistic  F2  
 rc c  1 i


 


 12
18 2  25 2  17 2   310 4  3.8 . If we try to find the place on the Friedman Table





10
3
4


(Table 8) for 3 columns and 10 rows, we find that the problem is too big far the table. We thus compare our
Friedman statistic with the  2 distribution, with df  c  1  2 , where c is the number of columns. Since
 2 is not larger than  22   5.9915 , do not reject the null hypothesis.
F
.05
16
4/24/00 252y0032
3. A law enforcement agency has come up with three methods of publicizing burglary-prevention methods
to use during summer vacations. Three communities are selected and the numbers of burglaries are listed
below. You may do this as a 2-way or 1-way ANOVA.
a. In each case state your null hypothesis about the publicity methods and the results (8)
b. Do a confidence interval for the mean for method 3 based on your computations in a. (2)
c. If you did two-way ANOVA explain what else it showed and why this is important if our major
interest is what publicity method to use. (5)
Method
1
15
17
27
Community 1
Community 2
Community 3
Method
2
13
25
24
Method
3
8
13
17
Solution: a) 2-way ANOVA ‘s’ indicates that the null hypothesis is rejected.
Community
Burglaries
Sum
ni
x .1
x .2
x .3
x
1
2
3
Sum
15
17
27
59
13
25
24
+ 62
8
13
17
+ 38
36
55
68
= 159 
nj
3
+3
+3
=9 n
 x
20.6667
12.6667
SS
1243
+ 1370
+ 522
17.667  x
3135   xij2
x 2j
386.778
+ 427.111
+ 160.444
= 974.333  x.2j

SSR   n x
SSC 
n j x2j
2
i i.
n
9
3
3
3
9
12.000
18.333
22.667
17.667
458
1083
1594
3135

19.6667
 x  159 . SST 
SS
x i2.
i..
x j
Note that x is not a sum, but is
x i.
 x
2
ij
144.000
336.111
513.778
993.889
 x

2
ij
x
2
i.
 n x  3135  917 .667 2  326 .000 .
2
 n x  3974 .333   917 .667 2  114 .000 . This is SSB in a one way ANOVA.
2
 n x  3993 .889   917 .667 2  172 .667 ( SSW  SST  SSC  SSR  39.333 )
2
Source
SS
DF
MS
F
Rows (Community)
172.667
2
86.333
9.25
Columns(Method)
114.000
2
57.000
5.80
Within (Error)
39.333
4
Total
326.000
8
One way ANOVA (Not blocked by community)
Source
SS
DF
Columns(Method)
114.000
2
F.05
F 2,4  6.94 s
F 2,4  6.94 ns
H0
Row means equal
Column means equal
9.8333
( SSW  SST  SSB  19.4447 )
MS
F.05
F
57.000
1.61
F 2,6  5.14 ns
H0
Column means equal
Within (Error)
212.000
6
35.333
Total
326.000
8
Because the computed F is less than the table F , there is no significant difference between the methods.
17
4/24/00 252y0032
b) Using the formulas in the outline for one mean (and k  1 ). In any case s  MSW . For 1-way
ANOVA  3  x3   t n  m  s
2
1
1
35 .333
6
 12 .667   t .025
35 .333
 12 .667   2.447
 12 .67  8.39
n3
3
3
For column means in 2-way ANOVA with P  1 , use  3  x3   t R1C 1
2
MSW
R

 12 .667   t .4025

9.8333
9.8333
 12 .667   2.776
 12 .67  5.03 .
3
3
c) We do find that there is a significant difference between the community means. This could cause us to
believe that there is more difference between the methods than there really is.
18
4/24/00 252y0032
4. a. To test the response of an 800 number, I make 20 attempts to reach the number, continuing to call
until I get through. I hypothesize that the results follow a Poisson distribution with a mean of 2.0. Test this –
data are below. (6)
Number of Unsuccessful
Tries before success.
0
1
2
3
4
5
Observed
Frequency
2
2
4
6
4
2
20
b. A Service station reports the following sales:
12.78
8.89
10.09
10.64
16.98
26.99 (With a sample mean of 14.395
and a sample standard deviation of 6.795.) Do these data follow a normal distribution? (7)
Solution: a. H 0 :Poisson2.0 Because of the small size of the sample, this is best done by the
Kolmogorov-Smirnov method.
O
D  Fo  Fe
Fo
Fe
x
O
n
0
2
.10
.10
.13534 .03534
1
2
.10
.20
.40601 .20601
2
4
.20
.40
.67668 .27668
3
6
.30
.70
.85713 .15713
4
4
.20
.80
.94735 .14735
5
2
.10
1.00
.98344 .01656
20
1.00
The maximum difference is MaxD  .27668 , which must be checked against the Kolmogorov-Smirnoff
table for n  200 . According to the table, for   .05 , the critical value for n  20 is .294. Since MaxD is
less than .294, accept the null hypothesis.
Of course, most of you wanted to do this problem by the chi-squared method.
x
0
1
2
3
4
5+
Since  .205
O2
E
2 .1353
2.706* 0-1
4
8.120
1.9704
2 .2707
5.414
2
4
5.414
2.9553
4 .2707
5.414
3+
12
6.466 22.2703
6 .1804
3.608*
20
20.000 27.1460
4 .0902
1.804*
20.0000
2 .0527
1.054*
7.1460
20 1.0000
20.000 * Indicates groups with E  5 that had to be merged.
 5.995 is less than our computed  2 , reject the null hypothesis.
O
f
E  fn
x
O
E
19
4/24/00 252y0032
b. H 0 : N  ?, ? H 1 : Not Normal
Because the population mean and standard deviation are unknown and the sample is small, this is a
Lilliefors problem. The x values must be in order From the data we find that x  14.395 and s  6.795 .
x  x x  14 .395
t

.This is often called z as in a K-S problem and F t  is a cumulative Normal
s
6.795
probability computed just like F z  below.
x
8.89
10 .09
10 .64
12 .78
16 .98
26 .99
t
 0.81
F t  .2090
O
1
O
0.1667
n
Fo 0.1667
D
.0423
 0.63
.2643
1
 0.55
.2912
1
 0.23
.4090
1
0.38
.6480
1
1.85
.9678
1
0.1667
0.3333
.0690
0.1667
0.5000
.2088
0.1667
0.6667
.2577
0.1667
0.8333
.1853
0.1667
1.0000
.0322

MaxD   .2577
Since the Critical
O  n  6 Value for   .05
is .319 , do not re ject H 0 .
20
4/24/00 252y0032
5. An firm wishes to explain the volume of office sales (in millions of dollars) over a year as a function of
number of customers (in thousands). It collects data for a random sample of nine offices as follows:
Observation
1
2
3
4
5
6
7
8
9
cust
sales
10.1
10.3
6.1
8.4
8.9
9.9
9.7
6.1
6.3
13.4
13.0
8.6
11.2
11.4
12.1
11.4
8.7
9.2
(The xy column is added here.)
135.34
133.90
52.46
94.08
101.48
119.79
110.58
53.07
57.96
858.64
For your convenience the following values are given:
 x  75.8,  x
2
 664 .08,
 y  99.0,  y
2
 1114 .6, n  9.
a. Compute the regression equation Y  b0  b1 x to predict sales. (6)
b. On the basis of your regression, how many millions of dollars of sales do you expect from an office that
has nine thousand customers. (1)
c. Compute R 2 . (4)
Solution:
Spare Parts Computation:
 x  75.8  8.42222
x
n
y
SSxx 
 y  99  11.00
Sxy 
 24 .84
9
Sxy

SSxx
 xy  nxy  24.84  0.9675
 x  nx 25.67556
2
 nx 2  664 .08  98.4222 2
 xy  nx y  858 .64  98.42222 11.00 
SSyy 
a. b1 
2
 25 .67556
9
n
x
2
y
2
 ny  1114 .6  911 .00 2
2
 25 .60  TSS
b0  y  b1 x  11.00  0.9675 8.4222  2.8515
b. Y  b0  b1 x becomes Yˆ  2.8515  0.9675 x , and Yˆ  2.8515  0.967511  13.4940 is the number of
millions of dollars that we forecast.
RSS 24 .0327
xy  nx y  0.9675 24 .84   24 .0327 R 2 

 0.9388 or
c. RSS  b1 Sxy  b1
TSS
25 .60


 xy  nxy 
Sxy2 
24.84 2


 .9387
SSxxSSyy  x 2  nx 2  y 2  ny 2  25.67556 25.60 
2
R
2
( 0  R 2  1 always!)
21
4/24/00 252y0032
6. Continuing the previous problem. (  .01)
a. Compute s e . (3)
b. Compute s b0 and do a significance test on b0 .(4)
c. Do a confidence interval for b1 (3)
d. Using your SST etc., put together the ANOVA table (6)
Solution:
s e2 
a. ESS  TSS  RSS  25.60  24.0327  1.5673
s e2 
SSyy  b1 Sxy

n2
 y
  xy  nxy  25.60   0.9675 24.84 

 0.2239 or
 ny 2  b1
1  R TSS  1  R  y

2
2
s e2
2
n2
n2
2
 ny
2

n2
or
se2
 y

s e  0.2239  0.4731 (The computer has 0.4763)
b.
ESS 1.5673

 0.2239 or
n2
7
1
1
x 2 
s b20  s e2  
 s e2  
 n SSxx 
n




7
2
 ny
2
  b  x
2
1
2

n2
(
s e2
is always positive!)
2

  0.2239  1  8.42222 
 9 25 .67556
x 2  nx 2 


x2
sb0  0.643446  0.8022
 nx 2

  0.643446


b0  2.8515
H 0:  0  0 H 1 :  0  0
t
b0   00 b0  0 2.8515


 3.555 . Since this is not between
s b0
s b0
0.8022
7
 t.n2  t .005
 3.499 , reject H 0 and thus conclude that  0 is significant.
2
c. s b21 
s e2

SSxx
 x
s e2
2
 nx
2


0.2239
 0.008720
25 .67556
sb1  0.008720  0.09338 .
So 1  b1  sb1  0.9675  3.4990.09338  0.967  0.327
d. From the previous page and above RSS  24.0327 , TSS  25 .60 and ESS  1.5673 . H 0 is that there is
no relation between Y and X .
Source
SS
DF
MS
F
F.01
Regression
25.0327
1
25.0327
Error (Within)
Total
1.5673
25.6000
7
8
0.2239
111.80
F 1,7   12.25 s
Since the table F is less than the computed F, reject H 0 .
22
Download