Monash University · FACULTY OF STATISTICS

ETC1000 Chap.1 Analysing Categorical Data

- one subject, every graph, every model, every mark
5 Chapters5-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 1 of 11 · ETC1000

Analysing Categorical Data

Name the variable type first

The unit opens on a decision that looks trivial and governs everything after it. A categorical variable records which group a case belongs to; a numerical variable records how much or how many.

The display, the summary statistic and the probability you are allowed to compute all follow from that answer, which is why a mean on payment method and a pie chart on order value are both errors of the same kind.

Four kinds, split by order and by countability

Categorical variables divide into nominal, where the categories carry no order, and ordinal, where they do.

Numerical variables divide into discrete, counted in whole units, and continuous, measurable to any refinement.

Numbers stored in a variable do not settle the question: a postcode is written with digits and is nominal, because adding two postcodes produces nothing.

One table, three probabilities

Crossing two categorical variables gives a contingency table whose interior holds counts and whose edges hold the margins.

A marginal probability divides a row or column total by the grand total, a joint probability divides one interior cell by the grand total, and a conditional probability divides that same cell by its own row or column total.

The counts never move; only the denominator does, and choosing it correctly is where the marks are.

Independence, as this unit defines it

Two variables are independent when knowing the category of one tells you nothing about the probability of the other. The unit's own test is to compute the same conditional probability inside each row and compare them.

Equal conditionals mean independence; unequal ones mean the table carries a relationship, and the size of the gap is the finding worth reporting.

In this chapter

What this chapter covers

  • 01

    Nominal, ordinal, discrete and continuous, and the test that separates them

  • 02

    Frequency, relative frequency and percentage as one table written three ways

  • 03

    Why a sorted bar chart beats a pie chart beyond about four categories

  • 04

    Reading marginal, joint and conditional probabilities off one contingency table

  • 05

    Deciding independence by comparing conditional probabilities across rows

Worked example · free

Choose the denominator from the wording

Q [3 marks]. AskSia assigns three practice points to this independent exercise; they are not a University marking scheme. A retailer records 1,200 returns: 750 arrived online and 450 in store. Among the online returns 300 were refunded; among the in store returns 90 were.
  • 1Give the probability that a return was refunded.
  • 1Give the probability that a return was both in store and refunded.
  • 1Decide whether channel and outcome are independent.
Refunds total 300 plus 90, so 390 of 1,200, a marginal probability of 0.325. The joint probability of in store and refunded is 90 divided by 1,200, or 0.075, because a joint probability divides an interior cell by the grand total. For independence, condition on channel: the probability of a refund is 300 divided by 750, or 0.40, online, and 90 divided by 450, or 0.20, in store. The two conditionals differ, so channel and outcome are not independent in this sample, and knowing the channel doubles or halves the refund probability depending on which way you read it.
Sia tip — Underline the signal word before writing a fraction. Given, among and of those who mean a row total; and or both means the grand total.
Glossary

Key terms

Nominal variable
A categorical variable whose categories carry no order, such as payment method.
Ordinal variable
A categorical variable whose categories have a direction but no measured gaps.
Relative frequency
A count divided by the total, so the column of them sums to one.
Contingency table
A cross of two categorical variables in which every case falls in one cell.
Marginal probability
A row or column total divided by the grand total, ignoring the other variable.
Joint probability
One interior cell divided by the grand total.
Conditional probability
A cell divided by its own row or column total rather than by the grand total.
FAQ

Analysing Categorical Data FAQ

Can a variable stored as numbers still be categorical?

Yes, and it often is. A postcode, a customer identifier and a store number are all written with digits and none of them supports arithmetic, so they are nominal. The working test is to ask what an average of the values would mean; if the answer is nothing, the variable is categorical however it is stored.

Why does the unit prefer a bar chart to a pie chart?

A bar chart asks readers to compare lengths, which they do accurately, and it can be sorted so that the ranking is visible without reading a single label. A pie chart asks them to compare angles, which they do poorly, and beyond about four slices the ordering of the smaller ones becomes guesswork. The pie makes exactly one point well, that the parts sum to a whole.

What is the difference between a joint and a conditional probability?

Only the denominator. Both use the same interior cell of the table. A joint probability divides it by the grand total and answers how often the two categories occur together across everything. A conditional probability divides it by the total of its own row or column, and answers how often one occurs among the cases that already have the other.

How do I decide independence from a table?

Compute the same conditional probability inside each row and compare them. If they are equal, knowing the row tells you nothing about the column and the two variables are independent. If they differ, the table carries a relationship, and the size of the difference in percentage points is the number worth reporting alongside the verdict.

Study strategy

Exam move

Practise reading the denominator out of the sentence before touching the numbers, because the arithmetic in this topic is never the difficulty. Take any two way table and write out all three probabilities for the same cell, saying which question each one answers, until the choice becomes automatic.

Working through Analysing Categorical Data in ETC1000? Sia is AskSia’s AI Statistics tutor — ask any ETC1000 Analysing Categorical Data question and get a clear, step-by-step explanation grounded in how ETC1000 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 92 of your Monash University subjects - and 1,000+ Bibles across every Australian university.
Sia - your ETC1000 tutor, unlimited, worked the way the exam marks it
The full 5-page Bible + practice bank with worked solutions
Chrome extension - sync your LMS so Sia knows your deadlines
Bilingual EN / Chinese on every Bible and every Sia answer
$0.99 Trial
30-day money-back · cancel in one tap · how it works
ETC1000 · Business and Economic Statistics - independent study guide on the AskSia Library. More Monash University subjects · Microeconomics across all universities
Unlock the full ETC1000 Bible + 92 Monash University subjects
$0.99 Trial