Bayesian Bootstrap (Rubin)

Statistics
Introduced by
Rubin (1981); large-sample theory by Lo (1987)
Year
1981
Type
Resampling / posterior simulation

What does it do?

The Bayesian Bootstrap, introduced by Donald B. Rubin in 1981, is a resampling-style method that provides a Bayesian analogue of the bootstrap.

Each observation receives a random weight drawn from a Dirichlet distribution, and repeating the weighted calculation yields a posterior-style distribution for a statistic. Rubin noted that the method is operationally close to the bootstrap but rests on its own model assumptions, so its output should be read with those assumptions in mind.

The intuition behind the method

Rather than redrawing observations with replacement, the Bayesian Bootstrap keeps every observation and gives each one a random weight, with weights that are non-negative and sum to one. Each set of weights produces one recomputed value of the statistic. Repeating this many times traces out a posterior-style distribution for the quantity of interest, and the spread of that distribution is read as uncertainty, under the weighting model described below.

History

The Bayesian Bootstrap was proposed by Donald B. Rubin in 1981 as a Bayesian analogue of Efron's bootstrap, replacing the multinomial resampling weights with a Dirichlet distribution. Its large-sample behaviour was later studied by Albert Y. Lo (1987), who established the asymptotic validity of the procedure.

When to use it

Choose the Bayesian Bootstrap when the observations can be treated as independent and the goal is a posterior-style distribution for a statistic, such as a mean, a quantile or a descriptive summary, without specifying a parametric model for the data. It applies to continuous or categorical data provided the statistic can be computed with observation weights. It is also a candidate in regression when refitting the model on subsets is impractical, for example when successes in a binary response are rare or the number of parameters is close to the sample size. In that setting, Dirichlet fractional weights are used to reweight the fit instead of excluding observations (see applications). Do not use it when the observations are dependent, such as autocorrelated time series. Very small samples call for particular care: the supporting theory (Lo, 1987) is a large-sample result, so performance at small sample sizes is not established here, and a standard bootstrap or a permutation test is a reasonable comparison.

Limitations and considerations

  • Rubin (1981) states that inferences from this method are sensitive to its model assumptions, and that it is not a true bootstrap procedure that yields inference unaided by external assumptions.
  • The flat Dirichlet(1, ..., 1) weights in the model carry no prior information, so the procedure as written does not incorporate prior knowledge about the parameter.
  • Lo (1987) gives an asymptotic justification for the method, so the supporting theory describes large-sample behaviour and does not by itself guarantee performance in small samples.
  • The procedure requires independent observations; dependence in the data is not handled by the weighting scheme.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Each replication keeps all observations with continuous weights, so the procedure avoids the repeated and dropped points that come from integer resampling.
  • The model is a single Dirichlet draw per replication followed by a weighted recomputation of the statistic, which keeps the procedure simple to code and to inspect.
  • As Rubin noted, the method is operationally close to the bootstrap, so its results can be compared directly with bootstrap intervals.
  • It does not require a parametric distribution for the data, because the posterior is built from the observed sample itself.

Applications

  • Quantifying uncertainty in a descriptive statistic, such as a mean or quantile, summarised as a distribution rather than a single sampling-based interval.
  • Interval estimation for the mean and variance, the quantities for which Lo (1987) provides large-sample Bayesian bootstrap probability intervals.
  • Descriptive summaries from independent observations where a posterior-style summary is preferred to a sampling-distribution interval.
  • Reweighted regression fits when refitting the model on subsets is impractical or unstable, such as rare successes in binary responses or many parameters relative to the sample size. Each observation keeps a positive fractional Dirichlet weight, so no observation is excluded outright. This is described in the sandwich package documentation as a regression-refit use, which differs from the statistic-only use above, and it is attributed there to Rubin (1981).

How it works

How it works

1

On each replication, a weight vector w is drawn from a flat Dirichlet(1, ..., 1) distribution over the n observations, so the weights are non-negative and sum to one. These continuous weights take the place of the integer resampling counts of the classical bootstrap. Every observation keeps a positive weight, so none is excluded outright, although some weights may be small. Together the weights define a probability distribution over the observed sample. The flat weighting carries no explicit prior information, so the resulting distribution is posterior-style rather than the posterior under a stated prior. Its interpretation depends on the model assumptions discussed by Rubin (1981).

Formula
w = (w_1, \dots, w_n) \sim \mathrm{Dirichlet}(1, \dots, 1), \quad \sum_{i=1}^{n} w_i = 1
2

For each weight draw, the statistic is recomputed as T applied to the weighted sample, so T must be expressible as a function of the weighted data (for a mean, this is the weighted mean). This gives one posterior-style sample θ̂ for that replication. Repeating over b = 1, …, B builds the simulated distribution, from which point summaries and credible intervals are read. If B is small, the interval endpoints can move noticeably between runs, so stability should be checked as described in inPractice.

Formula
\hat\theta^{(b)} = T\!\left(\sum_{i=1}^{n} w_i^{(b)}\, x_i\right), \quad b = 1, \dots, B

Common pitfalls

  • Using too few replications, so that interval endpoints change noticeably when the run is repeated with a different random seed.
  • Applying it to dependent observations, such as autocorrelated time series, which violates the independence requirement; block-based resampling is the usual alternative in that setting.
  • Treating the output as a posterior free of assumptions, when the summaries depend on the model assumptions discussed by Rubin (1981).
  • Using it on very small samples without checking the sample size, since the large-sample justification (Lo, 1987) may not hold there; a standard bootstrap or a permutation test is a reasonable comparison.

Frequently asked questions

How is the Bayesian Bootstrap different from the ordinary bootstrap?

The ordinary bootstrap redraws observations with replacement, giving each a random integer count, while the Bayesian Bootstrap keeps all observations and assigns them continuous Dirichlet weights that sum to one. The result is interpreted as a posterior-style distribution rather than a sampling distribution.

How many replications should I run?

More replications give more stable quantiles and interval endpoints, but no specific number of replications has been validated for this method. The practical check is to repeat the full run with at least two or three different random seeds, compare the interval endpoints and quantiles, and increase the number of replications until they stop changing materially for the purpose at hand.

Can I use it on small samples?

No minimum sample size is established for this method. Because the supporting theory (Lo, 1987) is asymptotic, very small samples call for particular care, and results should be compared with a standard bootstrap or a permutation test, which is a reasonable alternative.

Does it require the data to be normally distributed?

No normality assumption is needed, and it works with continuous or categorical data, but it still requires independent observations and depends on the model assumptions discussed by Rubin (1981).

Related methods

Sources

  1. Rubin, D. B. (1981). The Bayesian Bootstrap. The Annals of Statistics, 9(1), 130-134.

    Open DOI reference
  2. Lo, A. Y. (1987). A Large Sample Study of the Bayesian Bootstrap. The Annals of Statistics, 15(1), 360-375.

    Open DOI reference
  3. sandwich, p. ?