Call: lm(formula = priceM2 - age + distMet + latitude + longitude, data = RealEstate) Residuals: 30 10 Median -33.069 -5.343 -1.050 4.410 71.305 Min Маx Coefficients: Estimate -3.650e+03 Std. Error 6.478e+03 t value -0.563 -6.221 Pr (>|t|) 0.573 (Intercept) 1.22e-09 *** 9.88e-16 *** 1.13e-08 *** 0.621 -2.526e-01 4.060e-02 Age distMet -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 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,

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
100%

please explain with an example.

 

Call:
1m (formula = priceM2 - age + distMet + latitude + longitude,
data = RealEstate)
Residuals:
10 Median
-33.069 -5.343 -1.050
Min
30
4.410 71.305
Маx
Coefficients:
t value
-0.563
Estimate
Std. Error
Pr (>|t|)
0.573
(Intercept)
Age
-3.650e+03
6.478e+03
1.22e-09 **
9.88e-16 **
1.13e-08 **
-2.526e-01
4.060e-02
-6.221
distMet
-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,
Transcribed Image Text:Call: 1m (formula = priceM2 - age + distMet + latitude + longitude, data = RealEstate) Residuals: 10 Median -33.069 -5.343 -1.050 Min 30 4.410 71.305 Маx Coefficients: t value -0.563 Estimate Std. Error Pr (>|t|) 0.573 (Intercept) Age -3.650e+03 6.478e+03 1.22e-09 ** 9.88e-16 ** 1.13e-08 ** -2.526e-01 4.060e-02 -6.221 distMet -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,
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Basics of Inferential Statistics
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