Question

In: Statistics and Probability

Suppose that my favorite colors are RED and PURPLE, and I hate all other colors of...

Suppose that my favorite colors are RED and PURPLE, and I hate all other colors of Skittles. Find a 95% confidence interval for the difference in proportion of Skittles packages whose dominant color is a FAVORITE COLOR and the proportion of Skittles packages whose dominant color is a HATED COLOR.

 
Package Red Orange Yellow Green Purple Total Dominant Color
1 15 15 16 12 14 72 Y
2 13 6 11 16 15 61 G
3 9 9 10 18 15 61 G
4 7 9 8 18 15 57 G
5 13 9 14 10 7 53 Y
6 15 20 8 10 9 62 O
7 12 11 11 16 8 58 G
8 14 14 15 5 12 60 Y
9 14 14 15 5 12 60 Y
10 16 10 13 10 10 59 R
11 14 11 12 13 9 59 R
12 10 11 16 8 15 60 Y
13 7 15 12 12 13 59 O
14 7 15 12 12 13 59 O
15 18 10 10 9 13 60 R
16 10 9 12 15 9 55 G
17 8 13 11 6 21 59 P
18 12 14 12 10 11 59 O
19 12 8 11 15 12 58 G
20 14 5 13 14 13 59 R
21 16 10 11 15 10 62 R
22 10 9 9 9 21 58 P
23 15 6 12 12 12 57 R
24 10 12 17 9 8 56 Y
25 16 7 16 10 11 60 R
26 12 10 12 8 16 58 P
27 7 13 5 11 15 51 P
28 8 11 18 12 11 60 Y
29 14 9 10 11 13 57 R
30 12 12 12 7 14 57 P
31 16 7 10 7 13 53 R
32 13 14 13 7 12 59 O
33 10 9 9 9 21 58 P
34 13 7 14 14 10 58 Y

Solutions

Expert Solution

sample #1   -----> fav color
first sample size,     n1=   34          
number of successes, sample 1 =     x1=   15          
proportion success of sample 1 , p̂1=   x1/n1=   0.4412          
                  
sample #2   ----->   hated color   
second sample size,     n2 =    34          
number of successes, sample 2 =     x2 =    19          
proportion success of sample 1 , p̂ 2=   x2/n2 =    0.559          
                  
difference in sample proportions, p̂1 - p̂2 =     0.4412   -   0.5588   =   -0.1176

level of significance, α =   0.05              
Z critical value =   Z α/2 =    1.960   [excel function: =normsinv(α/2)      
                  
Std error , SE =    SQRT(p̂1 * (1 - p̂1)/n1 + p̂2 * (1-p̂2)/n2) =     0.1204          
margin of error , E = Z*SE =    1.960   *   0.1204   =   0.2360
                  
confidence interval is                   
lower limit = (p̂1 - p̂2) - E =    -0.118   -   0.2360   =   -0.3537
upper limit = (p̂1 - p̂2) + E =    -0.118   +   0.2360   =   0.1184
                  
so, confidence interval is (   -0.3537   < p1 - p2 <   0.1184   )  

..............



Related Solutions

(5 pts) Suppose that the five standard Skittles colors (red, orange, yellow, green, purple) occur with...
(5 pts) Suppose that the five standard Skittles colors (red, orange, yellow, green, purple) occur with equal relative frequency. Use the random digits below to simulate the colors of 4 randomly selected Skittles. Continue to do this until you have generated 12 such samples of 4 Skittles. Use the results of these simulations to approximate that probability that a sample of 4 Skittles will contain at least two Skittles of the same color. 28491 06339 65216 31007 92314 50271 82943...
Red Orange Yellow Green Purple Total 1046.    1066 977 1029 969 5087 Suppose all of...
Red Orange Yellow Green Purple Total 1046.    1066 977 1029 969 5087 Suppose all of the Skittles in the class data set are combined into one large bowl and you are going to randomly select ten Skittles with replacement and count how many are yellow. (a) List the requirements of the binomial probability distribution and show that this meets them, including identifying the values for n and p. (6 points) (b) What is the probability that exactly 4 of...
Suppose you test a population of poison ivy (my favorite plant!) and find that out of...
Suppose you test a population of poison ivy (my favorite plant!) and find that out of 800 plants 32 of them are not poisonous, 768 are poisonous. What are the gene frequencies for the poisonous and non-poisonous alleles?
Thank you all. my other code is working fine. It was my IDE issue. This is...
Thank you all. my other code is working fine. It was my IDE issue. This is the new code i am writing for the below question. please help as you always do: a=int(input('Input a: ')); b=int(input('Input b: ')); c=int(input('Input c: ')); r=int(input('Input r: ')); s=int(input('Input s: ')); t=int(input('Input t: ')); x=2; min_rst = min(r,s,t); while(1): if((x-a)%r==0): if((x-b)%s==0): if((x-c)%t==0): break; x=x+1; print('The required number is: ',x); Questions: Write a Python program called crt.py that finds the value of x that satisfies...
PLEASE ANSWER ALL PARTS OF MY QUESTION!!!!!!!!!!!!!! 3. You want to know what your friends’ favorite...
PLEASE ANSWER ALL PARTS OF MY QUESTION!!!!!!!!!!!!!! 3. You want to know what your friends’ favorite Harry Potter movie is. There are eight movies in the series. You ask nine randomly chosen friends for their favorite Harry Potter movie and get the following answers: 1 2 3 3 3 4 6 8 8 3a. Find the mean, median, mode, and standard deviation of these numbers. 3b. For each of those statistics, explain whether it makes sense for this data set...
I am in a spaceship traveling to Mars at 500000m/s. My ship has a red light...
I am in a spaceship traveling to Mars at 500000m/s. My ship has a red light on the front of it with a wavelength of 750nm. What frequency does an observer on Mars think my light appears to be? Towards what color range/light range is that shift? Does it get shifted towards higher frequency or lower frequency?
Ok this is a exerpt from my lab. I prepared all my solutions correctly, and am...
Ok this is a exerpt from my lab. I prepared all my solutions correctly, and am getting ready to use the spectrophotometre. But is is asking for precise concentrations, and i am confused as two how to use the dilution formula M1V1=M2V2 to find them. Any advice would be appreciated. You should now have six “dilute” solutions containing known concentrations of tetraaquasalicylatoiron(III) ion in addition to the stock solution. The concentrations of these dilute solutions are approximately (assumes stock solution...
Suppose I did a poll of my students in my Economics courses. Iasked each student...
Suppose I did a poll of my students in my Economics courses. I asked each student to rate himself/herself relative to the other students in class. I then found 90% of students rated themselves above average. What type of bias is relevant here?
I want to arrange my books in a self in a certain way. Suppose I have...
I want to arrange my books in a self in a certain way. Suppose I have 30 books (distinct), and of these books, 10 are statistics books, 5 are forest ecology books, 4 are forest genetics, 3 are soil biology and 8 are economics books. I want to keep the books in the same subjects together. How many ways can I arrange these 30 books? Hint 1: Books in the same subject are not the same book. For example, ten...
please read the scenario this is all I got that is provided by my professor If...
please read the scenario this is all I got that is provided by my professor If the initial cash in the US economy is $1 Trillion, individuals tend to keep one-sixth of their income as cash and deposit the rest, and banks can lend 90 percent of the deposit and reserve the remaining, then: a) What is the total money supply (M1) in this economy? (5 points) b) If the Federal Reserve wants to expand the money supply by five...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT