MATLAB: An Introduction with Applications
MATLAB: An Introduction with Applications
6th Edition
ISBN: 9781119256830
Author: Amos Gilat
Publisher: John Wiley & Sons Inc
Bartleby Related Questions Icon

Related questions

Question
Model 1
##
## Call:
## 1m (formula = mpg wt, data = mtcars)
##
## Residuals:
##
Min
1Q Median
3Q
1.4096
Max
6.8727
## -4.5432 -2.3647 -0.1252
##
## Coefficients:
##
#3#23 (Intercept)
## wt
##
Estimate Std. Error t value Pr(>|t|)
##23 Signif. codes:
##
37.2851
-5.3445
1.8776 19.858 < 2e-16 ***
0.5591
-9.559 1.29e-10 ***
*** 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1
## Residual standard error: 3.046 on 30 degrees of freedom
## Multiple R-squared: 0.7528, Adjusted R-squared: 0.7446
## F-statistic: 91.38 on 1 and 30 DF, p-value: 1.294e-10
Model 2
##
## Call:
## 1m(formula = mpg
##
## Residuals:
##
Min
~
qsec, data = mtcars)
1Q Median
3Q
Max
2.2774 11.6491
## -9.8760 -3.4539 -0.7203
##
## Coefficients:
##
#3#23 (Intercept)
## qsec
##
Estimate Std. Error t value Pr(>|t|)
-5.1140
1.4121
10.0295 -0.510 0.6139
0.5592 2.525 0.0171 *
##23 Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1
##
## Residual standard error: 5.564 on 30 degrees of freedom
## Multiple R-squared: 0.1753, Adjusted R-squared: 0.1478
## F-statistic: 6.377 on 1 and 30 DF, p-value: 0.01708
Model 3
##
## Call:
## 1m (formula
=
##
## Residuals:
##
Min
~
mpg hp, data = mtcars)
1Q Median
30
Max
## -5.7121 -2.1122 -0.8854 1.5819 8.2360
##
## Coefficients:
##
Estimate Std. Error t value Pr(>|t|)
##23 (Intercept) 30.09886. 1.63392 18.421 2e-16 ***
1
## hp
-0.06823
0.01012 -6.742 1.79e-07 ***
##
##23 Signif. codes: 0
'***'
0.001 '**' 0.01 '*' 0.05 '.' 0.1
1
##
## Residual standard error: 3.863 on 30 degrees of freedom
## Multiple R-squared: 0.6024, Adjusted R-squared: 0.5892
## F-statistic: 45.46 on 1 and 30 DF, p-value: 1.788e-07
Model 4
##
## Call:
## 1m (formula
##
## Residuals:
##
Min
= mpg
~
qsecwt + hp, data = mtcars)
1Q Median
3Q
Max
5.6092
##23 -3.8591 -1.6418 -0.4636 1.1940
##
## Coefficients:
##
Estimate Std. Error t value Pr(>|t|)
## (Intercept) 27.61053 8.41993 3.279 0.00278 **
## qsec
## wt
## hp
##
0.51083
0.43922
1.163 0.25463
-4.35880
-0.01782
0.75270
0.01498
-5.791 3.22e-06 ***
-1.190 0.24418
##23 Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1'' 1
##
## Residual standard error: 2.578 on 28 degrees of freedom
## Multiple R-squared: 0.8348, Adjusted R-squared: 0.8171
## F-statistic: 47.15 on 3 and 28 DF, p-value: 4.506e-11
expand button
Transcribed Image Text:Model 1 ## ## Call: ## 1m (formula = mpg wt, data = mtcars) ## ## Residuals: ## Min 1Q Median 3Q 1.4096 Max 6.8727 ## -4.5432 -2.3647 -0.1252 ## ## Coefficients: ## #3#23 (Intercept) ## wt ## Estimate Std. Error t value Pr(>|t|) ##23 Signif. codes: ## 37.2851 -5.3445 1.8776 19.858 < 2e-16 *** 0.5591 -9.559 1.29e-10 *** *** 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ' ' 1 ## Residual standard error: 3.046 on 30 degrees of freedom ## Multiple R-squared: 0.7528, Adjusted R-squared: 0.7446 ## F-statistic: 91.38 on 1 and 30 DF, p-value: 1.294e-10 Model 2 ## ## Call: ## 1m(formula = mpg ## ## Residuals: ## Min ~ qsec, data = mtcars) 1Q Median 3Q Max 2.2774 11.6491 ## -9.8760 -3.4539 -0.7203 ## ## Coefficients: ## #3#23 (Intercept) ## qsec ## Estimate Std. Error t value Pr(>|t|) -5.1140 1.4121 10.0295 -0.510 0.6139 0.5592 2.525 0.0171 * ##23 Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 ## ## Residual standard error: 5.564 on 30 degrees of freedom ## Multiple R-squared: 0.1753, Adjusted R-squared: 0.1478 ## F-statistic: 6.377 on 1 and 30 DF, p-value: 0.01708 Model 3 ## ## Call: ## 1m (formula = ## ## Residuals: ## Min ~ mpg hp, data = mtcars) 1Q Median 30 Max ## -5.7121 -2.1122 -0.8854 1.5819 8.2360 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ##23 (Intercept) 30.09886. 1.63392 18.421 2e-16 *** 1 ## hp -0.06823 0.01012 -6.742 1.79e-07 *** ## ##23 Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 1 ## ## Residual standard error: 3.863 on 30 degrees of freedom ## Multiple R-squared: 0.6024, Adjusted R-squared: 0.5892 ## F-statistic: 45.46 on 1 and 30 DF, p-value: 1.788e-07 Model 4 ## ## Call: ## 1m (formula ## ## Residuals: ## Min = mpg ~ qsecwt + hp, data = mtcars) 1Q Median 3Q Max 5.6092 ##23 -3.8591 -1.6418 -0.4636 1.1940 ## ## Coefficients: ## Estimate Std. Error t value Pr(>|t|) ## (Intercept) 27.61053 8.41993 3.279 0.00278 ** ## qsec ## wt ## hp ## 0.51083 0.43922 1.163 0.25463 -4.35880 -0.01782 0.75270 0.01498 -5.791 3.22e-06 *** -1.190 0.24418 ##23 Signif. codes: 0 '***' 0.001 '**' 0.01 '*' 0.05 '.' 0.1'' 1 ## ## Residual standard error: 2.578 on 28 degrees of freedom ## Multiple R-squared: 0.8348, Adjusted R-squared: 0.8171 ## F-statistic: 47.15 on 3 and 28 DF, p-value: 4.506e-11
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
Similar questions
Recommended textbooks for you
Text book image
MATLAB: An Introduction with Applications
Statistics
ISBN:9781119256830
Author:Amos Gilat
Publisher:John Wiley & Sons Inc
Text book image
Probability and Statistics for Engineering and th...
Statistics
ISBN:9781305251809
Author:Jay L. Devore
Publisher:Cengage Learning
Text book image
Statistics for The Behavioral Sciences (MindTap C...
Statistics
ISBN:9781305504912
Author:Frederick J Gravetter, Larry B. Wallnau
Publisher:Cengage Learning
Text book image
Elementary Statistics: Picturing the World (7th E...
Statistics
ISBN:9780134683416
Author:Ron Larson, Betsy Farber
Publisher:PEARSON
Text book image
The Basic Practice of Statistics
Statistics
ISBN:9781319042578
Author:David S. Moore, William I. Notz, Michael A. Fligner
Publisher:W. H. Freeman
Text book image
Introduction to the Practice of Statistics
Statistics
ISBN:9781319013387
Author:David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:W. H. Freeman