00:01
Here's a solution to the years and contributions data.
00:03
We're going to test first because we're supposed to find y hat, and then we're supposed to evaluate that whenever x equals 4.
00:08
But first we're going to test to make sure that r is significant.
00:11
So we have a null hypothesis that row equals 0, and then an alternative hypothesis that row does not equal 0, meaning we're assuming that it's not significant, but then we're trying to prove that it is.
00:21
And we need to look at r for that.
00:22
So if you go to stat, edit, there you can see your data values.
00:25
Okay, so if we go to stat, calc, and then lin, reg, tag, l1 is my x list, l2 is my y list.
00:32
And because i know what's going to happen, i'm going to go ahead and store this into y1.
00:37
All right, so i calculate, and that r is negative .883, which is a pretty good r.
00:41
All right.
00:42
So let's go ahead and write that down.
00:43
So we have r equals negative 0 .88.
00:46
I'll go ahead and go to four decimal places, 2 .9.
00:48
So let's find the test statistic, which is that r divided by the square root of 1 minus r squared.
00:55
So 1 minus .7795 divided by 1, 2, 3, 4, 6, so minus 2 equals 4.
01:05
And that's going to give us a test statistic of about negative 3 .76.
01:10
Okay, so now we need to find the p value here.
01:12
So the p value is if you go to stat, i'm sorry, a second of ours, and go to the tcdf, and we're just going to look at the left tail.
01:21
So i'm going to go from negative some large number, negative e99.
01:25
And in the upper boundary, i'm going to put my statistics.
01:28
So since it's negative, that's why i went to the left...