numBrands   sales 15                   651.06 30                   728.92 19                   725.34 25                   735.48 21                   737.04 19                   706.22 17                   663.94 21                   741.6 21                   739.95 15                   636.44 15                   651.58 16                   638.45 26                   761.92 25                   759.08 13                   573.34 13                   588.97 23                   734.74 26                   758.79 20                   701.94 12                   557.84 18                   687.5 27                   769.38 17                   678.67 13                   568.66 23                   770.24 15                   608.31 22                   744.26 18                   695.06 22                   747.36 33                   715.59 Sara is local grocery store owner that recently found out that her manager, Joe, in charge of placing new orders of cookies has been very lazy this year. Some weeks, Joe would have forgotten to place an order to replace the brands of cookies the store ran out of. When Joe forgot to order more cookies, he just filled the shelves with more boxes of the brands that he had left. As a result, the number of brands of cookies that customers could buy changed a fair amount form week to week.   While upset that she had to replace Joe, Sara decided to try to get some use out of this bad situation. Sara realized that she can use the sales numbers from this time period to study the relationship between the weekly sales of cookies and the number of brands that were available that week.   In the data file ``Cookie.Sales'' Sara has collected the sales and brand availability for the past thirty weeks. The ``numBrands'' variable indicates how many brands of cookies were available in each week and the ``sales'' variable indicates the total sales, in dollars, of cookies in each week.   Hypothesize the simple linear regression model that Sara should use. Be sure to include all assumptions being made. Check the model assumptions. Obtain the slope and intercept estimates of your simple linear regression in R. Interpret the slope in terms of the relationship between the number of brands of cookies and the weekly sales of cookies.

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
Practice Pack

numBrands   sales

15                   651.06

30                   728.92

19                   725.34

25                   735.48

21                   737.04

19                   706.22

17                   663.94

21                   741.6

21                   739.95

15                   636.44

15                   651.58

16                   638.45

26                   761.92

25                   759.08

13                   573.34

13                   588.97

23                   734.74

26                   758.79

20                   701.94

12                   557.84

18                   687.5

27                   769.38

17                   678.67

13                   568.66

23                   770.24

15                   608.31

22                   744.26

18                   695.06

22                   747.36

33                   715.59

Sara is local grocery store owner that recently found out that her manager, Joe, in charge of

placing new orders of cookies has been very lazy this year. Some weeks, Joe would have forgotten to place an order to replace the brands of cookies the store ran out of. When Joe forgot to order more cookies, he just filled the shelves with more boxes of the brands that he had left. As a result, the number of brands of cookies that customers could buy changed a fair amount form week to week.

 

While upset that she had to replace Joe, Sara decided to try to get some use out of this bad situation.

Sara realized that she can use the sales numbers from this time period to study the relationship between the weekly sales of cookies and the number of brands that were available that week.

 

In the data file ``Cookie.Sales'' Sara has collected the sales and brand availability for the past thirty weeks. The ``numBrands'' variable indicates how many brands of cookies were available in each week and the ``sales'' variable indicates the total sales, in dollars, of cookies in each week.

 

  1. Hypothesize the simple linear regression model that Sara should use. Be sure to include all assumptions being made.
  2. Check the model assumptions.
  3. Obtain the slope and intercept estimates of your simple linear regression in R. Interpret the slope in terms of the relationship between the number of brands of cookies and the weekly sales of cookies.
  4. Would it be appropriate to interpret the intercept as the average weekly sales of cookies when no brands of cookies are available? Why or why not?
  5. How useful does the model appear to be? Be clear about what metrics you are using and interpret these (coeff of determination, model standard error).
  6. Conduct a test for the slope and interpret the p-value. Is the slope found to be statistically significant at the 5% significance level?
  7. Construct a 90% confidence interval for the true average weekly sales when the store has 30 brands of cookies available. Interpret the interval in context.
  8. Construct a 90% prediction interval for a new week's sales when the store has 30 brands of cookies available that week. Interpret the interval in context.
Expert Solution
trending now

Trending now

This is a popular solution!

video

Learn your way

Includes step-by-step video

steps

Step by step

Solved in 4 steps with 6 images

Blurred answer
Knowledge Booster
Hypothesis Tests and Confidence Intervals for Means
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
  • SEE MORE QUESTIONS
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