00:02
Hi everyone.
00:04
This is the second computer exercise in chapter 3.
00:08
We're using the data h price 1 and we're trying to estimate the model.
00:13
The price is equal to beta 0 plus beta 1 square fits plus beta 2 bedrooms plus you.
00:20
So i just run this regression of data.
00:24
It puts regress price square feet bedrooms and it gives me the following estimates.
00:32
So my estimates are, well, i'm just going to write out the result in equation format as if we're asking the question.
00:48
So it's going to be price is equal to beta 0.
00:55
My estimate for beta 0 is minus 19 .315 plus 0 .128 is my estimate for beta 1 square feet.
01:29
And the estimate for beta 2 is 15 .198.
01:45
So this is, right, price hat, what comes out of the regression.
01:56
Okay, so the second question is, what is the estimated increase in price for a house which one more bedroom holding square footage constant? that is just the bedroom, like the coefficient on bedroom.
02:19
And so this price since this was in thousand dollars so if we have one more bedroom and keeping a square feet fixed then it's just going to be one time 15 .198 right so let's say the change in price the change in estimated price with one more bedroom is going to be just coefficients, the estimate for coefficient times 1000 since the price is in thousand dollars and it's going to be 15 .198 times thousand which is going to be 15 ,000 and longer than 98.
03:25
All right.
03:29
The third question is what is the estimated increase in price for a house with an additional bedroom with an additional bedroom that is 140 square feet in size.
03:45
So now we have an additional bedroom, but we also have an additional 140 square fits.
03:54
So the change in price is going to be 0 .128 times 140 plus 15 .198 times 1 ,000, and times 1 ,000 ,000 times 1 ,000 times 1 ,000 ,000.
04:09
Prices in thousand dollars and when we do this calculation so i'm just going to call the changing price the second changing price let's call this one the first changing price and as i said it's going to be thousand times later one half times the change in square face variant which was point 128 times hundred and 40 plus it's going to be 15 .198 times one and this gives me 33 .18.
05:14
So the estimated price change here is going to be $33 ,000 and right, $118 .33 ,000.
05:35
So we'll okay then we're going to compare this to the second one.
05:40
Why is this different? because in the first one we're keeping the square feet fixed and just increasing a number of bedrooms.
05:48
So we were comparing the price of a house that is the same in square fits but has one more bedroom.
05:58
And we would expect an increase in price by more than $15 ,000...