5. Compute the point estimate for the difference in the proportion of orange colored pieces between the two brands. 0.22371 = 0.275 208 32
5. Compute the point estimate for the difference in the proportion of orange colored pieces between the two brands. 0.22371 = 0.275 208 32
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question
Help with number 5 please
![**6.6 Activity 19: Two Sample Inference for Proportions**
**Objective:**
The objective of this activity is to gain experience with hypothesis testing for comparing two proportions from independent populations. We will do this by considering the distribution of colors for Skittles and M&M’s candies.
**Topics covered:**
1. Contingency tables
2. Two sample hypothesis test for the difference in population proportions
3. Two sample confidence interval for the difference in population proportions
4. Duality between confidence intervals and hypothesis testing
The purpose of this activity is to compare the proportion of orange colored candy pieces between Skittles and M&M’s. Our claim is that the proportion of orange colored pieces is the same for Skittles and M&M’s. Therefore, we will collect data to test if there is enough evidence to refute our claim.
1. **State the hypotheses for our research claim.**
\[ H_0: p^1 = p^2 \]
\[ H_a: p^1 \neq p^2 \]
2. Your teacher will randomly give around half of the students a bag of Skittles and the other half a bag of M&M’s. Each student should open the bag and count the number of orange colored candy pieces. In addition, the total number of candy pieces in each bag should be counted. Report your information in the table below.
- **Type of Candy (Circle One):** Skittles (S) or M&M’s (M)
- **Number of Orange Colored Pieces:** 8
- **Total Number of Candy Pieces:** 42](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F8ee3fc11-6b17-4d01-9085-baffdc2d1ded%2F6954eb7c-b99a-492e-ba3e-73c19fdbbc6d%2Fr4se1aa.jpeg&w=3840&q=75)
Transcribed Image Text:**6.6 Activity 19: Two Sample Inference for Proportions**
**Objective:**
The objective of this activity is to gain experience with hypothesis testing for comparing two proportions from independent populations. We will do this by considering the distribution of colors for Skittles and M&M’s candies.
**Topics covered:**
1. Contingency tables
2. Two sample hypothesis test for the difference in population proportions
3. Two sample confidence interval for the difference in population proportions
4. Duality between confidence intervals and hypothesis testing
The purpose of this activity is to compare the proportion of orange colored candy pieces between Skittles and M&M’s. Our claim is that the proportion of orange colored pieces is the same for Skittles and M&M’s. Therefore, we will collect data to test if there is enough evidence to refute our claim.
1. **State the hypotheses for our research claim.**
\[ H_0: p^1 = p^2 \]
\[ H_a: p^1 \neq p^2 \]
2. Your teacher will randomly give around half of the students a bag of Skittles and the other half a bag of M&M’s. Each student should open the bag and count the number of orange colored candy pieces. In addition, the total number of candy pieces in each bag should be counted. Report your information in the table below.
- **Type of Candy (Circle One):** Skittles (S) or M&M’s (M)
- **Number of Orange Colored Pieces:** 8
- **Total Number of Candy Pieces:** 42

Transcribed Image Text:**Transcription for Educational Website**
---
### Combining Class Data in a Table
In the table below, class data is combined based on observations of two types of candy: Skittles (S) and M&M’s (M). Each observation includes the number of orange pieces and the total number of pieces.
| Observation (Bag) | Type of Candy | No. of Orange | Total No. of Pieces | Observation (Bag) | Type of Candy | No. of Orange | Total No. of Pieces |
|-------------------|---------------|---------------|---------------------|-------------------|---------------|---------------|---------------------|
| 1 | S | 9 | 36 | 19 | M | 16 | 41 |
| 2 | S | 9 | 47 | 20 | M | 18 | 48 |
| 3 | S | 12 | 48 | 21 | M | 8 | 42 |
| 4 | S | 11 | 50 | 22 | M | 12 | 44 |
| 5 | S | 9 | 53 | 23 | M | 15 | 45 |
| 6 | S | 5 | 52 | 24 | M | 9 | 38 |
| 7 | S | 12 | 49 | | | | |
### Contingency Table
The contingency table below shows the number of observations that fall into each combination of categories:
| Candy | Outcome | Row Totals |
|---------|-------------|------------|
| | Orange | Not Orange | |
| Skittles (S) | 61 | 212 | 273 |
| M&M’s (M) | 71 | 231 | 302 |
| **Column Totals** | **132** | **443** | **531** |
### Estimation and Analysis
**5. Compute the Point Estimate**
The point estimate for the difference in the proportion of orange-colored pieces between the two brands is calculated as follows:
- Proportion for Skittles: \( \frac{61}{273} =
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman

Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman