Eight wins in ten trades: how good is the coin?
A strategy wins eight of its first ten trades. Its observed hit rate is 80%. Would you price its eleventh trade as an 80% winner? With only ten observations, the answer depends on what rates you thought plausible before the run. A beta-binomial model makes that dependence visible and gives a clean predictive probability.
Start with the question the data answer
Assume, for this mathematical example, that each trade independently wins with the same unknown probability . Conditional on , the number of wins in trades follows a binomial distribution. The likelihood of the observed eight wins and two losses is proportional to . The sample fraction maximizes that likelihood, but it treats a tiny sample as if it pinned the rate down.
Choose a prior density for . A uniform prior is , with density constant on . More generally, has density proportional to . Multiplying prior and likelihood gives
so the posterior is . With a uniform prior and , that is . Its mean is , and this is also the predictive probability that the next conditionally identical trade wins:
The posterior does not declare that the true rate is 75%. It is a distribution over plausible values under the stated prior and likelihood. The next-trade forecast averages over that uncertainty. If you instead started with , centered on 50% and carrying more prior weight, the posterior would be and its mean would be 65%. Both calculations are internally coherent; the data alone did not choose a prior.
What do the prior parameters mean?
The posterior mean can be written
It is a weighted average of the prior mean and the observed hit rate. The quantity behaves like an effective prior sample size for this mean calculation. That description is useful, but it is not a claim that the prior came from literal trades. The prior could reflect a collection of comparable strategies, a conservative policy, or a modeling choice.
| Prior | Prior mean | Posterior after 8 wins, 2 losses | Next-win forecast |
|---|---|---|---|
| Beta(1, 1) | 50% | Beta(9, 3) | 75% |
| Beta(5, 5) | 50% | Beta(13, 7) | 65% |
| Beta(20, 20) | 50% | Beta(28, 22) | 56% |
The table is a sensitivity analysis, not three competing empirical findings. With a large sample, the likelihood tends to dominate a fixed proper prior. With ten trades, reasonable prior choices can make a substantial difference, which is precisely the uncertainty a single “80% hit rate” hides.
Forecast counts, not only one trade
For the next conditionally exchangeable trades, the predictive number of wins is beta-binomial rather than binomial with a fixed plug-in rate. If the posterior is , integrating out gives
Here is the beta function. The expected count is . The predictive variance is larger than that of a binomial distribution with the same mean because uncertainty about the common makes future outcomes positively dependent after we average over . If the next ten trades all share an uncertain success rate, a streak of bad results is less surprising than a fixed- calculation suggests.
A hit rate is not a trading edge
Even a well-estimated does not establish positive expected P&L. Win size, loss size, trading costs, and position sizing matter. A trading model can be right 60% of the time and lose money works through that calculation. Here, the extra issue is how uncertain the hit rate itself is.
The independent constant- assumption is especially fragile in markets. Trades from one strategy can overlap, all depend on the same risk regime, or be selected after the researcher inspects past outcomes. Counting correlated trades as independent makes the posterior too concentrated. If the success probability changes, adding old trades can pull the estimate toward an obsolete regime; more data can make a forecast worse gives a simple example. Treat the beta-binomial model as a clear baseline and test whether its assumptions match the decision you actually face.
A probability about the rate is not a probability about the next trade
Under the Beta(9, 3) posterior, the probability that the fixed hit rate exceeds one half is about 96.7%. For integer beta parameters, this can be checked from a binomial sum: . Yet the predictive probability that the next trade wins is only 75%. There is no contradiction. The first statement asks whether a persistent rate is above a threshold; the second averages that rate to predict one noisy binary outcome.
If a report says “97% confidence in the edge,” ask which event that probability refers to, which prior and constant-rate assumptions produced it, and whether “edge” means a hit rate above 50% or a positive net payoff. A 51% rate can be more likely than not and still be too small to cover costs. In a changing market, a posterior probability about one fixed can be precisely calculated and practically misplaced.
How much should ten trades change your belief?
The prior is centered on 50%, with a = b. The curve shows the posterior predictive chance of the next win.
Practice
UpdateWith a Beta(2, 2) prior, what is the posterior after three wins and one loss, and what is the predictive chance of another win?Show answer
The posterior is . The next-win probability is its mean, .
Two trades aheadUnder the Beta(9, 3) posterior, are the next two wins independent after you average over the unknown hit rate?Show answer
No. Conditional on they are independent, but marginally they share uncertainty about the same . Observing the first future win would update the posterior to Beta(10, 3), raising the predictive probability for the second from to .