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

bartleby

Concept explainers

Question
5. The following output from R presents the results from computing a linear model.
In our data example we are interested to study the relationship between TV budget and sales This R output
is for a simple data set that contains, in thousands of dollars, TV budget for 200 different markets along
with the Sales, in thousands of units, for each market.
summary (model1)
##
## Call:
## Lm (formula = Sales - TV, data = train)
##
## Residuals:
##
Min
10 Median
30
Маx
## -8.5816 -1.7845 -0.2533 2.1715 6.9345
##
## Coefficients:
Estimate Std. Error t value Pr(>|t|)
<2e-16 ***
<2e-16 ***
## (Intercept) 6.764098
0.607592
11.13
## TV
0.050284
0.003463
14.52
## ---
## Signif. codes: 0 '*o*' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 '' 1
##
## Residual standard error: 3.204 on 120 degrees of freedom
## Multiple R-squared: 0.6373, Adjusted R-squared: 0.6342
## F-statistic: 210.8 on 1 and 120 DF, p-value: < 2.2e-16
confint (model1)
##
2.5 %
97.5 %
## (Intercept) 5.56110868 7.96708701
## TV
0.04342678 0.05714057
a. Test at a 5% significance level whether B, is negative.
expand button
Transcribed Image Text:5. The following output from R presents the results from computing a linear model. In our data example we are interested to study the relationship between TV budget and sales This R output is for a simple data set that contains, in thousands of dollars, TV budget for 200 different markets along with the Sales, in thousands of units, for each market. summary (model1) ## ## Call: ## Lm (formula = Sales - TV, data = train) ## ## Residuals: ## Min 10 Median 30 Маx ## -8.5816 -1.7845 -0.2533 2.1715 6.9345 ## ## Coefficients: Estimate Std. Error t value Pr(>|t|) <2e-16 *** <2e-16 *** ## (Intercept) 6.764098 0.607592 11.13 ## TV 0.050284 0.003463 14.52 ## --- ## Signif. codes: 0 '*o*' 0.001 '**' 0.01 '*' 0.05 '.' 0.1 '' 1 ## ## Residual standard error: 3.204 on 120 degrees of freedom ## Multiple R-squared: 0.6373, Adjusted R-squared: 0.6342 ## F-statistic: 210.8 on 1 and 120 DF, p-value: < 2.2e-16 confint (model1) ## 2.5 % 97.5 % ## (Intercept) 5.56110868 7.96708701 ## TV 0.04342678 0.05714057 a. Test at a 5% significance level whether B, is negative.
Expert Solution
Check Mark
Knowledge Booster
Background pattern image
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.
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