A group of people were asked about the type of soda pop drink they had the last time they had BBQ. The data is entered in the following table.
What percent of people had neither Coca-Cola nor Pepsi?
12.6%
11%
25%
50%
26.7%
What percent of those that had Pepsi were female?
63.8%
68.2%
50.6%
12.9%
Unlock full course notes by signing up
Contingency Table
We want to see if the proportion of male who know how to swim differ than those of females. Here is a contingency table:
The estimate of the proportion of all males that can swim is
The value of the test-statistic is
Contingency Tables
A sample of 80 adults that drink coffee are asked; where do you usually go to get your morning coffee, Tim Hortons, McDonalds, Starbucks, or other? The results are recorded below:
Contingency tables
Contingency table
Jeremy runs an online store for phone accessories. He has records of who paid full price and who used discount codes when they checkout and constructed the following contingency table:
Full Price Discount Total
Male 54 26 80
The following contingency table displays the number of first and second year students that have math, science, literature, or history as their majors.
MajorFirst year studentSecond year studentTotalMath20,82213,76434,586Science18,44313,01931,462Literature80,96550,977131,942History42,69023,24165,931Total162,920101,001263,921\begin{array}{|l|l|l|l|} \hline \text{Major}&\text{First year student}&\text{Second year student}&\text{Total}\\ \hline \text{Math}&20,822&13,764&34,586\\ \hline \text{Science}&18,443&13,019&31,462\\ \hline \text{Literature}&80,965&50,977&131,942\\ \hline \text{History}&42,690&23,241&65,931\\ \hline \text{Total}&162,920&101,001&263,921\\ \hline \end{array}MajorMathScienceLiteratureHistoryTotalFirst year student20,82218,44380,96542,690162,920Second year student13,76413,01950,97723,241101,001Total34,58631,462131,94265,931263,921
Calculate the following percentages:
Marginal Distribution
Here's the data collected on male and female's preferences on ice cream flavours.
FemaleMaleStrawberry5235Chocolate2421Vanilla1216\begin{array}{|l|l|l|l|} \hline &\text{Female}&\text{Male}\\ \hline \text{Strawberry}&52&35\\ \hline \text{Chocolate}&24&21\\ \hline \text{Vanilla}&12&16\\ \hline \end{array}StrawberryChocolateVanillaFemale522412Male352116
What is the marginal distribution of ice cream flavours?