Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

SKITTLES PROJECT PART FOUR

PART A
RED ORANGE YELLOW GREEN PURPLE TOTAL
YOUR BAG 8 11 13 17 9 58
STUDENT A 13 12 7 15 11 58
STUDENT B 9 16 14 6 15 60
TOTAL 30 39 34 38 35 176

PART B
The probability that a randomly selected skittle is red or yellow
30/176 + 34/176 = 64/176 = 0.36
The probability that a randomly selected skittle is red or from your bag
30/176 + 58/176 - 8/176 = 80/176 = 0.45
The probability that a randomly selected skittle is red and from your bag
8/176 = 0.045
The probability that a randomly selected skittle is from your bag, given it is red
8/30 = 0.27
The probability that three randomly selected skittles (without replacement) are all red
30/176 * 29/175 * 28/174 = 24,360/ 5,359,376 = 0.0045

PART C
Student A: phat 13/58 = 0.22
Student A n1=58
My Bag phat: 8/58 = 0.14
My bag n2=58
Conditions
1. Random sample-
yes
2. n1< 0.05, n2<0.05
58 < 0.05N = 1,160 and 58 < 0.05N = 1,160
3. n1*p , n1(1-p)
58*0.22 = 13 and 58(1-0.22) = 45
13 >10 and 45>10
n2*p , n2(1-p)
58*0.14 = 8 and 58(1-0.14) = 50
8<10 and 50>10
4. Yes, Independent

Not valid, not all conditions were met. n2*p is less than 10.

We are 95% confident that the interval from –0.0531 and


0.2255 captures the difference of proportions of red skittles
between the place where I purchased my bag and Wall Drug
Store.

PART D
1. n1*p , n1(1-p)
58*0.22 = 13 and 58(1-0.22) = 45
13 >10 and 45>10
n2*p , n2(1-p)
58*0.14 = 8 and 58(1-0.14) = 50
8<10 and 50>10
2. Ho: Pmybag = PStudent A.
Ha: Pmy bag – PStudent A
3.

4. p-value = 0.2279

We fail to reject the null there is insufficient evidence to conclude that there is a
difference in the proportion of red skittles between the place I bought them and the Wall
Drug store.

You might also like