A company is trying to determine if the colour of the box has any effect on sales. Three different coloured boxes are sent to their distributors and a check is made at the end of the week on the number of sales in each store. Red 43 52 59 Yellow 52 37 38 Blue 61 29 38
A company is trying to determine if the colour of the box has any effect on sales. Three different coloured boxes are sent to their distributors and a check is made at the end of the week on the number of sales in each store. Red 43 52 59 Yellow 52 37 38 Blue 61 29 38
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
Please answer all questions!
![A company is trying to determine if the colour of the box has any effect on sales. Three
different coloured boxes are sent to their distributors and a check is made at the end of the
week on the number of sales in each store.
Red
43
52
59
76
61
81
(a) Prepare the analysis of variance table manually (Show ALL workings).
(b) State the null hypothesis(es), the decision rule for a = 0.05 and make the decision
for each hypothesis.
A
B
Yellow
52
37
38
64
74
(c) Confirm your answer using R-Studio. Provide the code used and relevant output
tables.
C
D
(d) Using R-Studio, carry out relevant tests to determine if the assumptions of normality
and homogeneity of variance were violated. Carefully discuss your findings quoting
relevant statistics in your response and provide the necessary hypotheses. (Provide
the code used and relevant output tables.)
The company expanded their analysis to compare the effect on the sale of three box colours
in four different countries. The results are displayed below:
Box Colour
Yellow
Country Red
47
56
Country
A
B
C
D
Blue
61
29
38
53
79
49
41
52
54
63
44
The results for a second store in each company is added to the study. The results are
displayed below:
Box Colour
Red Yellow
45
49
43
38
50
51
60
49
Blue
60
52
55
48
Blue
54
58
50
44
Combine the data from the two sets of trials and
(e) Prepare the analysis of variance table manually (Show ALL workings).
(f) State the null hypothesis(es) in words, the decision rule for a = 0.05 and make the
decision for each hypothesis.
(g) Confirm your answer using R-Studio. Provide the code used and relevant output
tables.
3
(h) Using R-Studio, carry out relevant tests to determine if the assumptions of normality
and homogeneity of variance were violated. Carefully discuss your findings quoting
relevant statistics in your response and provide the necessary hypotheses. (Provide
the code used and relevant output tables.)](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F61796ab2-1ae4-4cc2-aff0-607d8f8f6e93%2Fb5060b5b-76fa-4942-b467-288e4a6cbe09%2Fkjfyxx_processed.jpeg&w=3840&q=75)
Transcribed Image Text:A company is trying to determine if the colour of the box has any effect on sales. Three
different coloured boxes are sent to their distributors and a check is made at the end of the
week on the number of sales in each store.
Red
43
52
59
76
61
81
(a) Prepare the analysis of variance table manually (Show ALL workings).
(b) State the null hypothesis(es), the decision rule for a = 0.05 and make the decision
for each hypothesis.
A
B
Yellow
52
37
38
64
74
(c) Confirm your answer using R-Studio. Provide the code used and relevant output
tables.
C
D
(d) Using R-Studio, carry out relevant tests to determine if the assumptions of normality
and homogeneity of variance were violated. Carefully discuss your findings quoting
relevant statistics in your response and provide the necessary hypotheses. (Provide
the code used and relevant output tables.)
The company expanded their analysis to compare the effect on the sale of three box colours
in four different countries. The results are displayed below:
Box Colour
Yellow
Country Red
47
56
Country
A
B
C
D
Blue
61
29
38
53
79
49
41
52
54
63
44
The results for a second store in each company is added to the study. The results are
displayed below:
Box Colour
Red Yellow
45
49
43
38
50
51
60
49
Blue
60
52
55
48
Blue
54
58
50
44
Combine the data from the two sets of trials and
(e) Prepare the analysis of variance table manually (Show ALL workings).
(f) State the null hypothesis(es) in words, the decision rule for a = 0.05 and make the
decision for each hypothesis.
(g) Confirm your answer using R-Studio. Provide the code used and relevant output
tables.
3
(h) Using R-Studio, carry out relevant tests to determine if the assumptions of normality
and homogeneity of variance were violated. Carefully discuss your findings quoting
relevant statistics in your response and provide the necessary hypotheses. (Provide
the code used and relevant output tables.)
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
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 5 steps with 5 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Recommended textbooks for you
![MATLAB: An Introduction with Applications](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
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](https://www.bartleby.com/isbn_cover_images/9781119256830/9781119256830_smallCoverImage.gif)
MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc
![Probability and Statistics for Engineering and th…](https://www.bartleby.com/isbn_cover_images/9781305251809/9781305251809_smallCoverImage.gif)
Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning
![Statistics for The Behavioral Sciences (MindTap C…](https://www.bartleby.com/isbn_cover_images/9781305504912/9781305504912_smallCoverImage.gif)
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…](https://www.bartleby.com/isbn_cover_images/9780134683416/9780134683416_smallCoverImage.gif)
Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON
![The Basic Practice of Statistics](https://www.bartleby.com/isbn_cover_images/9781319042578/9781319042578_smallCoverImage.gif)
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](https://www.bartleby.com/isbn_cover_images/9781319013387/9781319013387_smallCoverImage.gif)
Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman