A national homebuilder builds​ single-family homes and​ condominium-style townhouses. The accompanying dataset provides information on the selling​ price, lot​ cost, and type of home for closings during one month.   Develop a multiple regression model for sales price as a function of lot cost and type of home.   Create a dummy variable named​ "Townhouse", where it is equal to 1 when Type=​"Townhouse" and 0 otherwise. Determine the coefficients of the regression equation.   Type Sales_Price Lot_Cost Townhouse 112740 20700 Single Family 136530 25500 Townhouse 147905 24650 Single Family 170000 25200 Townhouse 181916 45025 Townhouse 187390 27000 Single Family 189120 35000 Townhouse 196898 45025 Townhouse 203076 45025 Single Family 205821 39299 Single Family 214205 36500 Townhouse 250800 73400 Single Family 255000 43198 Single Family 268000 43344 Single Family 268500 41099 Single Family 271105 45000 Single Family 277720 44650 Single Family 294990 57000 Single Family 301500 59000 Single Family 307387 45850 Single Family 312898 40768 Single Family 319602 82250 Single Family 324412 62523 Single Family 337374 70399 Single Family 337380 49150 Single Family 338065 54850 Single Family 354117 56219 Single Family 359949 50591 Single Family 432426 57422 Single Family 492820 84122   Sales Price=_________+​________•Lot Cost+​___________•Townhouse ​(Round the constant and coefficient of Townhouse to the nearest integer as needed. Round all other values to two decimal places as ​needed.)

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
A national homebuilder builds​ single-family homes and​ condominium-style townhouses. The accompanying dataset provides information on the selling​ price, lot​ cost, and type of home for closings during one month.
 
Develop a multiple regression model for sales price as a function of lot cost and type of home.
 
Create a dummy variable named​ "Townhouse", where it is equal to 1 when
Type=​"Townhouse" and 0 otherwise. Determine the coefficients of the regression equation.
 
Type Sales_Price Lot_Cost
Townhouse 112740 20700
Single Family 136530 25500
Townhouse 147905 24650
Single Family 170000 25200
Townhouse 181916 45025
Townhouse 187390 27000
Single Family 189120 35000
Townhouse 196898 45025
Townhouse 203076 45025
Single Family 205821 39299
Single Family 214205 36500
Townhouse 250800 73400
Single Family 255000 43198
Single Family 268000 43344
Single Family 268500 41099
Single Family 271105 45000
Single Family 277720 44650
Single Family 294990 57000
Single Family 301500 59000
Single Family 307387 45850
Single Family 312898 40768
Single Family 319602 82250
Single Family 324412 62523
Single Family 337374 70399
Single Family 337380 49150
Single Family 338065 54850
Single Family 354117 56219
Single Family 359949 50591
Single Family 432426 57422
Single Family 492820 84122
 
Sales
Price=_________+​________•Lot
Cost+​___________•Townhouse
​(Round the constant and coefficient of Townhouse to the nearest integer as needed. Round all other values to two decimal places as ​needed.)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

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