Solved Exercises on Two-Way Tables and Relative Frequencies in Grade 8

Master two-way tables and relative frequencies: joint, marginal, and conditional relative frequencies through these 5 detailed exercises.

Solution: Exercises 1 to 3
1 Joint Relative Frequency
Exercise 1
The following two-way table shows the results of a survey of 200 students about their favorite subject and grade level:

Math Science English Total
Grade 7 30 25 20 75
Grade 8 40 35 25 100
Grade 9 15 10 5 30
Total 85 70 50 200

Find the joint relative frequency of Grade 8 students who prefer Math.
Definition:

Joint relative frequency: The ratio of a specific cell count to the total count. Formula: Joint Relative Frequency = Cell Value / Total Count

Method for joint relative frequency:
  1. Identify the specific cell value you're interested in
  2. Find the total count (bottom-right corner of table)
  3. Divide the cell value by the total count
  4. Express as decimal or percentage
Cell Value
40
Total Count
200
Relative Frequency
0.20
Step 1: Identify the cell value

From the table, Grade 8 students who prefer Math = 40

Step 2: Identify the total count

Total number of students surveyed = 200

Step 3: Calculate the joint relative frequency

Joint Relative Frequency = 40 ÷ 200 = 0.20

Step 4: Express as percentage (optional)

0.20 × 100% = 20%

Joint relative frequency = 0.20 or 20%
Final answer:

The joint relative frequency of Grade 8 students who prefer Math is 0.20 or 20%

Applied rules:

• Joint Relative Frequency: Divide individual cell by grand total

• Interpretation: 20% of all surveyed students are Grade 8 students who prefer Math

• Verification: Check that cell value exists in the table

2 Marginal Relative Frequency
Exercise 2
Using the same table from Exercise 1, find the marginal relative frequency of students who prefer Science.
Definition:

Marginal relative frequency: The ratio of a row or column total to the grand total. Formula: Marginal Relative Frequency = Row/Column Total / Grand Total

Column Total
70
Grand Total
200
Relative Frequency
0.35
Step 1: Identify the column total

Students who prefer Science = 70 (from bottom row)

Step 2: Identify the grand total

Grand total = 200

Step 3: Calculate the marginal relative frequency

Marginal Relative Frequency = 70 ÷ 200 = 0.35

Step 4: Express as percentage (optional)

0.35 × 100% = 35%

Marginal relative frequency = 0.35 or 35%
Final answer:

The marginal relative frequency of students who prefer Science is 0.35 or 35%

Applied rules:

• Marginal Relative Frequency: Divide row/column total by grand total

• Interpretation: 35% of all surveyed students prefer Science

• Location: Marginal totals are found in margins (edges) of the table

3 Conditional Relative Frequency
Exercise 3
Using the same table, find the conditional relative frequency of students who prefer Math among Grade 8 students.
Definition:

Conditional relative frequency: The ratio of a specific cell value to the row or column total that contains it. Formula: Conditional Relative Frequency = Cell Value / Row/Column Total

Cell Value
40
Row Total
100
Relative Frequency
0.40
Step 1: Identify the cell value

Grade 8 students who prefer Math = 40

Step 2: Identify the row total

Total Grade 8 students = 100 (from rightmost column)

Step 3: Calculate the conditional relative frequency

Conditional Relative Frequency = 40 ÷ 100 = 0.40

Step 4: Interpret the result

Of all Grade 8 students, 40% prefer Math

Conditional relative frequency = 0.40 or 40%
Final answer:

The conditional relative frequency of students who prefer Math among Grade 8 students is 0.40 or 40%

Applied rules:

• Conditional Relative Frequency: Divide cell value by row/column total

• Condition: "Given that" - we're looking within a subset

• Interpretation: Of Grade 8 students, 40% prefer Math

Rules and methods, laws,...
Joint RF = Cell ÷ Total
Joint Relative Frequency
Joint RF
Cell Value / Total
Frequency of specific combination
Marginal RF
Row/Col Total / Total
Frequency of single category
Conditional RF
Cell Value / Row/Col Total
Frequency given condition
Key definitions:

Two-way table: Displays frequency data for two categorical variables

Joint frequency: Number in a specific cell of the table

Marginal frequency: Totals for rows or columns

Conditional frequency: Frequency of one variable given another

Complete methodology:
  1. Analyze the table: Identify cells, row totals, column totals, and grand total
  2. Determine the type: Joint, marginal, or conditional
  3. Select the formula: Match the type to the correct formula
  4. Calculate: Apply the formula correctly
  5. Interpret: State what the result means in context
Tip 1: Always identify the denominator first (total for joint, row/col for conditional).
Tip 2: For conditional, the condition tells you the denominator (given Grade 8 means divide by Grade 8 total).
Tip 3: Marginal relative frequencies add up to 1 across a row or column of totals.
Tip 4: Joint relative frequencies add up to 1 for all cells in the table.
Common errors: Confusing denominators, misreading table values, forgetting to convert to decimals/percentages.
Exam preparation: Practice identifying table parts, memorize the three formulas, work with multiple examples.
Formulas to know by heart:

• Joint Relative Frequency: Cell Value ÷ Grand Total

• Marginal Relative Frequency: Row/Column Total ÷ Grand Total

• Conditional Relative Frequency: Cell Value ÷ Relevant Row/Column Total

• All relative frequencies are between 0 and 1 (or 0% and 100%)

Solution: Exercises 4 to 5
4 Comparison of Relative Frequencies
Exercise 4
The following table shows pet ownership by gender in a sample of 150 people:

Dog Cat No Pet Total
Male 30 20 25 75
Female 35 30 10 75
Total 65 50 35 150

Compare the conditional relative frequencies of owning a dog between males and females.
Definition:

Comparison of conditional frequencies: Calculating conditional relative frequencies for different groups to identify differences in behavior/patterns

Male Dog Owners
30 ÷ 75 = 0.40
Female Dog Owners
35 ÷ 75 = 0.47
Step 1: Calculate conditional frequency for males

Males who own dogs: 30 ÷ Total males: 75 = 0.40 (40%)

Step 2: Calculate conditional frequency for females

Females who own dogs: 35 ÷ Total females: 75 = 0.47 (47%)

Step 3: Compare the results

47% > 40%, so females are more likely to own dogs than males

Step 4: State the conclusion

Female respondents are 7% more likely to own dogs than male respondents

Males: 40% own dogs, Females: 47% own dogs
Final answer:

Females are more likely to own dogs (47%) compared to males (40%). The difference is 7 percentage points.

Applied rules:

• Comparison: Calculate conditional frequencies for each group separately

• Same denominator: For comparison, use the same reference group (row totals)

• Interpretation: Compare percentages to identify patterns

5 Complete Relative Frequency Table
Exercise 5
Convert the following frequency table to a relative frequency table:

Sports Music Art Total
Boys 20 15 10 45
Girls 15 25 20 60
Total 35 40 30 105

Then find the marginal relative frequency of students who participate in Music.
Definition:

Relative frequency table: A table where each value is converted to a proportion of the total (joint relative frequencies)

Convert to Relative
Each cell ÷ 105
Music Total
40 ÷ 105
Result
0.38
Step 1: Convert each cell to relative frequency

Divide every cell value by grand total (105)

Boys-Sports: 20÷105≈0.19, Boys-Music: 15÷105≈0.14, etc.

Step 2: Create relative frequency table

Table with all values divided by 105

Step 3: Find marginal relative frequency for Music

Marginal relative frequency = Column total ÷ Grand total

= 40 ÷ 105 ≈ 0.38 or 38%

Step 4: Verify the result

All joint relative frequencies should sum to 1.00

Marginal relative frequency of Music = 0.38 or 38%
Final answer:

The marginal relative frequency of students who participate in Music is 0.38 or 38%

Applied rules:

• Conversion: Divide each cell by grand total to get joint relative frequencies

• Verification: All joint relative frequencies sum to 1.00

• Marginal calculation: Use column total divided by grand total

Key Concepts: Definitions, Formulas, Methods, Tips
Joint RF = Cell ÷ Total
Relative Frequencies
Key definitions:

Two-way table: Organizes data for two categorical variables in rows and columns

Joint relative frequency: Proportion of observations with specific characteristics in both categories

Marginal relative frequency: Proportion of observations in a single row or column

Conditional relative frequency: Proportion of observations in one category given they're in another category

Complete methodology:
  1. Read the table: Identify all values, row totals, column totals, and grand total
  2. Identify what's needed: Determine if you need joint, marginal, or conditional
  3. Select the formula: Use the appropriate formula based on the type
  4. Calculate: Perform the division correctly
  5. Interpret: Explain what the result means in context
Tip 1: Always locate the grand total first - it's the denominator for joint relative frequencies.
Tip 2: For conditional frequencies, the condition tells you which row or column total to use as the denominator.
Tip 3: Marginal relative frequencies in each row/column sum to 1.00.
Tip 4: Joint relative frequencies for all cells sum to 1.00.
Common errors: Using wrong denominator, misreading table values, confusing relative frequency types.
Exam preparation: Practice reading tables, memorize formulas, work with various scenarios.
Formulas to know by heart:

• Joint Relative Frequency: Cell Value ÷ Grand Total

• Marginal Relative Frequency: Row/Column Total ÷ Grand Total

• Conditional Relative Frequency: Cell Value ÷ Relevant Row/Column Total

• Joint relative frequencies sum to 1.00 for the entire table

• Marginal relative frequencies sum to 1.00 for each row/column

Questions & Answers

Question: I'm confused about when to use joint vs conditional relative frequencies. Can you explain the difference and when to use each?

Answer: Great question! The key difference lies in the context:

  • Joint relative frequency answers: "What proportion of ALL individuals have BOTH characteristics?" Example: What proportion of ALL students are Grade 8 AND prefer Math? (40/200 = 0.20)
  • Conditional relative frequency answers: "What proportion of individuals WITH ONE characteristic also have ANOTHER characteristic?" Example: Of Grade 8 students, what proportion prefer Math? (40/100 = 0.40)

Think of it this way: Joint asks about the whole population, while conditional asks about a specific subgroup. Look for words like "given," "among," or "of" to identify conditional questions.

Example: In our survey, 20% of ALL students are Grade 8 students who prefer Math (joint), but 40% of Grade 8 students prefer Math (conditional).

Question: How do I know which number to use as the denominator when calculating relative frequencies?

Answer: The denominator depends on the type of relative frequency:

  • Joint relative frequency: Always use the grand total (bottom-right corner of table)
  • Marginal relative frequency: Use the grand total (same as joint)
  • Conditional relative frequency: Use the relevant row total OR column total depending on the condition

To determine the conditional denominator, ask yourself: "Given what?" If the question is "Of Grade 8 students, what percent prefer Math?", then Grade 8 total (100) is the denominator.

Tip: Circle or highlight the relevant numbers in the table before calculating to avoid mistakes!

Question: Why do we convert frequencies to relative frequencies? What's the benefit?

Answer: Converting to relative frequencies provides several important benefits:

  • Standardization: Converts counts to proportions that are easier to compare across different sample sizes
  • Percentages: Makes interpretation more intuitive (e.g., "40% of Grade 8 students prefer Math")
  • Probability: Relative frequencies approximate probabilities in the population
  • Patterns: Reveals relationships between variables that might not be obvious in raw counts

For example, if we surveyed 200 students in one school and 500 in another, comparing raw counts would be misleading. But relative frequencies allow fair comparisons regardless of sample size.

Relative frequencies also make it easier to spot trends and associations between categorical variables.