Module 3 · The maths the later courses assume · Lesson 7
Probability for evaluation
Proportions, Bernoulli and binomial trials, expected value and variance, conditional probability and Bayes' rule, and chance-corrected agreement, each worked on Hollowbrook's tickets and its two annotators.
By the end of this lesson you can
- Model a pass/fail eval case as a Bernoulli trial and compute the binomial probability, mean and variance of k passes in n
- Compute the expected value and variance of a discrete distribution by hand and in numpy, and say what the standard deviation tells you about a score
- Read joint, marginal and conditional probabilities off a contingency table and check two events for independence
- Apply Bayes' rule to P(truly urgent | flagged) at three base rates and explain why precision moves while the hit rate stays fixed
- Derive expected agreement under independence and compute Cohen's kappa for two annotators labelling the same tickets
