6. In a large manufacturing company every item produced is inspected for defects and will go through a repair process if there are serious defects. Management wanted to investigate whether items produced on Mondays are more likely to require repairing than items produced on the midweek day Wednesday. A random sample of 9 weeks from the past 5 years was taken and the number of items which required repairing for the 9 weeks are shown in the table below. More Repairing Signed Rank of on Monday Week Monday Wednesday Difference |Difference| A 17 18 -1 NO -1 14 17 -3 NO -2 19 12 7 YES 6. D 21 17 4 YES 3 E 18 13 YES F 19 10 YES G 24 4 20 YES H 25 17 8. YES I 22 16 6. YES (a) A boxplot of the differences in number of items which required repairing on Monday and Wednesday for the 9 sampled weeks is shown below. 米 ++ ++ ++++ -4 -2 2 4 10 12 14 16 18 20 Differences

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
6. In a large manufacturing company every item produced is inspected for defects and will go through a
repair process if there are serious defects. Management wanted to investigate whether items
produced on Mondays are more likely to require repairing than items produced on the midweek day
Wednesday. A random sample of 9 weeks from the past 5 years was taken and the number of items
which required repairing for the 9 weeks are shown in the table below.
More Repairing Signed Rank of
on Monday
Week
Monday
Wednesday
Difference
|Difference|
A
17
18
-1
NO
-1
B
14
17
-3
NO
-2
C
19
12
7
YES
6.
D
21
17
4
YES
3
E
18
13
YES
F
19
10
9
YES
G
24
4
20
YES
H
25
17
8
YES
I
22
16
6
YES
(a) A boxplot of the differences in number of items which required repairing on Monday and
Wednesday for the 9 sampled weeks is shown below.
米
++
+++
十十+
++
-4
-2
2
4
8.
10
12 14
16 18 20
Differences
Transcribed Image Text:6. In a large manufacturing company every item produced is inspected for defects and will go through a repair process if there are serious defects. Management wanted to investigate whether items produced on Mondays are more likely to require repairing than items produced on the midweek day Wednesday. A random sample of 9 weeks from the past 5 years was taken and the number of items which required repairing for the 9 weeks are shown in the table below. More Repairing Signed Rank of on Monday Week Monday Wednesday Difference |Difference| A 17 18 -1 NO -1 B 14 17 -3 NO -2 C 19 12 7 YES 6. D 21 17 4 YES 3 E 18 13 YES F 19 10 9 YES G 24 4 20 YES H 25 17 8 YES I 22 16 6 YES (a) A boxplot of the differences in number of items which required repairing on Monday and Wednesday for the 9 sampled weeks is shown below. 米 ++ +++ 十十+ ++ -4 -2 2 4 8. 10 12 14 16 18 20 Differences
Explain why management determined that the matched pair t-test of
Ho: µ difference = 0
Ha: H difference >0
(where u difference is the mean of the differences in the number of produced items which required
repairing on Monday and on Wednesday for all weeks in the past 5 years) was not appropriate
after seeing the boxplot of the differences.
A different possible set of hypotheses for this investigation could be
Họ: p = 0.5
Hai p> 0.5
where p is the proportion of weeks where Monday had more produced items which required
repairing than Wednesday.
(b) Explain why the one-sample proportion z-test would not be appropriate for these data.
A sign test of the hypotheses
Но: р 3 0.5
На: р> 0.5
can be used when the one-sample proportion z-test is not appropriate. The test statistic for the sign
test is X= the number of weeks of the 9 sampled weeks where more items required repairing on
Monday than Wednesday.
(c) Assuming that the null hypothesis is true (that Mondays and Wednesdays are equally likely to
have the most produced items which require repairing), calculate the p-value P(X 27) and use
this p-value to provide the conclusion of the sign test for a significance level of a = 0.05.
A signed rank test uses both the ranks of the absolute value of the differences and the signs of the
differences to test the hypotheses
Họ: The distributions of the numbers of items which require repairing for Mondays and
Wednesday are the same.
Hạ: The distribution of the numbers of items which require repairing for Mondays is shifted to
the right of the distribution of the number of items which require repairing on Wednesdays.
The test statistic for the signed rank test is the sum of the positive ranks.
(d) Calculate the test statistic for the signed rank test by completing the signed rank of difference
column in the table at the beginning of the problem and then adding up the positive ranks.
Under the assumption that the null hypothesis of the distributions of the numbers of items requiring
repairing for Mondays and Wednesday are the same, 1000 simulations were performed and the
signed rank test statistic was calculated for each simulation. The frequency table below provide the
frequencies for these 1000 simulated signed rank test statistics.
01|2 3
3 4 | 5 8 | 15
Sign Rank Statistic Values
4
40 41 42 43 | 44 45
Frequency
2
17 | 10 | 6| 4
3
1
(e) Based on the value of the signed rank test statistic calcułated in part (d) and the distribution of
the 1000 simulated signed rank test statistics above, what should be the conclusion for the
manufacturing company for comparing the number of items requiring repairing on Mondays and
Wednesdays?
Transcribed Image Text:Explain why management determined that the matched pair t-test of Ho: µ difference = 0 Ha: H difference >0 (where u difference is the mean of the differences in the number of produced items which required repairing on Monday and on Wednesday for all weeks in the past 5 years) was not appropriate after seeing the boxplot of the differences. A different possible set of hypotheses for this investigation could be Họ: p = 0.5 Hai p> 0.5 where p is the proportion of weeks where Monday had more produced items which required repairing than Wednesday. (b) Explain why the one-sample proportion z-test would not be appropriate for these data. A sign test of the hypotheses Но: р 3 0.5 На: р> 0.5 can be used when the one-sample proportion z-test is not appropriate. The test statistic for the sign test is X= the number of weeks of the 9 sampled weeks where more items required repairing on Monday than Wednesday. (c) Assuming that the null hypothesis is true (that Mondays and Wednesdays are equally likely to have the most produced items which require repairing), calculate the p-value P(X 27) and use this p-value to provide the conclusion of the sign test for a significance level of a = 0.05. A signed rank test uses both the ranks of the absolute value of the differences and the signs of the differences to test the hypotheses Họ: The distributions of the numbers of items which require repairing for Mondays and Wednesday are the same. Hạ: The distribution of the numbers of items which require repairing for Mondays is shifted to the right of the distribution of the number of items which require repairing on Wednesdays. The test statistic for the signed rank test is the sum of the positive ranks. (d) Calculate the test statistic for the signed rank test by completing the signed rank of difference column in the table at the beginning of the problem and then adding up the positive ranks. Under the assumption that the null hypothesis of the distributions of the numbers of items requiring repairing for Mondays and Wednesday are the same, 1000 simulations were performed and the signed rank test statistic was calculated for each simulation. The frequency table below provide the frequencies for these 1000 simulated signed rank test statistics. 01|2 3 3 4 | 5 8 | 15 Sign Rank Statistic Values 4 40 41 42 43 | 44 45 Frequency 2 17 | 10 | 6| 4 3 1 (e) Based on the value of the signed rank test statistic calcułated in part (d) and the distribution of the 1000 simulated signed rank test statistics above, what should be the conclusion for the manufacturing company for comparing the number of items requiring repairing on Mondays and Wednesdays?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 5 steps

Blurred answer
Knowledge Booster
Point Estimation, Limit Theorems, Approximations, and Bounds
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