Everything else is ready: study the parts, the key terms and the quiz below.
Categorical Counts, Rates and Bar Plots
Compare categories without confusing a count, a proportion and a mean.
In this lesson6 parts
- 01Define the client and the categories
- 02Count clients and default events
- 03Divide by the relevant group size
- 04Choose a bar plot that answers the question
- 05Interpret the historical comparison
- 06Reproduce the comparison and challenge it
Key terms
The words this lesson introduces, each in one line. The module’s glossary collects them all.
- category
- A named group represented by a recorded value.
- undocumented code
- An observed source value without a category label in the declared map.
- frequency
- The number of records in a category.
- contingency table
- Counts for each combination of two recorded categories.
- numerator
- The event count above the division line.
- denominator
- All eligible records in the stated group.
- rate
- The event count divided by the eligible group count for a stated period.
- grouped bar plot
- Side-by-side bars for categories within each group.
- stacked bar plot
- Outcome segments placed end to end within a group. Scaled to equal height, it shows fractions and hides group size.
- association
- Recorded values vary together in the observed data.
Quiz 5 questions
Your first pick on each question is the one that counts, and a right one earns a coin. Getting one wrong here is how the lesson sticks.
Practice
Problems to solve in your own notebook. Each states the problem, not the steps: working out the steps is the exercise. Level A applies the lesson, B combines it with earlier ones, C stretches it.
The self-checking notebook for this lesson is Categorical counts, rates and bar plots.
Common mistakes
What you will see when it goes wrong, why it happens, and the fix.
Where it’s used
Where this lesson’s ideas turn up in real work.