University of Melbourne · FACULTY OF COMPUTER SCIENCE

COMP90089 Chap.5 Diagnostic Reasoning and Bayesian Updating

- one subject, every graph, every model, every mark
5 Chapters3-page Bible
Our own words - no uploaded lecturer files
Updated for this semester
Chapter 5 of 9 · COMP90089

Diagnostic Reasoning and Bayesian Updating

Define pre-test probability

The course material gives this chapter a concrete anchor: Weeks 5–6 make diagnostic reasoning and clinical task definition central.

That pre-test probability anchor controls how likelihood ratio is explained and how post-test probability is tested in changed practice.

Diagnostic Reasoning and Bayesian Updating is a quantitative decision problem built from pre-test probability, likelihood ratio and post-test probability.

The aim is to translate a model or test result into updated clinical probability; a numerical result earns meaning only when the variables, units, assumptions and comparison are all explicit.

Begin with pre-test probability: state what quantity it represents, the scale on which it is measured and the condition under which it changes.

Then map every symbol in the Diagnostic Reasoning and Bayesian Updating formula checkpoint to pre-test probability before calculation begins.

Next connect likelihood ratio to the calculation. Show the likelihood ratio transformation line by line, preserve units and signs, and make any denominator or baseline visible.

A likelihood ratio calculator output is not a method; the reader must be able to reconstruct why that operation answers the question.

Use post-test probability to interpret or stress-test the result. Ask whether the post-test probability magnitude is plausible, whether a boundary case behaves as expected and which conclusion would reverse if an assumption changed.

This is where computation becomes analysis rather than arithmetic.

When the task is to translate a model or test result into updated clinical probability, separate inputs supplied by the problem from quantities you derive. Then report the post-test probability result in the language of the course and attach the relevant uncertainty, limitation or decision consequence.

Build a representation check before solving.

Put pre-test probability, likelihood ratio and post-test probability into a small symbol-and-units table, mark which values are observed and which are calculated, and predict the direction of the result before doing arithmetic. A sign, scale or unit mismatch in pre-test probability then becomes visible at setup instead of being hidden inside a polished final number.

Run one sensitivity test after the baseline answer.

Change the input most closely connected to likelihood ratio, hold the remaining assumptions fixed and recompute only the affected steps. Explain whether the movement in post-test probability matches the mechanism.

This likelihood ratio sensitivity shows which assumption controls the conclusion and prevents a single scenario from being presented as universal.

Use a three-column pre-test probability error log for COMP90089: translation error, calculation error and interpretation error.

Record the exact line where the likelihood ratio solution first diverged, rewrite that line, and check it with a limiting case or an independent calculation.

Correcting the first failed likelihood ratio move is more useful than copying the complete solution again.

A complete response should make the task visible before the detail: identify what must be decided, define the relevant terms, connect the evidence to likelihood ratio, and use post-test probability to test the result.

The final sentence about post-test probability should answer the question actually asked rather than merely repeat the topic.

The controlling limit is specific: a high sensitivity or score does not determine patient risk without the prior and threshold.

Keep that post-test probability limit beside the worked example, because it separates a careful COMP90089 answer from one that sounds confident but claims more than the task or evidence supports.

For revision, retrieve pre-test probability, likelihood ratio and post-test probability without notes, explain their relationship aloud, then complete a changed version of the application: translate a model or test result into updated clinical probability.

Record the first failed likelihood ratio reasoning move and repair it before attempting another case.

Formula checkpoint: pre-test probability

Bayes in odds form
Opost=Opre×LRO_{post}=O_{pre}\times LR

Post-test odds equal pre-test odds multiplied by the likelihood ratio for the observed result.

In this chapter

What this chapter covers

  • 01

    Pre-test probability

  • 02

    Likelihood ratio

  • 03

    Post-test probability

  • 04

    Applying pre-test probability

  • 05

    Limits of likelihood ratio and post-test probability

Worked example · free

Update odds

Q [4 marks]. AskSia-authored practice. Pre-test probability is 20% and a positive result has likelihood ratio 4. Find post-test probability. The step allocation is an independently authored practice structure, not an official marking scheme.
  • 1Convert probability 0.2 to odds 0.25.
  • 1Multiply by 4 for post-test odds 1.
  • 1Convert odds 1 to probability 50%.
  • 1Interpret rather than call it a diagnosis.
The positive result raises probability from 20% to 50%. It supports further action under a defined clinical pathway but is not certainty.
Sia tip — Bayesian updating exposes why the same model output means different things in different cohorts.
Glossary

Key terms

Pre-test probability
Estimated chance of a condition before receiving the current test result. This chapter uses the concept when students translate a model or test result into updated clinical probability. Use this definition when the task is to translate a model or test result into updated clinical probability.
Likelihood ratio
Ratio comparing how probable a test result is with versus without the condition. It helps explain the reasoning required to translate a model or test result into updated clinical probability. Use this definition when the task is to translate a model or test result into updated clinical probability.
Post-test probability
Revised chance of a condition after combining prior information with test evidence. Its limit matters because a high sensitivity or score does not determine patient risk without the prior and threshold. Use this definition when the task is to translate a model or test result into updated clinical probability.
FAQ

Diagnostic Reasoning and Bayesian Updating FAQ

What must survive the move required to translate a model or test result into updated clinical probability?

Translate a model or test result into updated clinical probability. Weeks 5–6 make diagnostic reasoning and clinical task definition central. Estimated chance of a condition before receiving the current test result. This chapter uses the concept when students translate a model or test result into updated clinical probability.

Does a high sensitivity or score determine patient risk without the prior and threshold?

A high sensitivity or score does not determine patient risk without the prior and threshold. Ratio comparing how probable a test result is with versus without the condition. It helps explain the reasoning required to translate a model or test result into updated clinical probability.

Which conclusion should be retested after moving the same test from a specialist clinic to low-prevalence screening?

The positive result raises probability from 20% to 50%. It supports further action under a defined clinical pathway but is not certainty. A high sensitivity or score does not determine patient risk without the prior and threshold.

Study strategy

Assessment move

Reconstruct the relationship among pre-test probability, likelihood ratio and post-test probability; complete the chapter application without notes; then test the result against this limit: a high sensitivity or score does not determine patient risk without the prior and threshold.

Working through Diagnostic Reasoning and Bayesian Updating in COMP90089? Sia is AskSia’s AI Computer Science tutor — ask any COMP90089 Diagnostic Reasoning and Bayesian Updating question and get a clear, step-by-step explanation grounded in how COMP90089 is taught and assessed. Read this chapter free, then take your hardest questions to Sia.

A+Everything unlocked
Unlocks this Bible + all 126 of your University of Melbourne subjects - and 1,000+ Bibles across every Australian university.
Sia - your comp90089 tutor, unlimited, worked the way the exam marks it
The full 3-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