Grade 9 Exam  >  Grade 9 Notes  >  Statistics & Probability  >  Cheatsheet: Two-Way Tables

Cheatsheet: Two-Way Tables

1. Two-Way Table Fundamentals

1.1 Definition and Structure

TermDefinition
Two-Way TableA table displaying frequencies of two categorical variables, with one variable in rows and the other in columns
Contingency TableAlternative name for two-way table, showing relationship between two categorical variables
CellIndividual entry showing frequency count for a specific combination of row and column categories
Row VariableCategorical variable displayed in rows of the table
Column VariableCategorical variable displayed in columns of the table

1.2 Table Components

  • Joint Frequencies: Counts in individual cells representing both variables simultaneously
  • Row Totals: Sum of all frequencies in each row (marginal totals for row variable)
  • Column Totals: Sum of all frequencies in each column (marginal totals for column variable)
  • Grand Total: Sum of all frequencies; equals sum of row totals or sum of column totals
  • Marginal Distribution: Distribution of one variable alone, shown in row/column totals

2. Frequencies and Counts

2.1 Types of Frequencies

Frequency TypeDescription
Joint FrequencyCount of observations with specific combination of both variables
Marginal FrequencyTotal count for one category of one variable (row or column total)
Conditional FrequencyCount of one variable's category given a specific category of the other variable

2.2 Reading Two-Way Tables

  • Identify row and column variables and their categories
  • Locate joint frequencies in interior cells
  • Find marginal frequencies in row/column totals
  • Verify grand total = sum of any complete row/column of marginal totals

3. Relative Frequencies

3.1 Types of Relative Frequencies

TypeCalculation
Joint Relative FrequencyCell frequency ÷ Grand total
Marginal Relative FrequencyRow or column total ÷ Grand total
Conditional Relative Frequency (by row)Cell frequency ÷ Row total
Conditional Relative Frequency (by column)Cell frequency ÷ Column total

3.2 Converting to Percentages

  • Multiply any relative frequency by 100 to get percentage
  • Joint relative frequencies sum to 1 (or 100%)
  • All marginal relative frequencies for one variable sum to 1 (or 100%)
  • Conditional relative frequencies within one row/column sum to 1 (or 100%)

4. Conditional Distributions

4.1 Definition and Purpose

TermDefinition
Conditional DistributionDistribution of one variable given a specific value of the other variable
ConditionThe fixed value of one variable for which the distribution is calculated

4.2 Calculating Conditional Distributions

4.2.1 Conditional Distribution Given Row

  • Fix a specific row
  • Divide each cell in that row by the row total
  • Results show distribution of column variable for that row category

4.2.2 Conditional Distribution Given Column

  • Fix a specific column
  • Divide each cell in that column by the column total
  • Results show distribution of row variable for that column category

4.3 Interpreting Conditional Distributions

  • Compare conditional distributions across different rows or columns to identify patterns
  • If conditional distributions differ substantially, variables may be associated
  • If conditional distributions are similar across all rows/columns, variables may be independent

5. Association and Independence

5.1 Association Between Variables

TermDefinition
AssociationRelationship between two variables where values of one variable are related to values of the other
No AssociationNo relationship between variables; knowing one variable provides no information about the other

5.2 Identifying Association

  • Compare conditional distributions across rows or columns
  • If conditional distributions differ, association exists
  • If conditional distributions are the same, no association exists
  • Small differences may occur due to random variation in samples

5.3 Independence

ConceptDescription
Statistical IndependenceTwo variables are independent if P(A and B) = P(A) × P(B) for all categories
Independence TestFor each cell: (Row total × Column total) ÷ Grand total = Expected frequency if independent

5.4 Expected Frequencies Under Independence

  • Expected frequency = (Row total × Column total) ÷ Grand total
  • Compare observed frequencies to expected frequencies
  • Large differences suggest association exists
  • Small differences suggest variables may be independent

6. Segmented Bar Charts

6.1 Definition and Purpose

TermDefinition
Segmented Bar ChartVisual representation of two-way table showing conditional distributions as stacked bars
SegmentPortion of bar representing one category's conditional relative frequency

6.2 Construction

  • Create one bar for each category of one variable (conditioning variable)
  • Divide each bar into segments representing categories of the other variable
  • Segment heights represent conditional relative frequencies
  • All bars have same total height (100% or 1.0)

6.3 Interpretation

  • Compare segment proportions across bars to assess association
  • Similar segment patterns across bars suggest no association
  • Different segment patterns suggest association exists
  • Easier visual comparison than examining numerical tables

7. Common Applications and Calculations

7.1 Key Formulas

CalculationFormula
Joint Relative Frequencyfij ÷ n (cell count ÷ grand total)
Marginal Relative FrequencyRow total ÷ n or Column total ÷ n
Conditional Relative Frequencyfij ÷ Row total or fij ÷ Column total
Expected Frequency(Row total × Column total) ÷ Grand total

7.2 Problem-Solving Steps

  • Step 1: Identify the two categorical variables and their categories
  • Step 2: Locate or calculate grand total
  • Step 3: Find appropriate row/column totals for the question
  • Step 4: Calculate requested frequency (joint, marginal, or conditional)
  • Step 5: Convert to percentage if required (multiply by 100)

7.3 Common Question Types

Question TypeApproach
What percent of all observations are in category A and B?Calculate joint relative frequency: Cell ÷ Grand total × 100
What percent of category A observations are in category B?Calculate conditional relative frequency: Cell ÷ Row total × 100
Are the variables associated?Compare conditional distributions or observed vs. expected frequencies
What is the distribution of variable X?Calculate marginal relative frequencies for variable X

8. Important Distinctions

8.1 Conditional vs. Joint Probabilities

ConceptKey Difference
JointProbability of both events occurring together; denominator is grand total
ConditionalProbability of one event given the other occurred; denominator is subset total

8.2 Row vs. Column Conditional Distributions

  • Row conditional: Fix a row, divide by row total; shows column variable distribution
  • Column conditional: Fix a column, divide by column total; shows row variable distribution
  • Choice depends on which variable you are "given" or conditioning on

8.3 Association vs. Causation

  • Two-way tables can reveal association between variables
  • Association does not imply causation
  • Confounding variables may explain observed associations
  • Additional study designs needed to establish causation

9. Common Mistakes to Avoid

  • Using wrong denominator: grand total vs. row total vs. column total
  • Confusing joint and conditional relative frequencies
  • Failing to verify calculations sum to 1.0 or 100%
  • Comparing joint frequencies instead of conditional distributions for association
  • Forgetting to convert relative frequencies to percentages when requested
  • Misidentifying which variable is the condition in conditional probability questions
  • Reversing row and column when calculating conditional distributions
  • Assuming association implies causation

10. Quick Reference

10.1 Calculation Checklist

To FindDivide
Joint relative frequencyCell by grand total
Marginal relative frequencyRow/column total by grand total
Conditional (given row)Cell by row total
Conditional (given column)Cell by column total
Expected frequency(Row total × Column total) by grand total

10.2 Verification Checks

  • All joint relative frequencies sum to 1
  • Marginal relative frequencies for one variable sum to 1
  • Conditional relative frequencies in one row/column sum to 1
  • Row totals sum to grand total
  • Column totals sum to grand total
The document Cheatsheet: Two-Way Tables is a part of the Grade 9 Course Statistics & Probability.
All you need of Grade 9 at this link: Grade 9

Top Courses for Grade 9

Related Searches
practice quizzes, video lectures, study material, Cheatsheet: Two-Way Tables, past year papers, Exam, Objective type Questions, Summary, Important questions, Previous Year Questions with Solutions, Cheatsheet: Two-Way Tables, shortcuts and tricks, ppt, pdf , Sample Paper, Free, Cheatsheet: Two-Way Tables, Semester Notes, Extra Questions, MCQs, Viva Questions, mock tests for examination;