Sub topic 5
Inductive and Deductive Approaches
This chapter assumes you have run interviews or usability tests, taken notes during them, and know the difference between qualitative and quantitative data. It also assumes you have seen atomic observations, meaning one finding per note, each tied to a participant. You will use that format here.
Every analysis starts with a choice that is often made without noticing: where do the categories come from? You can derive them from the notes, or you can bring them to the notes. These two directions are called inductive and deductive.
The two directions
An inductive approach builds categories from the data. You read the notes, label what you see, and let the labels accumulate into patterns. You do not decide in advance what the patterns will be.
A deductive approach starts with categories you already have and sorts the notes into them. The categories might come from a research question, a framework, a previous study, or a hypothesis.
| Row | Inductive | Deductive |
|---|---|---|
| Starting point | The notes | A framework, question, or hypothesis |
| Codes | Created as you read | Defined before you read |
| Strength | Finds things you did not expect | Fast, comparable across studies |
| Main risk | Slow, and can drift without focus | Missing what the framework does not name |
| Typical use | Exploratory research, new product areas | Evaluating a known concern, tracking over time |
Most real projects combine both. Open coding, covered in a later chapter, is mostly inductive. The codebook that grows out of it can then be applied deductively to later sessions.
When to choose inductive
Choose an inductive approach when you do not yet know what matters. Typical situations:
- Early discovery research on a product area your team has not studied.
- A study where participants' own words and priorities are the point.
- Results that contradict your team's assumptions, so you need categories that do not inherit those assumptions.
The cost is time. Without predefined categories, every note needs a judgment, and early codes will be inconsistent. You will merge and rename many of them.
When to choose deductive
Choose a deductive approach when you already know what you are looking for. Typical situations:
- A usability test with specific tasks, where you want to know which tasks caused problems.
- A research question such as "Do new users understand how sharing works?"
- A follow-up round that checks whether problems found earlier are still present.
- A framework your organization already uses, such as a heuristic list or a customer-journey stage model.
The cost is blind spots. Notes that fit no category tend to be ignored or forced into the nearest one. A deductive pass should always have an "other" bucket that you review, not discard.
A worked example in code
Suppose your notes use the atomic format from earlier. First, an inductive pass: the codes come from the notes.
from collections import defaultdict
notes = [
{"id": "n1", "participant": "P1", "text": "Skipped the setup tour because it felt long.", "codes": ["setup_friction"]},
{"id": "n2", "participant": "P2", "text": "Could not find where to import old data.", "codes": ["setup_friction", "navigation_confusion"]},
{"id": "n3", "participant": "P2", "text": "Asked a coworker how to share a board.", "codes": ["sharing_unclear"]},
{"id": "n4", "participant": "P3", "text": "Gave up looking for the export button.", "codes": ["navigation_confusion"]},
]
by_code = defaultdict(list)
for note in notes:
for code in note["codes"]:
by_code[code].append(note["id"])
for code, ids in sorted(by_code.items()):
print(code, ids)The three code names were not decided in advance. They emerged from reading. Now a deductive pass on new notes: the research question is "Where do people get stuck during first use?", so the categories are fixed before reading, and anything unmatched goes to uncoded.
from collections import defaultdict
predefined = {
"navigation": ["find", "where", "button", "menu"],
"setup": ["tour", "import", "install", "account"],
"sharing": ["share", "invite", "coworker"],
}
new_notes = [
{"id": "n5", "participant": "P4", "text": "Could not find the invite button."},
{"id": "n6", "participant": "P5", "text": "Said the colors felt calming."},
{"id": "n7", "participant": "P5", "text": "Restarted the account setup twice."},
]
sorted_notes = defaultdict(list)
for note in new_notes:
text = note["text"].lower()
matched = [cat for cat, words in predefined.items()
if any(word in text for word in words)]
for cat in matched or ["uncoded"]:
sorted_notes[cat].append(note["id"])
for cat, ids in sorted(sorted_notes.items()):
print(cat, ids)The keyword matching here is only a stand-in for human judgment, but it shows the structure. Note n6 lands in uncoded. It is not noise: a note about calming colors might be the start of a new inductive code. Note also that n5 matches both navigation and sharing, so a single note can carry several categories.
Hybrid approaches
Pure approaches are rare. Three common hybrids:
- Inductive first, deductive second. Code the first five or six sessions openly, write a codebook, then apply it to the remaining sessions. This is the most common pattern in practice.
- Deductive frame, inductive detail. Start with broad categories from the research questions, such as "onboarding" and "collaboration", then code openly inside each one.
- Deductive with an open channel. Apply predefined codes, but add new codes whenever a note does not fit. Record each new code in the codebook and re-check earlier notes against it.
Edge cases and failure modes
- Pretending to be purely inductive. You always carry expectations. If you have a hypothesis, state it. Doing so makes later review of your bias possible, which a later chapter covers.
- Confirmation by design. In a deductive pass, a framework that only has categories for problems will only find problems. Include categories for things that worked.
- Late switching. Changing approach halfway through, without telling anyone, makes early and late notes incomparable. If you switch, go back and recode the earlier notes.
- Small samples. With five participants, an inductive pattern may rest on two people. Keep the participant count visible, as the evidence traceability chapter describes.
- Anchoring on the first codes. In inductive work, the first few notes shape every later label. Revisit early notes after the full set is read.
Choosing in practice
Ask three questions:
- Do I know the categories already? If not, start inductively.
- Do I need to compare against earlier results or another team's data? If yes, use shared deductive categories.
- Could the most important finding be something I have not thought of? If yes, keep an inductive channel open.
Exercise
You run eight usability sessions on a checkout flow. Your question is "Which of the three checkout steps cause abandonment?" Which approach fits the main analysis, and what one safeguard would you add?
Show answer
A deductive approach fits, using the three checkout steps as predefined categories. The safeguard is an "uncoded" or "other" category that you review after sorting, so problems outside the three steps, or reasons that cut across them, can still become new codes.
Exercise
In the second Python example, note n6 ("Said the colors felt calming.") was left uncoded. Name two things you could do with it.
Show answer
You could code it inductively as a new code, such as "visual_appeal", and add that code to the codebook. You could also hold it aside and check whether other notes raise the same point, since one note is weak evidence.