Lawfare Academy

Business Statistics and Evidence · Chapter 2 of 6

Conditional probability, expected value and dependence

Return to the linked course unit →

DEVELOPED COURSE TEXT

Conditional probability, expected value and dependence

Condition on the group the question names

A conditional probability restricts the reference group. The probability of a flag among fraudulent transactions is different from the probability of fraud among flagged transactions. Counts make that distinction explicit. Write the complete cross-classification before calculating a fraction. An accurate fraction with the wrong denominator answers a different question, often with serious operational consequences.

Expected value is a model average, not a guaranteed outcome

Expected value combines possible outcomes with their probabilities under a specified model. It can guide repeated or portfolio decisions while leaving variability, downside and constraints unresolved. A positive expected return does not guarantee that a small business can survive the worst case. State whether values include costs, whether probabilities apply to this decision and whether the events are mutually exclusive and collectively exhaustive.

Independence is an assumption to justify

Two events are independent when knowing one does not change the probability of the other under the model. Common conditions can create dependence: two suppliers may share a port, two alerts may use the same signal and repeated purchases may come from the same customer. Multiplying probabilities without examining those relationships can drastically understate joint risk or overstate information from repeated checks.

Worked records

Record 1

A fictional detector flags 80 of 100 fraudulent transactions and 90 of 900 legitimate ones. A separate offer gives a net gain of $300 with probability 0.6 and a net loss of $200 with probability 0.4.

Develop the reasoning

The detector flags 170 transactions, of which 80 are fraudulent. The fraud fraction among flags is 80/170, about 47.1 percent. Detection among fraud is 80/100 = 80 percent; the two denominators are different. The offer’s modeled expected net result is 0.6×300 + 0.4×(−200) = $100. That does not eliminate its $200 loss possibility or validate the supplied probabilities. Before deployment, assess whether the transaction mix and detector performance transport to the actual setting. Before accepting the offer, examine capacity to absorb the downside and other business constraints.

Progressive practice — optional

1. Foundation

If fraud prevalence falls while the detector’s conditional performance is stipulated unchanged, must the fraud fraction among flags stay fixed?

Compare the worked reasoning

No. The mix of true and false flags changes with the base rate.

Change the record

There are 10 frauds and 990 legitimate records, with 80 percent detection and 10 percent false flags.

Compare the changed-record reasoning

Expected counts are 8 and 99, so the fraud fraction among flags is 8/107, about 7.48 percent.

2. Application

Does a $100 expected net gain promise a $100 gain on one offer?

Compare the worked reasoning

No. It is a probability-weighted average under the model.

Change the record

The business cannot survive the possible $200 loss.

Compare the changed-record reasoning

Solvency and risk constraints can rule out a positive-expectation choice.

3. Transfer

Two suppliers each have a ten percent disruption risk. Is joint failure necessarily one percent?

Compare the worked reasoning

Only if the relevant failure events are independent.

Change the record

Both depend on the same vulnerable port.

Compare the changed-record reasoning

Shared exposure can increase joint risk. Model the dependence rather than blindly multiply marginal probabilities.

Sources and scope