Exercise 1. A real estate agent wishes to determine the selling price of residences using the size (square feet) and whether the residence is a condominium or a single-family home. A sample of 20 residences was obtained with the following results: Price (S) Type Square Feet Price (S) Type Square Feet 199,700 Family 211,800 200,600 Condo Condo 210,500 Family Family Condo Condo 1,500 1,375 Condo 2,085 208,000 1,825 197,100 Family 228,400 Family 215,800 Family 190,900 1,450 1,650 1,836 233,300 1,960 1,730 187,200 185,200 1,360 Condo 1,726 1,200 312,200 Family 284,100 Family 207,200 Family 258,200 Family Family 2,300 2,000 313,600 Condo 1,650 1,755 239,000 Family 184,400 Condo 1,950 1,850 1,630 1,545 203,100 1. Produce a regression equation to predict the selling price for residences using a model of the following form: Ni = B + Birı + Bn+e

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
Question

i want Solution Part 3, 4, and 5

Exercise 1.
A real estate agent wishes to determine the selling price of residences using the size
(square feet) and whether the residence is a condominium or a single-family home. A sample of 20 residences was
obtained with the following results:
Price (S) Type Square Feet Price (S)
199,700 Family
211,800
Туре Square Feet.
Condo
1,500
200,600
1,375
Condo
2,085
1,450
1,836
1,730
1,726
208,000
Condo
1,825
1,650
197,100 Family
228,400 Family
215,800 Family
Condo
210,500
Family
233,300 Family
187,200
1,960
1,360
Condo
190,900
312,200
185,200
Condo
1,200
Family
Family
Condo
239,000 Family
2,300
284,100
2,000
1,650
1,950
1,545
313,600
207,200
Family
Family
203,100 Family
1,755
1,850
258,200
184,400
Condo
1,630
1.
Produce a regression equation to predict the selling price for residences using a model of the
following form:
yi = Bo + Biri + hra +e
where:
if a condo
ri = Square footage and ra =
0 if a single-family home
2.
Interpret the estimated parameters and , in the model give in part 1.
3.
Produce an equation that describes the relationship between the selling price and the square
footage of (1) condominium and (2) single-family homes.
4.
Conduct a test of hypothesis to determine if the difference between the average selling price of
condominiums and single-family homes significant.
5.
What change would you expect in the estimated regression model if you recode ra as the following?
Rerun the regression model with the newly coded ra and verify your expectation.
1 if a single-family home
if a condo
Transcribed Image Text:Exercise 1. A real estate agent wishes to determine the selling price of residences using the size (square feet) and whether the residence is a condominium or a single-family home. A sample of 20 residences was obtained with the following results: Price (S) Type Square Feet Price (S) 199,700 Family 211,800 Туре Square Feet. Condo 1,500 200,600 1,375 Condo 2,085 1,450 1,836 1,730 1,726 208,000 Condo 1,825 1,650 197,100 Family 228,400 Family 215,800 Family Condo 210,500 Family 233,300 Family 187,200 1,960 1,360 Condo 190,900 312,200 185,200 Condo 1,200 Family Family Condo 239,000 Family 2,300 284,100 2,000 1,650 1,950 1,545 313,600 207,200 Family Family 203,100 Family 1,755 1,850 258,200 184,400 Condo 1,630 1. Produce a regression equation to predict the selling price for residences using a model of the following form: yi = Bo + Biri + hra +e where: if a condo ri = Square footage and ra = 0 if a single-family home 2. Interpret the estimated parameters and , in the model give in part 1. 3. Produce an equation that describes the relationship between the selling price and the square footage of (1) condominium and (2) single-family homes. 4. Conduct a test of hypothesis to determine if the difference between the average selling price of condominiums and single-family homes significant. 5. What change would you expect in the estimated regression model if you recode ra as the following? Rerun the regression model with the newly coded ra and verify your expectation. 1 if a single-family home if a condo
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Knowledge Booster
Linear Equations
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
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