Tamanho amostra bootstrap
- Created by
- Renato Passos, Eng. de Software
- Reviewed by
- Renato Passos, Eng. de Software
Last updated: Apr 18, 2026
Formula
n = (zσ/E)²
About this calculator
The Bootstrap Sample Size calculator is a vital tool for statisticians and researchers aiming to determine the required sample size for reliable results in studies using the bootstrap method. The bootstrap method is a resampling technique that allows estimating the variability of a statistic. The formula used is n = (z·σ/E)², where n is the sample size, z is the critical value from the standard normal distribution, σ is the population standard deviation, and E is the desired estimation error.
The formula operates as follows: first, define the desired estimation error (E) and the confidence level, related to the critical value z. The population standard deviation (σ) is also required, though it can be estimated from pilot data or previous studies. With these values, the calculator provides the necessary sample size to achieve the desired precision.
When to use the bootstrap method? It is particularly useful when the population distribution is unknown or complex, or when the sample size is limited. However, it's crucial to consider common precautions when working with bootstrap samples, such as ensuring the sample is representative of the population and avoiding selection biases.
Attention should be paid to the quality of data used to estimate σ and the realism of the E value, as these parameters directly affect the calculated sample size. Moreover, the interpretation of results should consider the method's limitations and the inherent variability of the resampling process.
Frequently asked questions
What is the critical value z?
The critical value z is obtained from the standard normal distribution and depends on the chosen confidence level for the study.
How to estimate σ if I don't know the population standard deviation?
You can use pilot data, previous studies, or a conservative estimate for σ.
What is the impact of the estimation error E on sample size?
A smaller estimation error requires a larger sample size to achieve the same precision.
Can I use this calculator for any type of data?
The calculator is designed for data that can be properly described by a distribution with mean and standard deviation.
How to interpret the bootstrap sample result?
The result indicates the number of observations needed to obtain an estimate with the desired precision.