Skittles Project Part 2
Skittles Project Part 2
Skittles Project Part 2
For part two of the skittle project we are taking the data that has been compiled
from everyone in my class with how many of each color of skittle we had from
part one. Here is the chart below.
Color Frequency
Red 300
Orange 328
Yellow 267
Green 288
Purple 304
TOTAL 1487
I am trying to figure out the true proportion of red skittles. The number of skittles comes
out to be 1487 all together with the red coming to 300. I am going to use this information
and check the conditions for computing a 95% confidence interval from using the class
data that was collected. So there are three requirements we check to see if we can
construct a confidence interval for a proportion. The first one is if it is a randomized
experiment or random sample. That one is true because even though the bags of
Skittles in the class data set were selected conveniently by students, the Skittles were
placed into the bags using an objective device which was the machinery at the factory
where the skittles are made and bagged. The second requirement is that the
observations are independent because n is less than or equal to 0.05N. That is also
correct because n is the total number of skittles all together. So n would equal 1487.
And n is the total population or in other words the total number of all the colors of
skittles. And so n is less than or greater to 0.05N equals 29740. So it is saying that N is
greater than or equal to 29740. And the third is that np^ is greater than or equal to 10;
n(1-p^) is greater than or equal to 10. That is also right because we can do 1487(1-p^)
=1187 and that is greater than 10. And aps the np is greater than or equal to 10
because n would equal 1487. And p is just the number of red skittles so it is 300. So
1487x300= 446100. And that is greater than 10. So all the conditions were met to see if
we can construct a confidence interval for a proportion. And because they were all met I
do believe that my results I get in the next step will be true.
B. Here is the confidence interval I made using GeoGebra. For the confidence level
since it is 95% I converted that to a decimal and input 0.95. Under the successes
I put the sample size which is the 300 Red Skittles. Next to the N is where I put
the population or the total of all the skittles which is 1487. It gave me my
Standard error which is 0.0104. The lower limit of 0.1814 and the upper limit of
0.2221. With the interval 0.2017+- 0.0204. My confidence interval is saying that
we are 95% confident that the interval from 0.1814, 0.2221 captures the true
proportion of red skittles.
C. In part one of my skittle project the proportion of red skittles I had in my bag was
14 out of 60 skittles total. The proportion (or p^) of red skittles in my bag would
be 14/60 so p^ is equal to 0.233. So based on my confidence interval from part B
which is, 0.1814, 0.2221. I would say that my p^ is outside of the confidence
interval ranges and that means my proportion of red skittles from part 1 is not a
true proportion because it is not within the two intervals so it is not likely. That
means that my proportion was not a likely value for the true proportion of read
skittles.
D. The two sided test I am going to do is Ho p = 0.2 and Ha p ≠ 0.2. All the
conditions were met for this one. I do believe the results I obtain in part E will be
valid because all the conditions for the two-sided test were met. My Z came to be
0.1682 and my P is 0.8661.
E. The hypothesis for the hypothesis test is that the Ho p = 0.2 and Ha p ≠ 0.2. By
doing all three tests to check the requirements we find that they are all met, It is a
random sample. And that npo is greater than or equal to 10. We see that by doing
1487(0.2) =297.4 and that is greater than or equal to 10. With my test stats as
z=0.1686 and p value =0.8661. We see that the p value of 0.8661 is greater than
the alpha of 0.05. So with that being said we are going to fail to reject Ho
because there is insufficient evidence to conclude that the proportion of red
skittles is different than 0.2.
F. In part one my hypothesis test results were that Ha: p ≠ 0.2. So I fail to reject Ho
because there is insufficient evidence to conclude that the proportion of red
skittles is different than 0.2. And in part two I fail to reject Ho because there is
insufficient evidence to conclude that the proportion of red skittles is different
than 0.2. I did not draw different conclusions for my hypothesis test from part
one and part two. Because of both of them I failed to reject Ho because there is
insufficient evidence. I would say that part one test is less valid than part two
because it is a smaller sample of skittles with it just being the ones that were in
my bag and not the whole class's sample. So the part 2 test is larger and more
representative then the test I did by myself.