00:01
This question is again looking at online clothes, just like the previous exercise, but it is now looking at total yearly purchases against income.
00:11
So again, i've written out the important information on the left, and i've also done a very rough sketch of the graph that you get in your question.
00:20
So part a is asking us, what is the linear regression equation for predicting our total yearly purchase from income? so we are looking for total yearly purchase equals a plus b income.
00:40
And the equations that are really important, let's start with b, is r where r is correlation, times sy, where sy is standard deviation of y, over sx, which is the standard deviation of x.
00:56
And then our equation for a is y bar where y by is the mean of y.
01:03
So you can use y bar or you can use mu like i've used down here.
01:07
Both things mean the mean.
01:09
And then we've got plus minus sorry b x bar.
01:14
And that b is the b here.
01:17
So we need to work out b first.
01:20
So for our b we're going to have 0 .722 times 2 .2.
01:29
53 .62 and we're going to divide that by 16 ,952.
01:40
And that gives us a b value 0 .0108.
01:47
Now we can use that to calculate a.
01:50
So a equals 572 .52 .52 minus and then in brackets, just to make it a little bit clearer, 0 .018 times 50 ,343 .4.
02:11
And this comes out, that's 28 .81.
02:18
So we can combine all this to say our predicted total yearly purchase is 28 .811 plus 0 .0 .1 08 income.
02:38
And that is the equation we're going to need to refer to in the rest of this question.
02:44
So now we're looking at part b.
02:47
And part b is asking us if the assumptions and conditions for regression appear to be met.
02:52
Now here we're looking at linearity, equal spread and outliers.
02:57
So linearity, looking at my little rough sketch here, does appear to be met.
03:02
There does definitely appear to be some kind of positive correlation and straight line in all...