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
icon
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.)
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
steps

Step by step

Solved in 5 steps with 5 images

Blurred answer
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