Probability the vending machine works next time
A vending machine dispensed correctly on 8 of your last 10 purchases. You start from a mild prior on its true reliability , centered at one-half, like having already seen 2 good uses and 2 failures.
Using Bayesian updating, what is the probability that your next purchase dispenses correctly?