00:01
Problem number 36, we're going to make a confidence interval and a prediction interval.
00:04
This is the sleeping bags example.
00:06
They give us the regression line of 3 .59 .2668 minus 5 .272x, and then the standard error here of 37 .9372.
00:17
So first off, let's just find a point estimate where x equals 30, and that's just a simple plugging in 30 for x.
00:24
And you get, so i'll just go and show the work here, but you plug in 30 for the x.
00:31
And you should get the point estimate.
00:33
So y hat equals about 201.
00:38
So this is the rating or something based on the temperature rating.
00:43
I don't know.
00:43
I can't remember exactly what it is.
00:45
Okay, so now we find the confidence interval.
00:48
And that formula is y -hat, y -star hat, if you want.
00:53
So it's just that 201 plus or minus the t -alpha over 2 -star, and then times the s -y -star.
01:02
Hat.
01:03
So the alpha over two, the t alpha over two, that's the critical value.
01:06
That's easy enough to find.
01:07
You can use a table or a calculator.
01:09
In fact, let's just go ahead and do that right now.
01:11
I'm going to use a calculator.
01:12
So i'm going to use inverse t.
01:17
Okay, so inverse t.
01:19
And the area, if we want 95%, so the alpha's 0 .05, but you cut that in half, so it's 0 .025.
01:26
And then the degrees of freedom, there were 11 data values here.
01:30
So degrees of freedom will be nine.
01:32
And that gives us two point.
01:33
Now that gives us, the negative, but it's going to be positive negative 2 .262.
01:39
So that's the critical value.
01:42
So 2 .2622.
01:47
All right, now we have this thing.
01:48
So let's find what this equals.
01:50
So this equals the s, which was that 37 .9372, and then times the square root of one over the end.
02:00
The end was the sample size.
02:01
There's 11 of them.
02:02
And then we have this thing.
02:04
So over here in my excel, i'm.
02:06
Kind of already did this.
02:07
So here are the x values.
02:08
This is really the only ones i care about.
02:09
I think these were the temperatures.
02:11
And then i went ahead and find x bar, so i found the average of those.
02:14
So average of a1 to a11.
02:17
And then what i did was i took each of these individual data values.
02:21
So the average is 19.
02:23
And i took each of these data values and i subtracted 19.
02:25
So this is like the xi minus x bar.
02:27
And then i squared them...