Docsity

Solutions to Problem Set 11 in Statistics: Confidence Intervals and Prediction Intervals, Assignments of Statistics

Toggle sidebar
bg1
1 Review problem set 2 solutions
Here are solutions to review problem set 2:
11.33 and 11.34) See the SAS computer file on the website for the computer solution. For
the data from problem 11.21, we want to construct both a confidence interval for E(yn+1)
and also a prediction interval for yn+1 when xn+1=30, using α=.05. Then we have (using
log base eof biological recovery) byn+1 = 3.85 −(0.0366)(30) = 2.75, n = 13, x = 30., Sxx =
4550., t.025,11 = 2.201, and that sε=.256.Then we have
tα/2sεs1
n+(xn+1 −x)2
Sxx
= (2.201)(.256)r1
13 +(30 −30)2
4550 =.156,
so that the confidence interval is 2.75 ±.16 or (2.59, 2.91). Similarly, for the prediction
interval
tα/2sεs1 + 1
n+(xn+1 −x)2
Sxx
= (2.201)(.256)r1 + 1
13 +(30 −30)2
4550 =.584,
so the prediction interval is 2.75 ±.58 or (2.17, 3.33).
If you used log base 10 instead to transform biological recovery, your prediction is byn+1 =
1.67 −(0.0159)(30) = 1.195,your confidence interval is (1.127, 1.263) and your prediction
interval is (0.941, 1.45).
11.43 a) The data can be plotted using a computer package (see files), and looks fairly
linear.
b) The prediction equation is byi= 3.37 + 4.07xi.
c) The residual-by-predicted value plot does not follow a horizontal band about 0, so
additional terms may be needed in the model.
11.52 a) r2
yx = 1167747/1171919 = .996. This equals the value in the output.
b) The sign of the slope agrees with the correlation coefficient, so ryx = +pr2
yx =.998.
c) If the range of xor yis restricted then the value of ryx will decrease, see the discussion
in section 11.7.
11.82 a) If the taxpayers’ group is correct, we expect an inverse relationship between
expenditure and town population.
b) The output disagrees with the opinion of the group.
11.83) Yes, the regression line from 11.82 is misleading due to the influential point that
is far different than the rest of the data.
11.84 a) The data point was forcing the least-squares solution to meet it, completely
changing the pattern that exists for the rest of the data.
1
pf2

Partial preview of the text

Download Solutions to Problem Set 11 in Statistics: Confidence Intervals and Prediction Intervals and more Assignments Statistics in PDF only on Docsity!

1 Review problem set 2 solutions

Here are solutions to review problem set 2:

11.33 and 11.34) See the SAS computer file on the website for the computer solution. For

the data from problem 11.21, we want to construct both a confidence interval for E(yn+1)

and also a prediction interval for yn+1 when xn+1=30, using α=.05. Then we have (using

log base e of biological recovery) ŷn+1 = 3. 85 − (0.0366)(30) = 2. 75 , n = 13, x = 30., Sxx =

4550 ., t. 025 , 11 = 2.201, and that sε =. 256. Then we have

tα/ 2 sε

n

(xn+1 − x)

2

Sxx

2

so that the confidence interval is 2.75 ± .16 or (2.59, 2.91). Similarly, for the prediction

interval

tα/ 2 sε

n

(xn+1 − x)

2

Sxx

2

so the prediction interval is 2.75 ± .58 or (2.17, 3.33).

If you used log base 10 instead to transform biological recovery, your prediction is ŷn+1 =

  1. 67 − (0.0159)(30) = 1. 195 , your confidence interval is (1.127, 1.263) and your prediction

interval is (0.941, 1.45).

11.43 a) The data can be plotted using a computer package (see files), and looks fairly

linear.

b) The prediction equation is ŷi = 3.37 + 4. 07 xi.

c) The residual-by-predicted value plot does not follow a horizontal band about 0, so

additional terms may be needed in the model.

11.52 a) r

2 yx = 1167747/1171919 =^ .996. This equals the value in the output.

b) The sign of the slope agrees with the correlation coefficient, so ryx = +

r^2 yx =. 998.

c) If the range of x or y is restricted then the value of ryx will decrease, see the discussion

in section 11.7.

11.82 a) If the taxpayers’ group is correct, we expect an inverse relationship between

expenditure and town population.

b) The output disagrees with the opinion of the group.

11.83) Yes, the regression line from 11.82 is misleading due to the influential point that

is far different than the rest of the data.

11.84 a) The data point was forcing the least-squares solution to meet it, completely

changing the pattern that exists for the rest of the data.

b) The rest of the data (after excluding the influential point) appear to agree with the

taxpayers’ group opinion.

11.85) Yes, the slope is now negative, as expected by the taxpayers’ group.

For the final problem with the cereal data, we have:

y 1 = β 0 + ε 1 , y 2 = β 0 + ε 2 , y 3 = β 0 + ε 3 , y 4 = β 0 + ε 4 , y 5 = β 0 + ε 5 , where xi 1 , for

example, is the ith observation’s value of variable x 1. This can be rewritten as:

y 1

y 2

y 3

y 4

y 5

[β 0 ] +

ε 1

ε 2

ε 3

ε 4

ε 5

so

X

′ X = [1 1 1 1 1]

= [5] , X

′ Y = [1 1 1 1 1]

= [620] , and

(X

′ X)

− 1 = [5]

− 1 = [1/5] so β̂ = β̂ 0 = (X

′ X)

− 1 X

′ Y = (1/5)(620) = 620/5 = 124