In statistics, **bootstrapping** is any test or metric that relies on random sampling with replacement. Bootstrapping allows assigning measures of accuracy (defined in terms of bias, variance, confidence intervals, prediction error or some other such measure) to sample estimates.^{[1]}^{[2]} This technique allows estimation of the sampling distribution of almost any statistic using random sampling methods.^{[3]}^{[4]} Generally, it falls in the broader class of resampling methods.

Bootstrapping is the practice of estimating properties of an estimator (such as its variance) by measuring those properties when sampling from an approximating distribution. One standard choice for an approximating distribution is the empirical distribution function of the observed data. In the case where a set of observations can be assumed to be from an independent and identically distributed population, this can be implemented by constructing a number of resamples with replacement, of the observed dataset (and of equal size to the observed dataset).

It may also be used for constructing hypothesis tests. It is often used as an alternative to statistical inference based on the assumption of a parametric model when that assumption is in doubt, or where parametric inference is impossible or requires complicated formulas for the calculation of standard errors.

The bootstrap was published by Bradley Efron in "Bootstrap methods: another look at the jackknife" (1979),^{[5]}^{[6]}^{[7]} inspired by earlier work on the jackknife.^{[8]}^{[9]}^{[10]} Improved estimates of the variance were developed later.^{[11]}^{[12]} A Bayesian extension was developed in 1981.^{[13]} The bias-corrected and accelerated (BCa) bootstrap was developed by Efron in 1987,^{[14]} and the ABC procedure in 1992.^{[15]}

The basic idea of bootstrapping is that inference about a population from sample data (sample → population) can be modelled by *resampling* the sample data and performing inference about a sample from resampled data (resampled → sample). As the population is unknown, the true error in a sample statistic against its population value is unknown. In bootstrap-resamples, the 'population' is in fact the sample, and this is known; hence the quality of inference of the 'true' sample from resampled data (resampled → sample) is measurable.

More formally, the bootstrap works by treating inference of the true probability distribution *J*, given the original data, as being analogous to inference of the empirical distribution *Ĵ*, given the resampled data. The accuracy of inferences regarding *Ĵ* using the resampled data can be assessed because we know *Ĵ*. If *Ĵ* is a reasonable approximation to *J*, then the quality of inference on *J* can in turn be inferred.

As an example, assume we are interested in the average (or mean) height of people worldwide. We cannot measure all the people in the global population, so instead we sample only a tiny part of it, and measure that. Assume the sample is of size *N*; that is, we measure the heights of *N* individuals. From that single sample, only one estimate of the mean can be obtained. In order to reason about the population, we need some sense of the variability of the mean that we have computed. The simplest bootstrap method involves taking the original data set of *N* heights, and, using a computer, sampling from it to form a new sample (called a 'resample' or bootstrap sample) that is also of size *N*. The bootstrap sample is taken from the original by using sampling with replacement (e.g. we might 'resample' 5 times from [1,2,3,4,5] and get [2,5,4,4,1]), so, assuming *N* is sufficiently large, for all practical purposes there is virtually zero probability that it will be identical to the original "real" sample. This process is repeated a large number of times (typically 1,000 or 10,000 times), and for each of these bootstrap samples we compute its mean (each of these are called bootstrap estimates). We now can create a histogram of bootstrap means. This histogram provides an estimate of the shape of the distribution of the sample mean from which we can answer questions about how much the mean varies across samples. (The method here, described for the mean, can be applied to almost any other statistic or estimator.)

A great advantage of bootstrap is its simplicity. It is a straightforward way to derive estimates of standard errors and confidence intervals for complex estimators of complex parameters of the distribution, such as percentile points, proportions, odds ratio, and correlation coefficients. Bootstrap is also an appropriate way to control and check the stability of the results. Although for most problems it is impossible to know the true confidence interval, bootstrap is asymptotically more accurate than the standard intervals obtained using sample variance and assumptions of normality.^{[16]}

Although bootstrapping is (under some conditions) asymptotically consistent, it does not provide general finite-sample guarantees. The apparent simplicity may conceal the fact that important assumptions are being made when undertaking the bootstrap analysis (e.g. independence of samples) where these would be more formally stated in other approaches.

The number of bootstrap samples recommended in literature has increased as available computing power has increased. If the results may have substantial real-world consequences, then one should use as many samples as is reasonable, given available computing power and time. Increasing the number of samples cannot increase the amount of information in the original data; it can only reduce the effects of random sampling errors which can arise from a bootstrap procedure itself. Moreover, there is evidence that numbers of samples greater than 100 lead to negligible improvements in the estimation of standard errors.^{[17]} In fact, according to the original developer of the bootstrapping method, even setting the number of samples at 50 is likely to lead to fairly good standard error estimates.^{[18]}

Adèr et al. recommend the bootstrap procedure for the following situations:^{[19]}

- When the theoretical distribution of a statistic of interest is complicated or unknown. Since the bootstrapping procedure is distribution-independent it provides an indirect method to assess the properties of the distribution underlying the sample and the parameters of interest that are derived from this distribution.

- When the sample size is insufficient for straightforward statistical inference. If the underlying distribution is well-known, bootstrapping provides a way to account for the distortions caused by the specific sample that may not be fully representative of the population.

- When power calculations have to be performed, and a small pilot sample is available. Most power and sample size calculations are heavily dependent on the standard deviation of the statistic of interest. If the estimate used is incorrect, the required sample size will also be wrong. One method to get an impression of the variation of the statistic is to use a small pilot sample and perform bootstrapping on it to get impression of the variance.

However, Athreya has shown^{[20]} that if one performs a naive bootstrap on the sample mean when the underlying population lacks a finite variance (for example, a power law distribution), then the bootstrap distribution will not converge to the same limit as the sample mean. As a result, confidence intervals on the basis of a Monte Carlo simulation of the bootstrap could be misleading. Athreya states that "Unless one is reasonably sure that the underlying distribution is not heavy tailed, one should hesitate to use the naive bootstrap".

In univariate problems, it is usually acceptable to resample the individual observations with replacement ("case resampling" below) unlike subsampling, in which resampling is without replacement and is valid under much weaker conditions compared to the bootstrap. In small samples, a parametric bootstrap approach might be preferred. For other problems, a *smooth bootstrap* will likely be preferred.

For regression problems, various other alternatives are available.^{[21]}

Bootstrap is generally useful for estimating the distribution of a statistic (e.g. mean, variance) without using normal theory (e.g. z-statistic, t-statistic). Bootstrap comes in handy when there is no analytical form or normal theory to help estimate the distribution of the statistics of interest, since bootstrap methods can apply to most random quantities, e.g., the ratio of variance and mean. There are at least two ways of performing case resampling.

- The Monte Carlo algorithm for case resampling is quite simple. First, we resample the data with replacement, and the size of the resample must be equal to the size of the original data set. Then the statistic of interest is computed from the resample from the first step. We repeat this routine many times to get a more precise estimate of the Bootstrap distribution of the statistic.
- The 'exact' version for case resampling is similar, but we exhaustively enumerate every possible resample of the data set. This can be computationally expensive as there are a total of different resamples, where
*n*is the size of the data set.

Consider a coin-flipping experiment. We flip the coin and record whether it lands heads or tails. Let *X = x*_{1}, *x*_{2}, …, *x*_{10} be 10 observations from the experiment. *x _{i}* = 1 if the i th flip lands heads, and 0 otherwise. From normal theory, we can use t-statistic to estimate the distribution of the sample mean,

Instead, we use bootstrap, specifically case resampling, to derive the distribution of . We first resample the data to obtain a *bootstrap resample*. An example of the first resample might look like this *X*_{1}* = *x*_{2}, *x*_{1}, *x*_{10}, *x*_{10}, *x*_{3}, *x*_{4}, *x*_{6}, *x*_{7}, *x*_{1}, *x*_{9}. Note that there are some duplicates since a bootstrap resample comes from sampling with replacement from the data. Note also that the number of data points in a bootstrap resample is equal to the number of data points in our original observations. Then we compute the mean of this resample and obtain the first *bootstrap mean*: *μ*_{1}*. We repeat this process to obtain the second resample *X*_{2}* and compute the second bootstrap mean *μ*_{2}*. If we repeat this 100 times, then we have *μ*_{1}*, *μ*_{2}*, ..., *μ*_{100}*. This represents an *empirical bootstrap distribution* of sample mean. From this empirical distribution, one can derive a *bootstrap confidence interval* for the purpose of hypothesis testing.

In regression problems, *case resampling* refers to the simple scheme of resampling individual cases – often rows of a data set. For regression problems, so long as the data set is fairly large, this simple scheme is often acceptable. However, the method is open to criticism.

In regression problems, the explanatory variables are often fixed, or at least observed with more control than the response variable. Also, the range of the explanatory variables defines the information available from them. Therefore, to resample cases means that each bootstrap sample will lose some information. As such, alternative bootstrap procedures should be considered.

Bootstrapping can be interpreted in a Bayesian framework using a scheme that creates new datasets through reweighting the initial data. Given a set of data points, the weighting assigned to data point in a new dataset is , where is a low-to-high ordered list of uniformly distributed random numbers on , preceded by 0 and succeeded by 1. The distributions of a parameter inferred from considering many such datasets are then interpretable as posterior distributions on that parameter.^{[22]}

Under this scheme, a small amount of (usually normally distributed) zero-centered random noise is added onto each resampled observation. This is equivalent to sampling from a kernel density estimate of the data.

In this case a parametric model is fitted to the data, often by maximum likelihood, and samples of random numbers are drawn from this fitted model. Usually the sample drawn has the same sample size as the original data. Then the quantity, or estimate, of interest is calculated from these data. This sampling process is repeated many times as for other bootstrap methods. The use of a parametric model at the sampling stage of the bootstrap methodology leads to procedures which are different from those obtained by applying basic statistical theory to inference for the same model.

Another approach to bootstrapping in regression problems is to resample residuals. The method proceeds as follows.

- Fit the model and retain the fitted values and the residuals .
- For each pair, (
*x*,_{i}*y*), in which_{i}*x*is the (possibly multivariate) explanatory variable, add a randomly resampled residual, , to the fitted value . In other words, create synthetic response variables where_{i}*j*is selected randomly from the list (1, ...,*n*) for every*i*. - Refit the model using the fictitious response variables , and retain the quantities of interest (often the parameters, , estimated from the synthetic ).
- Repeat steps 2 and 3 a large number of times.

This scheme has the advantage that it retains the information in the explanatory variables. However, a question arises as to which residuals to resample. Raw residuals are one option; another is studentized residuals (in linear regression). Although there are arguments in favour of using studentized residuals; in practice, it often makes little difference, and it is easy to compare the results of both schemes.

When data are temporally correlated, straightforward bootstrapping destroys the inherent correlations. This method uses Gaussian process regression to fit a probabilistic model from which replicates may then be drawn. Gaussian processes are methods from Bayesian non-parametric statistics but are here used to construct a parametric bootstrap approach, which implicitly allows the time-dependence of the data to be taken into account.

The wild bootstrap, proposed originally by Wu (1986),^{[23]} is suited when the model exhibits heteroskedasticity. The idea is, like the residual bootstrap, to leave the regressors at their sample value, but to resample the response variable based on the residuals values. That is, for each replicate, one computes a new based on

so the residuals are randomly multiplied by a random variable with mean 0 and variance 1. For most distributions of (but not Mammen's), this method assumes that the 'true' residual distribution is symmetric and can offer advantages over simple residual sampling for smaller sample sizes. Different forms are used for the random variable , such as

- A distribution suggested by Mammen (1993).
^{[24]}

- A distribution suggested by Mammen (1993).

- Approximately, Mammen's distribution is:

- Or the simpler distribution, linked to the Rademacher distribution:

The block bootstrap is used when the data, or the errors in a model, are correlated. In this case, a simple case or residual resampling will fail, as it is not able to replicate the correlation in the data. The block bootstrap tries to replicate the correlation by resampling instead blocks of data. The block bootstrap has been used mainly with data correlated in time (i.e. time series) but can also be used with data correlated in space, or among groups (so-called cluster data).

In the (simple) block bootstrap, the variable of interest is split into non-overlapping blocks.

In the moving block bootstrap, introduced by Künsch (1989),^{[25]} data is split into *n* − *b* + 1 overlapping blocks of length *b*: Observation 1 to b will be block 1, observation 2 to *b* + 1 will be block 2, etc. Then from these *n* − *b* + 1 blocks, *n*/*b* blocks will be drawn at random with replacement. Then aligning these n/b blocks in the order they were picked, will give the bootstrap observations.

This bootstrap works with dependent data, however, the bootstrapped observations will not be stationary anymore by construction. But, it was shown that varying randomly the block length can avoid this problem.^{[26]} This method is known as the *stationary bootstrap.* Other related modifications of the moving block bootstrap are the *Markovian bootstrap* and a stationary bootstrap method that matches subsequent blocks based on standard deviation matching.

Cluster data describes data where many observations per unit are observed. This could be observing many firms in many states, or observing students in many classes. In such cases, the correlation structure is simplified, and one does usually make the assumption that data is correlated within a group/cluster, but independent between groups/clusters. The structure of the block bootstrap is easily obtained (where the block just corresponds to the group), and usually only the groups are resampled, while the observations within the groups are left unchanged. Cameron et al. (2008) discusses this for clustered errors in linear regression.^{[27]}

The bootstrap distribution of a point estimator of a population parameter has been used to produce a bootstrapped confidence interval for the parameter's true value, if the parameter can be written as a function of the population's distribution.

Population parameters are estimated with many point estimators. Popular families of point-estimators include mean-unbiased minimum-variance estimators, median-unbiased estimators, Bayesian estimators (for example, the posterior distribution's mode, median, mean), and maximum-likelihood estimators.

A Bayesian point estimator and a maximum-likelihood estimator have good performance when the sample size is infinite, according to asymptotic theory. For practical problems with finite samples, other estimators may be preferable. Asymptotic theory suggests techniques that often improve the performance of bootstrapped estimators; the bootstrapping of a maximum-likelihood estimator may often be improved using transformations related to pivotal quantities.^{[28]}

The bootstrap distribution of a parameter-estimator has been used to calculate confidence intervals for its population-parameter.

**Bias**: The bootstrap distribution and the sample may disagree systematically, in which case bias may occur.- If the bootstrap distribution of an estimator is symmetric, then percentile confidence-interval are often used; such intervals are appropriate especially for median-unbiased estimators of minimum risk (with respect to an absolute loss function). Bias in the bootstrap distribution will lead to bias in the confidence-interval.
- Otherwise, if the bootstrap distribution is non-symmetric, then percentile confidence-intervals are often inappropriate.

There are several methods for constructing confidence intervals from the bootstrap distribution of a real parameter:

**Basic bootstrap**, which generates a**pivotal confidence interval**. The basic bootstrap is the simplest scheme to construct the confidence interval: one simply takes the empirical quantiles from the bootstrap distribution of the parameter (see Davison and Hinkley 1997, equ. 5.6 p. 194):

- where denotes the percentile of the bootstrapped coefficients .

**Percentile bootstrap**. The percentile bootstrap proceeds in a similar way to the basic bootstrap, using percentiles of the bootstrap distribution, but with a different formula (note the inversion of the left and right quantiles!):

- where denotes the percentile of the bootstrapped coefficients .

See Davison and Hinkley (1997, equ. 5.18 p. 203) and Efron and Tibshirani (1993, equ 13.5 p. 171).
This method can be applied to any statistic. It will work well in cases where the bootstrap distribution is symmetrical and centered on the observed statistic^{[29]} and where the sample statistic is median-unbiased and has maximum concentration (or minimum risk with respect to an absolute value loss function). In other cases, the percentile bootstrap can be too narrow. When working with small sample sizes (i.e., less than 50), the percentile confidence intervals for (for example) the variance statistic will be too narrow. So that with a sample of 20 points, 90% confidence interval will include the true variance only 78% of the time.^{[30]} Some give a general warning against using the percentile bootstrap in favour of the basic bootstrap; according to Rice, "Although this direct equation of quantiles of the bootstrap sampling distribution with confidence limits may seem initially appealing, it’s rationale is somewhat obscure."^{[31]}^{[32]}

**Studentized bootstrap**. The studentized bootstrap, also called*bootstrap-t*, is computed analogously to the standard confidence interval, but replaces the quantiles from the normal or student approximation by the quantiles from the bootstrap distribution of the Student's t-test (see Davison and Hinkley 1997, equ. 5.7 p. 194 and Efron and Tibshirani 1993 equ 12.22, p. 160):

- where denotes the percentile of the bootstrapped Student's t-test , and is the estimated standard error of the coefficient in the original model.

The studentized test enjoys optimal properties as the statistic that is bootstrapped is pivotal (i.e. it does not depend on nuisance parameters as the t-test follows asymptotically a N(0,1) distribution), unlike the percentile bootstrap.

**Bias-corrected bootstrap**– adjusts for bias in the bootstrap distribution.**Accelerated bootstrap**– The bias-corrected and accelerated (BCa) bootstrap, by Efron (1987),^{[14]}adjusts for both bias and skewness in the bootstrap distribution. This approach is accurate in a wide variety of settings, has reasonable computation requirements, and produces reasonably narrow intervals.

Efron and Tibshirani^{[1]} suggest the following algorithm for comparing the means of two independent samples:
Let be a random sample from distribution F with sample mean and sample variance . Let be another, independent random sample from distribution G with mean and variance

- Calculate the test statistic
- Create two new datasets whose values are and where is the mean of the combined sample.
- Draw a random sample () of size with replacement from and another random sample () of size with replacement from .
- Calculate the test statistic
- Repeat 3 and 4 times (e.g. ) to collect values of the test statistic.
- Estimate the p-value as where when
*condition*is true and 0 otherwise.

In 1878, Simon Newcomb took observations on the speed of light.^{[33]}
The data set contains two outliers, which greatly influence the sample mean. (Note that the sample mean need not be a consistent estimator for any population mean, because no mean need exist for a heavy-tailed distribution.) A well-defined and robust statistic for central tendency is the sample median, which is consistent and median-unbiased for the population median.

The bootstrap distribution for Newcomb's data appears below. A convolution method of regularization reduces the discreteness of the bootstrap distribution by adding a small amount of *N*(0, *σ*^{2}) random noise to each bootstrap sample. A conventional choice is for sample size *n*.

Histograms of the bootstrap distribution and the smooth bootstrap distribution appear below. The bootstrap distribution of the sample-median has only a small number of values. The smoothed bootstrap distribution has a richer support.

In this example, the bootstrapped 95% (percentile) confidence-interval for the population median is (26, 28.5), which is close to the interval for (25.98, 28.46) for the smoothed bootstrap.

The bootstrap is distinguished from:

- the jackknife procedure, used to estimate biases of sample statistics and to estimate variances, and
- cross-validation, in which the parameters (e.g., regression weights, factor loadings) that are estimated in one subsample are applied to another subsample.

For more details see bootstrap resampling.

Bootstrap aggregating (bagging) is a meta-algorithm based on averaging the results of multiple bootstrap samples.

In situations where an obvious statistic can be devised to measure a required characteristic using only a small number, *r*, of data items, a corresponding statistic based on the entire sample can be formulated. Given an *r*-sample statistic, one can create an *n*-sample statistic by something similar to bootstrapping (taking the average of the statistic over all subsamples of size *r*). This procedure is known to have certain good properties and the result is a U-statistic. The sample mean and sample variance are of this form, for *r* = 1 and *r* = 2.

- Accuracy and precision
- Bootstrap aggregating
- Bootstrapping
- Empirical likelihood
- Imputation (statistics)
- Reliability (statistics)
- Reproducibility
- Resampling

- ^
^{a}^{b}Efron, B.; Tibshirani, R. (1993).*An Introduction to the Bootstrap*. Boca Raton, FL: Chapman & Hall/CRC. ISBN 0-412-04231-2. software Archived 2012-07-12 at Archive.today **^**Second Thoughts on the Bootstrap – Bradley Efron, 2003**^**Varian, H.(2005). "Bootstrap Tutorial".*Mathematica Journal*, 9, 768–775.**^**Weisstein, Eric W. "Bootstrap Methods." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/BootstrapMethods.html**^**Notes for Earliest Known Uses of Some of the Words of Mathematics: Bootstrap (John Aldrich)**^**Earliest Known Uses of Some of the Words of Mathematics (B) (Jeff Miller)**^**Efron, B. (1979). "Bootstrap methods: Another look at the jackknife".*The Annals of Statistics*.**7**(1): 1–26. doi:10.1214/aos/1176344552.**^**Quenouille M (1949) Approximate tests of correlation in time-series. J Roy Statist Soc Ser B 11 68–84**^**Tukey J (1958) Bias and confidence in not-quite large samples (abstract). Ann Math Statist 29 614**^**Jaeckel L (1972) The infinitesimal jackknife. Memorandum MM72-1215-11, Bell Lab**^**Bickel P, Freeman D (1981) Some asymptotic theory for the bootstrap. Ann Statist 9 1196–1217**^**Singh K (1981) On the asymptotic accuracy of Efron’s bootstrap. Ann Statist 9 1187–1195**^**Rubin D (1981). The Bayesian bootstrap. Ann Statist 9 130–134- ^
^{a}^{b}Efron, B. (1987). "Better Bootstrap Confidence Intervals".*Journal of the American Statistical Association*. Journal of the American Statistical Association, Vol. 82, No. 397.**82**(397): 171–185. doi:10.2307/2289144. JSTOR 2289144. **^**Diciccio T, Efron B (1992) More accurate confidence intervals in exponential families. Biometrika 79 231–245**^**DiCiccio TJ, Efron B (1996) Bootstrap confidence intervals (with Discussion). Statistical Science 11: 189–228**^**Goodhue, D.L., Lewis, W., & Thompson, R. (2012). Does PLS have advantages for small sample size or non-normal data? MIS Quarterly, 36(3), 981–1001.**^**Efron, B., Rogosa, D., & Tibshirani, R. (2004). Resampling methods of estimation. In N.J. Smelser, & P.B. Baltes (Eds.). International Encyclopedia of the Social & Behavioral Sciences (pp. 13216–13220). New York, NY: Elsevier.**^**Adèr, H. J., Mellenbergh G. J., & Hand, D. J. (2008).*Advising on research methods: A consultant's companion*. Huizen, The Netherlands: Johannes van Kessel Publishing. ISBN 978-90-79418-01-5**^**Bootstrap of the mean in the infinite variance case Athreya, K.B.*Ann Stats*vol 15 (2) 1987 724–731**^**Efron B., R. J. Tibshirani, An introduction to the bootstrap, Chapman & Hall/CRC 1998**^**Rubin, D. B. (1981). "The Bayesian bootstrap".*Annals of Statistics*, 9, 130.**^**Wu, C.F.J. (1986). "Jackknife, bootstrap and other resampling methods in regression analysis (with discussions)".*Annals of Statistics*.**14**: 1261–1350. doi:10.1214/aos/1176350142.**^**Mammen, E. (Mar 1993). "Bootstrap and wild bootstrap for high dimensional linear models".*Annals of Statistics*.**21**(1): 255–285. doi:10.1214/aos/1176349025.**^**Künsch, H. R. (1989). "The Jackknife and the Bootstrap for General Stationary Observations".*Annals of Statistics*.**17**(3): 1217–1241. doi:10.1214/aos/1176347265.**^**Politis, D. N.; Romano, J. P. (1994). "The Stationary Bootstrap".*Journal of the American Statistical Association*.**89**(428): 1303–1313. doi:10.1080/01621459.1994.10476870.**^**Cameron, A. C.; Gelbach, J. B.; Miller, D. L. (2008). "Bootstrap-based improvements for inference with clustered errors".*Review of Economics and Statistics*.**90**(3): 414–427. doi:10.1162/rest.90.3.414.**^**Davison, A. C.; Hinkley, D. V. (1997).*Bootstrap methods and their application*. Cambridge Series in Statistical and Probabilistic Mathematics. Cambridge University Press. ISBN 0-521-57391-2. software.**^**Efron, B. (1982).*The jackknife, the bootstrap, and other resampling plans*.**38**. Society of Industrial and Applied Mathematics CBMS-NSF Monographs. ISBN 0-89871-179-7.**^**Scheiner, S. (1998).*Design and Analysis of Ecological Experiments*. CRC Press. ISBN 0412035618.**^**Rice, John.*Mathematical Statistics and Data Analysis*(2 ed.). p. 272.**^**Orloff, Jeremy; Bloom, Jonathan. "Bootstrap confidence intervals" (PDF).**^**Data from examples in*Bayesian Data Analysis*

- Diaconis, P.; Efron, B. (May 1983). "Computer-intensive methods in statistics" (PDF).
*Scientific American*: 116–130. popular-science - Efron, B. (1981). "Nonparametric estimates of standard error: The jackknife, the bootstrap and other methods".
*Biometrika*.**68**(3): 589–599. doi:10.1093/biomet/68.3.589. - Hesterberg, T. C.; D. S. Moore; S. Monaghan; A. Clipson & R. Epstein (2005). "Bootstrap methods and permutation tests". In David S. Moore & George McCabe (eds.).
*Introduction to the Practice of Statistics*(PDF). software. Archived from the original (pdf) on 2006-02-15. Retrieved 2007-03-23.

- Bootstrap sampling tutorial using MS Excel
- Bootstrap example to simulate stock prices using MS Excel
- bootstrapping tutorial
- package animation

- Statistics101: Resampling, Bootstrap, Monte Carlo Simulation program. Free program written in Java to run on any operating system.

Bootstrap aggregating, also called bagging, is a machine learning ensemble meta-algorithm designed to improve the stability and accuracy of machine learning algorithms used in statistical classification and regression. It also reduces variance and helps to avoid overfitting. Although it is usually applied to decision tree methods, it can be used with any type of method. Bagging is a special case of the model averaging approach.

Bootstrapping (disambiguation)Bootstrapping is a self-starting process that is supposed to proceed without external input.

Bootstrapping or bootstrap may also refer to:

Bootstrap (front-end framework), a free collection of tools for creating websites and web applications

Bootstrap curriculum, a curriculum which uses computer programming to teach algebra to students age 12-16

Bootstrap funding in entrepreneurship and startups

Bootstrap model, a class of theories in quantum physics

Conformal bootstrap, a mathematical method to constrain and solve models in particle physics

Bootstrapping (compilers), the process of writing a compiler in the programming language it is intended to compile

Bootstrapping (electronics), a type of circuit that employs positive feedback.

Bootstrapping (finance), a method for constructing a yield curve from the prices of coupon-bearing products

Bootstrapping (law), a former rule of evidence in federal conspiracy trials

Bootstrapping (linguistics), a term used in language acquisition

Bootstrapping (statistics), a method for assigning measures of accuracy to sample estimates

CDF-based nonparametric confidence intervalIn statistics, **cumulative distribution function (CDF)-based nonparametric confidence intervals** are a general class of confidence intervals around statistical functionals of a distribution. To calculate these confidence intervals, all that is required is an
independently and identically distributed (iid) sample from the distribution and known bounds on the support of the distribution. The latter requirement simply means that all the nonzero probability mass of the distribution must be contained in some known interval .

Cross-validation, sometimes called rotation estimation, or out-of-sample testing is any of various similar model validation techniques for assessing how the results of a statistical analysis will generalize to an independent data set. It is mainly used in settings where the goal is prediction, and one wants to estimate how accurately a predictive model will perform in practice. In a prediction problem, a model is usually given a dataset of known data on which training is run (training dataset), and a dataset of unknown data (or first seen data) against which the model is tested (called the validation dataset or testing set). The goal of cross-validation is to test the model's ability to predict new data that was not used in estimating it, in order to flag problems like overfitting or selection bias and to give an insight on how the model will generalize to an independent dataset (i.e., an unknown dataset, for instance from a real problem).

One round of cross-validation involves partitioning a sample of data into complementary subsets, performing the analysis on one subset (called the training set), and validating the analysis on the other subset (called the validation set or testing set). To reduce variability, in most methods multiple rounds of cross-validation are performed using different partitions, and the validation results are combined (e.g. averaged) over the rounds to give an estimate of the model's predictive performance.

In summary, cross-validation combines (averages) measures of fitness in prediction to derive a more accurate estimate of model prediction performance.

Empirical likelihoodEmpirical likelihood (EL) is an estimation method in statistics. Empirical likelihood estimates require fewer assumptions about the error distribution compared to similar methods like maximum likelihood. The estimation method requires that the data are independent and identically distributed (iid). It performs well even when the distribution is asymmetric or censored. EL methods can also handle constraints and prior information on parameters. Art Owen pioneered work in this area with his 1988 paper.

Gene expression profilingIn the field of molecular biology, gene expression profiling is the measurement of the activity (the expression) of thousands of genes at once, to create a global picture of cellular function. These profiles can, for example, distinguish between cells that are actively dividing, or show how the cells react to a particular treatment. Many experiments of this sort measure an entire genome simultaneously, that is, every gene present in a particular cell.

Several transcriptomics technologies can be used to generate the necessary data to analyse. DNA microarrays measure the relative activity of previously identified target genes. Sequence based techniques, like RNA-Seq, provide information on the sequences of genes in addition to their expression level.

Imputation (statistics)In statistics, imputation is the process of replacing missing data with substituted values. When substituting for a data point, it is known as "unit imputation"; when substituting for a component of a data point, it is known as "item imputation". There are three main problems that missing data causes: missing data can introduce a substantial amount of bias, make the handling and analysis of the data more arduous, and create reductions in efficiency. Because missing data can create problems for analyzing data, imputation is seen as a way to avoid pitfalls involved with listwise deletion of cases that have missing values. That is to say, when one or more values are missing for a case, most statistical packages default to discarding any case that has a missing value, which may introduce bias or affect the representativeness of the results. Imputation preserves all cases by replacing missing data with an estimated value based on other available information. Once all missing values have been imputed, the data set can then be analysed using standard techniques for complete data. Imputation theory is constantly developing and thus requires consistent attention to new information regarding the subject. There have been many theories embraced by scientists to account for missing data but the majority of them introduce large amounts of bias. A few of the well known attempts to deal with missing data include: hot deck and cold deck imputation; listwise and pairwise deletion; mean imputation; regression imputation; last observation carried forward; stochastic imputation; and multiple imputation.

Moderated mediationIn statistics, moderation and mediation can occur together in the same model. Moderated mediation, also known as conditional indirect effects, occurs when the treatment effect of an independent variable A on an outcome variable C via a mediator variable B differs depending on levels of a moderator variable D. Specifically, either the effect of A on the B, and/or the effect of B on C depends on the level of D.

Out-of-bag errorOut-of-bag (OOB) error, also called out-of-bag estimate, is a method of measuring the prediction error of random forests, boosted decision trees, and other machine learning models utilizing bootstrap aggregating (bagging) to sub-sample data samples used for training. OOB is the mean prediction error on each training sample xᵢ, using only the trees that did not have xᵢ in their bootstrap sample.Subsampling allows one to define an out-of-bag estimate of the prediction performance improvement by evaluating predictions on those observations which were not used in the building of the next base learner. Out-of-bag estimates help avoid the need for an independent validation dataset, but often underestimates actual performance improvement and the optimal number of iterations.

Plug-in principleIn statistics, the plug-in principle is the method of estimation of functionals of a population distribution by evaluating the same functionals at the empirical distribution based on a sample.

For example, when estimating the population mean, this method uses the sample mean; to estimate the population median, it uses the sample median; to estimate the population regression line, it uses the sample regression line.

It is called a principle because it is too simple to be otherwise, it is just a guideline, not a theorem.

Statistical hypothesis testingA statistical hypothesis, sometimes called confirmatory data analysis, is a hypothesis that is testable on the basis of observing a process that is modeled via a set of random variables. A statistical hypothesis test is a method of statistical inference. Commonly, two statistical data sets are compared, or a data set obtained by sampling is compared against a synthetic data set from an idealized model. A hypothesis is proposed for the statistical relationship between the two data sets, and this is compared as an alternative to an idealized null hypothesis that proposes no relationship between two data sets. The comparison is deemed statistically significant if the relationship between the data sets would be an unlikely realization of the null hypothesis according to a threshold probability—the significance level. Hypothesis tests are used when determining what outcomes of a study would lead to a rejection of the null hypothesis for a pre-specified level of significance.

The process of distinguishing between the null hypothesis and the alternative hypothesis is aided by considering two conceptual types of errors. The first type of error occurs when the null hypothesis is wrongly rejected. The second type of error occurs when the null hypothesis is wrongly not rejected. (The two types are known as type 1 and type 2 errors.)

Hypothesis tests based on statistical significance are another way of expressing confidence intervals (more precisely, confidence sets). In other words, every hypothesis test based on significance can be obtained via a confidence interval, and every confidence interval can be obtained via a hypothesis test based on significance.Significance-based hypothesis testing is the most common framework for statistical hypothesis testing. An alternative framework for statistical hypothesis testing is to specify a set of statistical models, one for each candidate hypothesis, and then use model selection techniques to choose the most appropriate model. The most common selection techniques are based on either Akaike information criterion or Bayes factor.

Surrogate dataSurrogate data, sometimes known as analogous data, usually refers to time series data that is produced using well-defined (linear) models like ARMA processes that reproduce various statistical properties like the autocorrelation structure of a measured data set. The resulting surrogate data can then for example be used for testing for non-linear structure in the empirical data.

Surrogate or analogous data may refer to data used to supplement available data from which a mathematical model is built. Under this definition, it may be generated (i.e., synthetic data) or transformed from another source.

This page is based on a Wikipedia article written by authors
(here).

Text is available under the CC BY-SA 3.0 license; additional terms may apply.

Images, videos and audio are available under their respective licenses.