Call: lm (formula = priceM2 - age + distMet + latitude + longitude, data = RealEstate) Residuals: Min 10 Median 30 Маx -33.069 -5.343 -1.050 4.410 71.305 “圖" Coefficients: t value -0.563 Estimate Std. Error Pr (>|t|) 0.573 (Intercept) -3.650e+03 6.478e+03 -2.526e-01 4.060e-02 Age distMet -6.221 1.22e-09*** 9.88e-16*** 1.13e-08 *** -5.875e-03 7.027e-04 -8.361 latitude 2.714e+02 4.655e+01 5.830 longitude -2.532e+01 5.120e+01 -0.495 0.621 --- Signif. codes: 0 ****' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 9.355 on 409 degrees of freedom Multiple R-squared: 0.5319, Adjusted R-squared: 0.5273 F-statistic: 116.2 on 4 and 409 DF, p-value: < 2.2e-16 f) A new variable is added to the model which is longitude of the residence. Summary output is given above. What do you think of the new model? Do you think this variable should be added to the model, why? (15p)

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
Topic Video
Question
100%

please elaborate and give example also. thank you.

Call:
Im (formula = priceM2
- age + distMet + latitude + longitude,
data = RealEstate)
Residuals:
Min
10
Median
30
Маx
-33.069
-5.343
-1.050
4.410
71.305
Coefficients:
t value
-0.563
Estimate
Std. Error
Pr (>|t|)
(Intercept)
-3.650e+03
6.478e+03
0.573
Age
-2.526e-01
4.060e-02
-6.221
1.22e-09 ***
distMet
-5.875e-03
7.027e-04
-8.361
9.88e-16 ***
4.655e+01
5.120e+01
latitude
2.714e+02
5.830
1.13e-08 ***
longitude
-2.532e+01
-0.495
0.621
---
Signif. codes:
O '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
Residual standard error: 9.355 on 409 degrees of freedom
Multiple R-squared:
F-statistic: 116.2 on 4 and 409 DF, p-value: < 2.2e-16
0.5319, Adjusted R-squared: 0.5273
f) A new variable is added to the model which is longitude of the residence. Summary output is given
above. What do you think of the new model? Do you think this variable should be added to the model,
why? (15p)
Transcribed Image Text:Call: Im (formula = priceM2 - age + distMet + latitude + longitude, data = RealEstate) Residuals: Min 10 Median 30 Маx -33.069 -5.343 -1.050 4.410 71.305 Coefficients: t value -0.563 Estimate Std. Error Pr (>|t|) (Intercept) -3.650e+03 6.478e+03 0.573 Age -2.526e-01 4.060e-02 -6.221 1.22e-09 *** distMet -5.875e-03 7.027e-04 -8.361 9.88e-16 *** 4.655e+01 5.120e+01 latitude 2.714e+02 5.830 1.13e-08 *** longitude -2.532e+01 -0.495 0.621 --- Signif. codes: O '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 Residual standard error: 9.355 on 409 degrees of freedom Multiple R-squared: F-statistic: 116.2 on 4 and 409 DF, p-value: < 2.2e-16 0.5319, Adjusted R-squared: 0.5273 f) A new variable is added to the model which is longitude of the residence. Summary output is given above. What do you think of the new model? Do you think this variable should be added to the model, why? (15p)
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Propositional Calculus
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.
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