Model 1 ## ## Call: ## 1m (formula = Cost ## ## Residuals: ## Min ~ Distance, data = nor_df) 1Q Median 3Q Max 169590 ## -201296 -48458 -3049 49335 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 765488.5 16242.5 47.13 ## Distance -6102.5 450.9 -13.53 <2e-16 *** <2e-16 *** ## ## Signif. codes: 0 ***** 0.001 **** 0.01 0.05 '.' 0.1 1 ## ## Residual standard error: 70970 on 248 degrees of freedom ## Multiple R-squared: 0.4248, Adjusted R-squared: 0.4225 ## F-statistic: 183.2 on 1 and 248 DF, p-value: <2.2e-16 Model 2 ## ## Call: ## 1m(formula = Cost ~ Home Size, data = nor_df) ## ## Residuals: ## Min 1Q Median 3Q Max 153610 ## -175173 -44115 -3414 43821 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) 299.27 ## (Intercept) -345269.80 54173.79 -6.373 8.95e-10 *** ## Home_Size ## 17.97 16.651 < 2e-16 *** ## Signif. codes: 0 **** 0.001 ** 0.01 ** 0.05 0.11 ## ## Residual standard error: 64300 on 248 degrees of freedom ## Multiple R-squared: 0.5278, Adjusted R-squared: 0.5259 ## F-statistic: 277.2 on 1 and 248 DF, p-value: <2.2e-16 Model 3 ## ## Call: ## 1m (formula = Cost ~ Distance + Home_Size, data = nor_df) ## ## Residuals: ## Min 1Q Median 3Q Max # # -4.456e-10 -1.495e-10 -5.530e-11 3.690e-11 1.203e-08 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) -1.628e+05 6.718e-10 -2.424e+14 <2e-16 *** ## Distance -6.441e+03 4.959e-12 -1.299e+15 <2e-16 *** ## Home_Size 3.128e+02 2.182e-13 1.433e+15 <2e-16 *** ## --- ##23 Signif. codes: 0***** 0.001 *** 0.01 '*' 0.05 '.' 0.1 ' ## ## Residual standard error: 7.797e-10 on 247 degrees of freedom ## Multiple R-squared: 1, Adjusted R-squared: 1 ## F-statistic: 1.786e+30 on 2 and 247 DF, p-value: <2.2e-16 Home Size Cost of Home Cost of Home $800,000- Cost and Size of Home $700,000- $600,000- $500,000- $400,000- $300,000- 2400 2700 3000 Size of Home 3300 3600 $800,000- Cost and Distance $700,000- $600,000- $500,000- $400,000- $300,000 $3,600 $3,300 $3,000 $2,700 $2,400 10 • 10 20 30 40 50 60 Distance • Home Size and Distance 20 30 40 50 60 Distance •
Model 1 ## ## Call: ## 1m (formula = Cost ## ## Residuals: ## Min ~ Distance, data = nor_df) 1Q Median 3Q Max 169590 ## -201296 -48458 -3049 49335 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 765488.5 16242.5 47.13 ## Distance -6102.5 450.9 -13.53 <2e-16 *** <2e-16 *** ## ## Signif. codes: 0 ***** 0.001 **** 0.01 0.05 '.' 0.1 1 ## ## Residual standard error: 70970 on 248 degrees of freedom ## Multiple R-squared: 0.4248, Adjusted R-squared: 0.4225 ## F-statistic: 183.2 on 1 and 248 DF, p-value: <2.2e-16 Model 2 ## ## Call: ## 1m(formula = Cost ~ Home Size, data = nor_df) ## ## Residuals: ## Min 1Q Median 3Q Max 153610 ## -175173 -44115 -3414 43821 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) 299.27 ## (Intercept) -345269.80 54173.79 -6.373 8.95e-10 *** ## Home_Size ## 17.97 16.651 < 2e-16 *** ## Signif. codes: 0 **** 0.001 ** 0.01 ** 0.05 0.11 ## ## Residual standard error: 64300 on 248 degrees of freedom ## Multiple R-squared: 0.5278, Adjusted R-squared: 0.5259 ## F-statistic: 277.2 on 1 and 248 DF, p-value: <2.2e-16 Model 3 ## ## Call: ## 1m (formula = Cost ~ Distance + Home_Size, data = nor_df) ## ## Residuals: ## Min 1Q Median 3Q Max # # -4.456e-10 -1.495e-10 -5.530e-11 3.690e-11 1.203e-08 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) -1.628e+05 6.718e-10 -2.424e+14 <2e-16 *** ## Distance -6.441e+03 4.959e-12 -1.299e+15 <2e-16 *** ## Home_Size 3.128e+02 2.182e-13 1.433e+15 <2e-16 *** ## --- ##23 Signif. codes: 0***** 0.001 *** 0.01 '*' 0.05 '.' 0.1 ' ## ## Residual standard error: 7.797e-10 on 247 degrees of freedom ## Multiple R-squared: 1, Adjusted R-squared: 1 ## F-statistic: 1.786e+30 on 2 and 247 DF, p-value: <2.2e-16 Home Size Cost of Home Cost of Home $800,000- Cost and Size of Home $700,000- $600,000- $500,000- $400,000- $300,000- 2400 2700 3000 Size of Home 3300 3600 $800,000- Cost and Distance $700,000- $600,000- $500,000- $400,000- $300,000 $3,600 $3,300 $3,000 $2,700 $2,400 10 • 10 20 30 40 50 60 Distance • Home Size and Distance 20 30 40 50 60 Distance •
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 1 steps
Recommended textbooks for you
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
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
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
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
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman