• 1
Votes
name

A PHP Error was encountered

Severity: Warning

Message: Undefined array key "userid"

Filename: views/question.php

Line Number: 212

Backtrace:

File: /home/statpmkj/public_html/application/views/question.php
Line: 212
Function: _error_handler

File: /home/statpmkj/public_html/application/controllers/Questions.php
Line: 416
Function: view

File: /home/statpmkj/public_html/index.php
Line: 315
Function: require_once

The makers of M&Ms claim that the colors of M&Ms are distributed as follows: 20% yellow, 20% red, 10% orange, 10% blue, 10% green and the rest are brown.
You buy a bag and get 29 yellow, 23 red, 12 orange, 14 blue, 8 green, and 20 brown.


a) If the M&Ms are packaged in the stated proportions, how many of each color should you
expect to get? Create a table of observed and expected counts.
b) To see if your bag was unusual should you test goodness-of-fit, homogeneity, or independence?
c) State the hypotheses
d) How many degrees of freedom are there?
e) Find the chi-square statistic and the p-value
f) Draw a sketch of this distribution and label your chi-square statistic and p-value.
g) State a conclusion