4. Housing Prices in New YorkWe have looked at predicting the price (in s) of New York homes based on the size (in thousands of square feet), using the data in HomesForSaleNY. Two other variables in the dataset are the number of bedrooms and the number of bathrooms. Use technology to create a multiple regression model to predict price based on all three variables: size, number of bedrooms, and number of bathrooms. Price Size Beds Baths 145 1.3 3 1.5 875 2.9 7 3.75 300 1.5 3 2.5 370 1.1 2 1 268 1.5 2 2 1399 4.8 6 5 1125 3.1 3 2.5 299 1.4 3 2 110 1.2 3 1 2999 6 7 8 170 1 2 1 269 1.5 3 1.5 150 1 2 1.5 288 1.8 3 2.1 350 1.3 3 2 120 0.9 1 1 309 2.4 4 2.5 1500 1.5 2 1.5 635 2.5 4 2.5 350 0.9 2 1 459 1.8 4 2.5 275 2.9 4 1.5 275 1.8 3 2 2500 3.7 3 3 187 1.4 3 1.5 238 1.7 3 1.5 155 0.7 1 1 175 1.6 3 1.5 569 3.2 4 2 105 1.2 2 2.5 a) Which of the variables which are significant at the 5% level? b) Which variable is the most significant predictor in this model? c) What price does the model predict for a 1200 square foot (Size = 1.2) New York home with 3 bedrooms and 2 bathrooms? Round your answer to the nearest thousand dollars.

MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
icon
Related questions
icon
Concept explainers
Question

4. Housing Prices in New York

We have looked at predicting the price (in s) of New York homes based on the size (in thousands of square feet), using the data in HomesForSaleNY. Two other variables in the dataset are the number of bedrooms and the number of bathrooms. Use technology to create a multiple regression model to predict price based on all three variables: size, number of bedrooms, and number of bathrooms.

Price Size Beds Baths
145 1.3 3 1.5
875 2.9 7 3.75
300 1.5 3 2.5
370 1.1 2 1
268 1.5 2 2
1399 4.8 6 5
1125 3.1 3 2.5
299 1.4 3 2
110 1.2 3 1
2999 6 7 8
170 1 2 1
269 1.5 3 1.5
150 1 2 1.5
288 1.8 3 2.1
350 1.3 3 2
120 0.9 1 1
309 2.4 4 2.5
1500 1.5 2 1.5
635 2.5 4 2.5
350 0.9 2 1
459 1.8 4 2.5
275 2.9 4 1.5
275 1.8 3 2
2500 3.7 3 3
187 1.4 3 1.5
238 1.7 3 1.5
155 0.7 1 1
175 1.6 3 1.5
569 3.2 4 2
105 1.2 2

2.5

a) Which of the variables which are significant at the 5% level?

b) Which variable is the most significant predictor in this model?

c) What price does the model predict for a 1200 square foot (Size = 1.2) New York home with 3 bedrooms and 2 bathrooms? Round your answer to the nearest thousand dollars.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Knowledge Booster
Correlation, Regression, and Association
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, statistics and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
Probability and Statistics for Engineering and th…
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
Statistics for The Behavioral Sciences (MindTap C…
Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
The Basic Practice of Statistics
The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman
Introduction to the Practice of Statistics
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman