Test the hypothesis (α = 0.05) that the population proportions of red and brown are equal (pred = pbrown). You are testing if their proportions are equal to one another, NOT if they are equal to one another AND equal to 13%. NOTE: These are NOT independent samples, but we will use this approach anyway to practice the method. This also means that n1 and n2 will both be the total number of candies in all the bags. The "x" values for red and brown are the counts of each we found on the Data page. You will need to calculate the weighted p:
Be sure to state clear hypotheses, test statistic, critical value or p-value, decision (reject/fail to reject), and conclusion in English. Submit your answer as a Word, Excel, .rtf or .pdf format and place in the dropbox.
Needed information for both tools include:
x1 = number of red
n1 = total number of candies
x2 = number of brown
n2 = total number of candies
510 532 3907
RED BROWN TOTAL
For the TI, you will want 2-PropZTest. Then select the appropriate alternative (not equal), and Calculate then enter. The output will have the test statistic (z), p-value (p), sample p values, weighted p ( ), then repeat of sample sizes.
For StatCrunch, you will select Stat > Proportions > Two Sample > with summary. The output will contain the test statistic (Z-Stat) and p-value.