00:01
In this question, we revisit the grades of the statistics course from question 47.
00:05
But this time we want to look for a linear relationship between homework marks and midterm marks.
00:12
So what we've done is we've added the two midterm scores for each student together, and now we're looking for a linear relationship between homework and midterm total.
00:24
So i've performed a linear regression in r, and this is my output.
00:29
So the linear relationship is defined by this intercept coefficient and this slope coefficient.
00:40
And for part b we're asked to comment on the conditions for regression and whether the slope is statistically significant.
00:49
So let's start off by looking at some of the scatter plots i made in r.
00:54
So this is just a raw scatter plot of the midterm sums versus the homework.
01:00
And it seems to show a linear.
01:02
Relationship from here to the top right.
01:05
It's a pretty good linear relationship.
01:07
You would say it's linear enough to meet the condition.
01:12
And here i have a scatter plot of the residuals.
01:14
It looks like a nice random scatter plot which speaks to the independence assumption.
01:20
And it also looks like it has equal variance as you move from left to right.
01:23
So it's not fanning in, it's not fanning out, and that speaks to the equal variance assumption.
01:31
And third, i have a normal probability plot of the residuals.
01:35
And it makes it pretty pretty much...