Question

In: Statistics and Probability

Here are data from an Oreo comparison taste test done between regular and low-fat Oreo cookies....

Here are data from an Oreo comparison taste test done between regular and low-fat Oreo cookies.
Subject 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
Regular 3 7 5 7 8 10 9 6 10 5 9 8 8 8 6 5 6 8 7
Low-fat 6 4 8 8 6 6 5 4 7 7 5 7 6 6 8 7 4 6 5
Use it and R to run
a. A sign test to see if there is a difference in the median taste test rating between regular and
low-fat Oreo cookies.
b. A Wilcoxon signed-ranks test to see if there is a difference in the median taste test rating
between regular and low-fat Oreo cookies.

Solutions

Expert Solution

Solution-

R commands with output--

# Data from an Oreo comparison taste test done between regular and low-fat Oreo cookies.

>

> Regular= c(3,7,5,7,8,10,9,6,10,5,9,8,8,8,6,5,6,8,7)

> Low_fat= c(6,4,8,8,6,6,5,4,7,7,5,7,6,6,8,7,4,6,5)

>

>

> ## Sign Test

>

> d=Regular-Low_fat

> sp=length(d[d>0])

> sn=length(d[d<0])

> n=sp+sn

> P_value=pbinom(sp,n,0.5)

> sp

[1] 13

> P_value

[1] 0.9682159

>

>

> ## Wilcoxon's signed rank test

>

> wilcox.test(Regular,Low_fat,paired = T)

Wilcoxon signed rank test with continuity correction

data: Regular and Low_fat

V = 137, p-value = 0.08888

alternative hypothesis: true location shift is not equal to 0

Thank you..!!

Please like..


Related Solutions

A taste test is done to see whether a person can tell Soda X from Soda...
A taste test is done to see whether a person can tell Soda X from Soda Y. In each case, 38 random and independent trials are done (half with Soda X and half with Soda Y) in which the person determines whether she or he is drinking Soda X or Soda Y. One person gets 25 right out of 38 trials. Which graph shown below is the correct figure to test the hypothesis that the person can tell the difference?...
Suppose you are investigating whether there is a difference in taste between organic milk and regular...
Suppose you are investigating whether there is a difference in taste between organic milk and regular milk. You recruit 16 random volunteers and ask each one individually after tasting to tell you which of two unmarked glasses contains the organic milk. Let X be the number of correct guesses. If there really were no difference in taste between organic milk and regular milk, what would be the probability of exactly six correct guesses, to three decimal points?
A comparison is made between two bus lines to determine if arrival times of their regular...
A comparison is made between two bus lines to determine if arrival times of their regular buses from Denver to Durango are off schedule by the same amount of time. For 51 randomly selected runs, bus line A was observed to be off schedule an average time of 53 minutes, with standard deviation 17 minutes. For 61 randomly selected runs, bus line B was observed to be off schedule an average of 62 minutes, with standard deviation 11 minutes. Do...
A comparison is made between two bus lines to determine if arrival times of their regular...
A comparison is made between two bus lines to determine if arrival times of their regular buses from Denver to Durango are off schedule by the same amount of time. For 51 randomly selected runs, bus line A was observed to be off schedule an average time of 53 minutes, with standard deviation 19 minutes. For 60 randomly selected runs, bus line B was observed to be off schedule an average of 61 minutes, with standard deviation 13 minutes. Do...
A comparison is made between two bus lines to determine if arrival times of their regular...
A comparison is made between two bus lines to determine if arrival times of their regular buses from Denver to Durango are off schedule by the same amount of time. For 46randomly selected runs, bus line A was observed to be off schedule an average time of 53 minutes, with standard deviation 15 minutes. For 61 randomly selected runs, bus line B was observed to be off schedule an average of 62 minutes, with standard deviation 13 minutes. Do the...
A comparison is made between two bus lines to determine if arrival times of their regular...
A comparison is made between two bus lines to determine if arrival times of their regular buses from Denver to Durango are off schedule by the same amount of time. For 51 randomly selected runs, bus line A was observed to be off schedule an average time of 53 minutes, with standard deviation 17 minutes. For 61 randomly selected runs, bus line B was observed to be off schedule an average of 60 minutes, with standard deviation 15 minutes. Do...
A comparison is made between two bus lines to determine if arrival times of their regular...
A comparison is made between two bus lines to determine if arrival times of their regular buses from Denver to Durango are off schedule by the same amount of time. For 51 randomly selected runs, bus line A was observed to be off schedule an average time of 53 minutes, with standard deviation 19 minutes. For 60 randomly selected runs, bus line B was observed to be off schedule an average of 62 minutes, with standard deviation 15 minutes. Do...
Is there a relationship between body fat and resting rate. Test at alpha =.05 test the...
Is there a relationship between body fat and resting rate. Test at alpha =.05 test the significance of the relationship between body fat and resting rate using table I or the traditional five step method. Participant body fat resting rate A 41.2 1204 B 51.1 1346 C 34.5 1052 D 42.4 1125 E 33.1 913 F 40.3 1190 G 42 1256 H 50.6 1502 I 42 1420 J 48.5 1396 K 54.6 1425 L 36.1 995
Dairies make low-fat milk from full-cream milk. In the process of making low-fat milk, the cream , which is made into ice cream
Dairies make low-fat milk from full-cream milk. In the process of making low-fat milk, the cream , which is made into ice cream . In the market for low-fat milk, the following events time. Explain the effect of each event on the supply of low-fat milk. ( i ) With advice from health - care experts, dairy farmers decide to switch from producing 18 cream milk to growing vegetables. ( ii ) A new technology lowers the cost of producing ice cream....
Here is some data from the 2013 California test takers comparing their family income and their...
Here is some data from the 2013 California test takers comparing their family income and their average aggregate SAT score. Test-taker Family Income ------Total Mean SAT Score $0 – $20,000 ---- 1326 $20,000 – $40,000 -----1402 $40,000 – $60,000 ------1461 $60,000 – $80,000 -----1497 $80,000 – $100,000 -----1535 $100,000 – $120,000 ------1569 $120,000 – $140,000----- 1581 $140,000 – $160,000 ----1604 More than $200,000----- 1714 (a) Enter the data into your graphing utility and determine a line of best fit, a...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT