00:01
Okay, so for a, we're going to construct a correlation matrix.
00:04
And here is the data that we have.
00:07
And here you can use the coding python pandas correlation to calculate the correlation matrix.
00:17
And here we have the result.
00:21
Now for b, we want to find the least squares regression equation.
00:27
Now here is the coding python again to produce the regression result.
00:32
And here is the output.
00:36
Now what you want to look for is this coefficient column.
00:40
So we have the regression equation of negative 15 .2478 plus 1 .555449 times x1 plus 5 .5684 times x2.
01:09
Now for c, we're gonna do the residual plots to assess the adequacy of the model.
01:17
And here is the code in python to produce the residual plot.
01:23
We have the plot here.
01:27
Now the residuals seem to be quite random and there is no trend, so we can say that the model is adequate.
01:41
Now for d, we're going to interpret the regression coefficients for the d -squares regression equation, and as you can see here, for x1, one unit increase causes causes increase of 1 .5449 in y, and for x2, 1 unit increase causes increase of 5 .5684 in y...