Skip to article
Series
The Silent Factory
Article series · The Silent Factory

Continue this series

Part 3 of 3
  1. Part 1The Silent Factory: Bayesian Diagnosis of a Short Shot
  2. Part 2Short-Shot Cause Probabilities: From Bayes’ Theorem to Odds and Bayes Factors
  3. Part 3The Silent Factory — How Does Evidence Change Decisions? A Bayesian Lab for the Short-Shot Case
Part 3 of 3

The Silent Factory — How Does Evidence Change Decisions? A Bayesian Lab for the Short-Shot Case

Change the inspection records in a short-shot investigation and see how new evidence changes the judgment about its cause. Move between experiments and investigation notes to distinguish this evidence from the overall judgment, and build a basis for discussing the next inspection and action.

Article overview

The operating question behind this article

When new inspection records arrive, how can we update the judgment about a cause instead of repeating our initial conviction?

What the article argues

A field judgment is updated by considering both what new evidence supports and what was already known. Changing the same case yourself reveals why the numbers move and where further checks are needed.

Just when I thought the case was closed, I opened the records again.

The morning evidence pointed toward temperature. Five of 50 items were defective. The probability that temperature was the cause had risen to 87.6%.

But the afternoon record contained just one defective item out of 50. Confidence fell to 63.7%.

The number changed. The morning evidence did not disappear.

“If the afternoon had also produced five defects, would I have reached the same judgment?”

For a moment, I decided to become the investigator again.

Reopening the case

Part 1, The Silent Factory followed two suspects: temperature and pressure. Part 2, the mathematical explanation, opened up the calculation behind the changing judgment.

Now you can change the conditions of the same case yourself. The experiment below does not draw a random answer. It calculates how strongly your evidence supports each hypothesis and carries the result forward as the starting point for the next judgment.

Keep three ideas in mind: the prior is your initial belief, likelihood describes how well each cause explains this result, and the posterior is your judgment after accepting the evidence. A 60% cause probability and an 8% defect probability answer different questions.

Start with Original case. Before applying the morning evidence, predict which way the temperature probability will move. Then follow Investigation notes through “Likelihood → Evidence strength → Update.” On a wide screen the notes stay beside the article; on a smaller screen they continue below the experiment.

The notes combine the explanation needed at each stage with your actual numbers. Links open the relevant section of Part 2 in a new tab for the full derivation.

Change the numbers and run your own experiment. 60, 50, 5 and 1 are starting values. Click the prior, sample-size or defect-count field, enter your own number, then apply the evidence. Question buttons load examples; they do not restrict your inputs.

The Silent Factory · Continue the investigation

When evidence changes, judgment changes.

Predict, change the records, and explain why the result changes.

Three numbers to remember
60% · Initial belief
The share of past cases attributed to temperature. This is the prior belief for this case.
8% / 4% · Cause-specific rates
Defect probability per item if temperature / pressure is the cause. These rates stay fixed.
5/50 → 1/50 · New evidence
Five morning defects, then one defect in a new afternoon sample. The samples do not overlap.

H_T is the temperature hypothesis; H_P is the pressure hypothesis. 60% and 8% answer different questions.

Use a question button to load an example, or enter your own values. The question and inputs change with your selection. Apply the evidence to update both the results and the investigation notes.

Question under investigation

Can temperature remain more likely even when afternoon evidence supports pressure?

See how morning's conclusion becomes afternoon's starting point.

An example is just a starting point. You can edit the numbers. Apply evidence again from the edited stage to update the results and investigation notes.

Change the numbers and run your own experiment.

60, 50, 5 and 1 are starting values. Click the prior, sample-size or defect-count field, enter your own number, then apply the evidence. Question buttons load examples; they do not restrict your inputs.

Change the numbers and click “Apply evidence” to update the result. The case notes on the right show the formulas and calculation steps with your own numbers substituted. On smaller screens, find the case notes below.

01 · Before inspection: which cause do you suspect?

Prior probability of pressure: 40.0%

02 · Morning evidence

Before applying: what will happen to the temperature probability?

A prediction is optional. You can go straight to the calculation.

03 · Afternoon evidence

Apply the earlier evidence first.

Enter the sample size and observed defects for each new inspection. Causes and evidence are not generated randomly.

Why this calculation? · Open the investigation notes ↓
After applying evidence

Current judgment

Before inspection

60.0%Probability that temperature is the cause

Probability that pressure is the cause 40.0%

This is the prior judgment. Apply the morning record first.

Select a record to see its investigation notes. Green represents temperature; ochre represents pressure.

Compare with the original case
Temperature-cause probability after each stage
StageOriginal caseMy experiment
Before inspection60.0%60.0%
After Morning87.6%Pending
After Afternoon63.7%Pending

The original case uses a 60% prior, 5/50 in the morning, and 1/50 in the afternoon. Compare these with your inputs.

Show the stage-by-stage table
Calculation history for applied evidence only
StageDefects / InspectedBFTemperature : Pressure oddsTemperature probability
Before inspection——1.500000 : 160.0%

We assume one of the two hypotheses is the cause, fixed defect rates of 8% and 4%, and independent inspections conditional on the cause. Results are relative cause probabilities under these assumptions. Revisit the model if equipment conditions or the cause change between inspections.

Three questions to continue the investigation

What if the afternoon also had five defects?

First apply the morning and afternoon evidence using the original values. The temperature-cause probability follows 60% → 87.6% → 63.7%.

Choose Question 1 · Five defects again in the afternoon. Keep the prior at 60% and the morning record at 5/50; change only the afternoon defect count from one to five. What happens when another sample points in the same direction as the morning evidence?

Read the explanation after experimenting

The temperature probability reaches about 97.1%. The morning and afternoon Bayes factors are both approximately 4.714. Applying two samples pointing in the same direction increases the temperature-to-pressure odds. Compare the stages under Evidence strength in the notes.

What if you suspected pressure more strongly at first?

Choose Question 2 · Start with a 30% prior. Restore the records to 5/50 in the morning and 1/50 in the afternoon, and change only the temperature prior from 60% to 30%.

The evidence is the same, but the starting point is different. Which quantities change, and which stay the same? In Investigation notes, the Bayes factors for the same records stay unchanged while the prior odds differ.

Read the explanation after experimenting

The path becomes 30% → 66.9% → 33.4%. Compare it with the original 60% → 87.6% → 63.7%. BF compares the evidence under the two hypotheses, so it stays the same. The starting point changed, and therefore so did the posterior.

What if there were no afternoon defects?

Choose Question 3 · Zero afternoon defects. Keep the 60% prior and morning 5/50; change only the afternoon to 0/50.

The absence of defects is evidence too. But this experiment compares the relative plausibility of two specified causes. A lower observed defect rate does not, by itself, establish that the underlying problem has disappeared.

Read the explanation after experimenting

The temperature probability falls from 87.6% after the morning inspection to about 45.7%. All 50 good items enter the likelihood, and this evidence favors pressure, the hypothesis with the lower defect rate. We did not calculate a third “healthy equipment” hypothesis, so this is not a conclusion that the cause has vanished.

Return to the experiment choices

Carrying forward the next lot's record

In Part 1, the engineer proposed taking another sample of 50 from the next lot. After the first two inspections, Add the next inspection lets you continue that scene yourself. The defect count is not predetermined. Enter a new record and see how the current conclusion becomes the next starting point.

Add only newly observed items each time. Entering the morning or afternoon record again would count the same evidence twice. More records do not necessarily increase confidence at every step. It can rise or fall with individual samples as evidence accumulates under the assumption of the same cause and defect rates.

Does calculating in stages give the same answer as pooling?

Use Compare sequential and pooled calculations to check the result from Part 2, Section 9. In the original case, updating twice with 50 items each or calculating once from six defects among 100 items gives the same temperature probability: about 63.7%.

These are two separate calculations from the same starting point. You are not adding the pooled 100 items to a judgment already updated twice. When inspection conditions stay fixed and observations are independent given the same cause, the product of the individual BFs equals the BF of the combined evidence.

Read why confidence changed, not just how large it is

A moving probability bar does not close the investigation.

You need to explain what evidence arrived, which hypothesis makes it more likely, and what it adds to the earlier judgment. Investigation notes show the Bayes factor and odds calculations using your inputs.

The experiment assumes either temperature or pressure is the cause, with defect probabilities fixed at 8% and 4%. If equipment conditions change between inspections or another cause intervenes, first revisit the model to account for that change.

Even when afternoon evidence supports pressure, temperature can remain more likely overall. The direction of this evidence and the judgment after all evidence so far are different questions. The afternoon update starts from what the morning evidence has already established.

Explain it in your own words: “Which cause did this evidence support? What did I carry forward? Why did the probability change?” A cause probability does not automatically decide whether to maintain or stop equipment. The next decision also considers inspection costs, shutdown costs, and the risk of defective items escaping.

Before closing the records, ask one last question.

“Am I protecting my initial conviction, or accepting the new evidence?”


Loading comments

Join the discussion

…

The Silent Factory — How Does Evidence Change Decisions? A Bayesian Lab for the Short-Shot Case | EXA Enterprise