Question

Question 1 Suppose we wanted to predict the selling price of a house using its size...

Question 1

Suppose we wanted to predict the selling price of a house using its size in a certain area of a city. A random sample of six houses were selected from the area. The data is presented in the following table with size given in hundreds of square feet, and sale price in thousands of dollars:

Size (Xi)

12

15

18

21

24

27

Price (Yi)

60

85

75

105

120

110

We are interested in fitting the following simple linear regression model:

This can also be written in matrix form as Y = Xβ + ε

a)  Calculate X′X, (X′X)-1  and X′Yand then calculate the least squares estimates of β0 andβ1.

b)   Calculate the variance-covariance matrix of b, and use it to perform a t-test to test the null hypothesis that β1 = 0. Use α = 0.05.

Use the matrix approach to calculate the following:

c)  Calculate a 95% confidence interval for the mean of Ywhen X= 20.

d)   Calculate a 95% prediction interval for an individual new value of Ywhen X= 20.

0 0
Add a comment Improve this question Transcribed image text
Know the answer?
Add Answer to:
Question 1 Suppose we wanted to predict the selling price of a house using its size...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT