---
title: 'Testing by Betting: A Statistical Framework'
url: https://www.emergentmind.com/topics/testing-by-betting
type: topic
---

# Testing by Betting: A Statistical Framework

Testing by Betting is a general statistical framework that interprets hypothesis testing as a dynamic betting game, transforming the evaluation of evidence into the language of financial wagers and wealth processes. The central object is an e-process (betting score), which quantifies evidence against a null hypothesis by tracking the cumulative returns of a sequential betting strategy. The core methodology exploits deep connections to martingale theory and game-theoretic probability, enabling uniformly valid, anytime risk control—properties unobtainable by classical p-value methodology. This paradigm has recently been extended to model the effects of leverage (“borrowing”) and “bargaining” for mispriced odds, which pose new trade-offs for the authenticity and interpretation of statistical evidence [2407.11465].

## 1. Foundations of Testing by Betting

At its core, testing by betting formalizes statistical evidence as the capital accumulated by a gambler betting sequentially against a null. At time $n$, the process observes data $X_1, X_2, \dots, X_n$ adapted to a filtration $\mathcal{F}_n$. Under the null $H_0$, we require $\mathbb{E}_0[X_n | \mathcal{F}_{n-1}] = m_n$ for predictable $m_n$. A bet $b_n$ is $\mathcal{F}_{n-1}$-measurable; wagering $b_n$ on $X_n$ results in a payoff $b_n(X_n - m_n)$. The total “wealth” evolves as $W_n = W_{n-1} + b_n (X_n - m_n)$. Provided $W_n$ remains nonnegative, this process is a (local) martingale under $H_0$.

The observed wealth $W_n$ is an e-value: large $W_n$ indicates strong evidence against $H_0$. Ville's inequality provides a nonasymptotic guarantee:
$$
P_0\left(\sup_{k \le n} W_k \ge x W_0 \right) \leq W_0/x,
$$
so the rule “reject $H_0$ at the first $n$ for which $W_n \geq 1/\alpha \cdot W_0$” controls Type I error at level $\alpha$ at all stopping times.

An e-process is a nonnegative adapted process $\{E_n\}$ with $\mathbb{E}_0[E_n] \le 1$ for all $n$. E-processes generalize p-values to allow “anytime” (optional stopping) guarantees and are typically constructed via suitable betting strategies [1903.06991, 2010.09686].

## 2. Classical No-Borrowing and its Limitations

The canonical constraint in betting-based statistical tests is “no-borrowing”: at step $n$, the gambler is forbidden from staking more than their current wealth, i.e., $-W_{n-1} \le b_n \le W_{n-1}$, ensuring $W_n \ge 0$ always. This constraint guarantees that wealth processes are nonnegative martingales or supermartingales, foundational for the validity of tail probabilities and Type I error control via Ville’s inequality.

However, this restriction imposes strict sequential limitations: if $W_n$ ever hits zero, the test cannot proceed. In contrast, in quantitative finance, the use of leverage (betting with borrowed capital) is pervasive. This motivates the question: how do sequential betting-based tests behave once the no-borrowing constraint is relaxed [2407.11465]?

## 3. Extensions: Borrowing, Liabilities, and Net Wealth

The extension to allowing borrowing modifies the process dynamics:
- Let $β_n$ be the borrowed funds at round $n$ ($L_n = \sum_{i=1}^n \beta_i$ is the cumulative liability).
- The gambler’s *gross wealth* (before debts are repaid) is $(W_{n-1} + β_n) (1 + λ_n X_n)$ with $λ_n\in[-1,1]$ for fair double-or-nothing odds on $X_n\in\{-1,1\}$.
- The *net wealth* is $N_n = W_n - L_n$.

Importantly, the net-wealth process $\{N_n\}$ is a martingale under $H_0$ and the gross wealth decomposes as $W_n = N_n + L_n$ (Doob decomposition).

Statistical guarantees are maintained in the borrowed setting under certain controls:
- **Bounded Liabilities:** If the expected liability satisfies $\mathbb{E}_0[L_n] \leq L < \infty$, then the scaled process $E_n := W_n/(1+L)$ is an e-process, so the probability of excess evidence is inflated by a factor $1+L$.
- **Lower-bounded Net Wealth:** If $N_n \geq N_{\min} > -\infty$ uniformly, then $E_n := (N_n - N_{\min})/(1-N_{\min})$ is an e-process, controlling Type I error depending on the minimum allowed net wealth.

Borrowing-based strategies can always be decomposed as convex combinations (“episodes”) of standard (no-borrowing) e-values [2407.11465].

## 4. Leverage Invariance and the Futility of Unconstrained Borrowing

A critical finding is *leverage invariance*: for any random variable $Y$, transforming $Y$ by a leverage map $(1+\beta)Y-\beta$, and standardizing it to match e-value properties, does not increase the maximal achievable evidence under any alternative. All borrow-adjusted e-values are equivalent, in maximal expectation, to standard (no-borrowing) e-values after proper normalization.

This means that systematic “tricks” with leverage or variable borrowing cannot outpace the best possible evidence achievable via conventional, no-borrowing betting strategies. Intuitive attempts to “turbocharge” sequential tests by exploiting borrowing are rendered futile after proper adjustment for liabilities.

## 5. Bargaining and Arbitrage: Mispriced Odds and Interest

When the “odds” offered in the betting game are mispriced in the statistician’s favor (e.g., a payoff factor $2 + 2b_n$ on a correct bet for some $b_n>0$), risk-free arbitrage becomes possible. This artificially inflates the gambler’s wealth even under the null, introducing misleading or unbounded evidence.

To compensate, one divides the gross wealth $W_n$ by the product of all mispricing factors—i.e., computes the “numéraire-adjusted” wealth $W_n' = W_n/\prod_{i=1}^n (1 + b_i)$—which restores an (almost) supermartingale structure [2407.11465]. A maximal inequality shows that unless the sum $\sum b_n$ is vanishingly small, the claimed evidence cannot be interpreted as statistical, since arbitrage dominates.

Interest-accrual on loans (charging the same rate $b_n$ as the mispricing at each step) realigns the statistical and financial notion of fair evidence: only then does net wealth, properly adjusted, regain the true martingale property, restoring correct e-process interpretation.

## 6. Implications, Pathologies, and Statistical Principles

Testing by betting offers several crucial advantages:
- **Anytime validity:** E-processes guarantee Type I control regardless of stopping rules, unlike p-values, which only control level at a prespecified sample size [1903.06991, 2010.09686].
- **Multiplicative accumulation:** Evidence builds multiplicatively by default, in contrast to the shrinking properties of p-values under repeated testing.
- **Weak assumptions:** The martingale property and e-process definition often hold under minimal parametric or structural requirements; they are robust to misspecification, adversarial manipulation, and, with appropriate adjustment, even to borrowing and mispriced odds.

However, unrestrained borrowing or acceptance of mispriced odds without proper interest adjustments fundamentally undermines the validity of betting-based evidence. In such cases, the e-process may report spurious evidence due to pure arbitrage rather than statistical truth. All valid extensions must invoke normalization or constraint factors (such as $(1+L)$ for liabilities, or numéraire adjustment for odds) to maintain statistical meaning.

As concrete illustration, in a biased coin test with betting at the Kelly-optimal fraction, the gambler's log-wealth typically grows at rate $n \cdot D(p\|1/2)$ under the alternative $H_1: p>1/2$; the corresponding p-value decays at this rate, making e-values exponentially more informative in the presence of signal.

## 7. Summary Table: Core Objects in Borrowing/Bargaining Extensions

| Object                | Mathematical Definition                                         | Statistical Role                                      |
|-----------------------|---------------------------------------------------------------|-------------------------------------------------------|
| Gross wealth          | $W_n = W_{n-1} + b_n (X_n - m_n) + \beta_n$                   | Measures cumulative evidence (adjusted for debt)      |
| Liabilities           | $L_n = \sum_{i=1}^n \beta_i$                                  | Total amount borrowed                                 |
| Net wealth            | $N_n = W_n - L_n$                                             | True value after debts                                |
| Debt-adjusted e-value | $E_n^{{\rm gross}} = W_n/(1+L)$, $E_n^{{\rm net}}=(N_n-N_{\min})/(1 - N_{\min})$ | Controls Type I error at adjusted levels              |
| Numéraire-adjusted    | $W_n' = W_n/\prod_{i=1}^n (1+b_i)$                            | Restores supermartingale after mispricing             |

Debt- and arbitrage-adjusted statistics are indispensable for maintaining interpretability and risk control in applications of testing by betting that go beyond the classical no-borrowing regime [2407.11465].

Source: https://www.emergentmind.com/topics/testing-by-betting