See attached file for M&M data.
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.© BrainMass Inc. brainmass.com June 4, 2020, 12:45 am ad1c9bdddf
The solution provides step by step method for the calculation of testing of hypothesis. Formula for the calculation and Interpretations of the results are also included. Interactive excel sheet is included. The user can edit the inputs and obtain the complete results for a new set of data.