00:01
Okay, so for a, we're going to find the least squares regression equation.
00:06
And we're going to do all the procedures in python.
00:10
Here we have the data, and here is the code to produce the regression results.
00:17
And here we have the output.
00:20
Now, what we want to look for is the coefficient column.
00:23
So we have the regression equation of 25 .6281 plus 0 .0719 times x1 minus 0 .8099 times x2 plus 55 .3491 times x3.
00:53
Now, for b, we are going to use a partial f -test to determine whether the number of bedrooms and baths do not significantly help to predict the response variable, the asking price.
01:09
So, the nu that we have is β2 equals β3 equals 0, and the alternative of at least one of the beta 2 and beta 3 is non -zero.
01:36
Okay, now here is the code in python to do the partial f -test, and here is the output...