| Cart Total:
Statistics Spotlight: About Bootstrapping
  • Business & Professional Services

Statistics Spotlight: About Bootstrapping

An ideal method for the analysis of Likert data

Publication:
Quality Progress
Date:
December 2026
Issue:
Volume 59 Issue 12
Pages:
pp. 72-74
Author(s):
Barsalou, Matthew, Frost, Jim
Organization(s):
Automotive industry, Germany, Statistics By Jim, State College, PA
The copyright of this article is not held by ASQ.

Bootstrapping can be used for analyzing Likert data, such as survey data results. Before describing how bootstrapping works, however, let’s examine the strengths of two-sample bootstrapping for ordinal data.

Bootstrapping has no distribution assumptions. Therefore, it does not require samples to follow a specific distribution and the two distributions don’t need to match shapes. Bootstrapping methods are valid with ordinal data, and bootstrapping allows for a direct comparison of medians.

In contrast, parametric methods focus on means, while nonparametric methods assess data ranks that only sometimes apply to medians. In addition, bootstrapping tends to have at least as much power as other methods.

How bootstrapping works

Bootstrapping and traditional methods use samples to draw inferences about populations. To do that, both methods estimate a sampling distribution, but they use different methods.

Traditional hypothesis testing procedures use theoretical distribution functions to estimate sampling distributions—think of the t-distribution.1 To obtain valid results, you must satisfy the function’s assumptions.

Bootstrapping2 estimates sampling distributions by resampling a data set to make thousands of simulated samples. The process treats the original sample as a proxy for the population and draws random samples from it. The central assumption is that the original sample accurately represents the population.

Each simulated sample has its own properties, including the median. By graphing these medians on a histogram, you observe the sampling distribution. You don’t need to worry about test statistics, formulas or distribution assumptions.

Resampling your single data set almost seems too good to be true. It’s no less rigorous, however, than a parametric approach that applies a theoretical distribution to the same data set. Additionally, a distribution function for the difference between two medians doesn’t exist. Hence, our need to use bootstrapping.

The bootstrap method has been around since 1979,3 and its use has increased thanks to increasingly powerful computers. Over the decades, various studies have found that bootstrap sampling distributions approximate the correct sampling distributions.

While the method behind bootstrapping differs greatly from traditional hypothesis testing, you still evaluate the results using p-values and confidence intervals (CI).

Comparing two coffee brands

Let’s compare two coffee brands, A and B (see Table 1). These are two independent samples (different people in each) which have medians of 4 and 2, respectively. The median difference is 2. We must determine whether that difference is statistically significant.

TABLE 1
COFFEE COMPARISON
Coffee comparison

The histogram of the responses in Figure 1 clearly shows the distributions have different shapes. Hence, we can’t use the Mann-Whitney test4 to evaluate the median difference. Instead, we’ll use a two-sample median bootstrap test.

FIGURE 1
HISTOGRAM OF BRAND A AND BRAND B
Histogram of brand A and brand B

Interpreting a two-sample median bootstrap test

If you can interpret a two-sample t-test, you’ll have no difficulties interpreting a bootstrap test for two medians. The output is similar, and you need to assess p-values and CIs.

The bootstrap procedure shown in Figure 2 creates 100,000 simulated samples from the original data and tests the median difference.

Let’s go through this output.

FIGURE 2
BOOTSTRAP PROCEDURE
Bootstrap procedure

Descriptive statistics

This section shows us that there are 11 responses to brand A and brand B. Brand A’s median is four while B’s is two, producing a sample median difference of two.

Median absolute deviation (MAD, shown as “median AD” here) measures spread by taking the median of the absolute distances of the data from the sample median. It’s robust to outliers. Higher values represent greater spread.

Brand A has a narrower spread than B. Its value is 0 because at least half the values are the same.

Estimation for difference

Figure 2 displays the point estimate and CI for the median difference. The CI uses the BCa method, which is a standard bias correction (BC) method where the calculations are accelerated (a).

The point estimate for our sample data is -2. That value is negative because the algorithm calculates brand B - brand A. Additionally, the CI is [-3, -2]. We can be 95% confident that the true population mean falls within this range. Crucially, this range excludes 0 (no difference), indicating our results are statistically significant.

Test

Figure 2 shows the p-value. Instead of calculating it using a theoretical distribution, the algorithm takes the 100,000 resamples and creates the null sampling distribution from them. Next, it places our sample results into that distribution to determine how unlikely it is if the null is true.

Our p-value is 0.00035, which is less than the standard significance level of 0.05. We can reject the null hypothesis that the two medians are equal and conclude that brand A’s population median is greater than brand B’s.

Graph of bootstrap distribution of difference in medians

Figure 2 displays the bootstrapped sampling distribution that the algorithm uses to calculate the CI and p-value. The dashed reference line represents the null hypothesis value of zero difference, indicating there is no effect. The limited number of bars occurs because we’re working with medians from small samples containing only a few discrete values. That limits the possible differences between samples.

Visually, you can see that 0 is outside the bulk of the sampling distribution, indicating that the null hypothesis is unlikely to be true. The CI and p-value results formally test that.

Taken together, we can conclude that the population medians differ for these two coffee brands and we can be confident that brand B’s median is higher by two or three points on the Likert scale.

Interestingly, the Mann-Whitney test result for these data, which is not shown, is statistically significant. What does that mean?

Mann-Whitney evaluates data ranks and only assesses medians when the distribution shapes are the same. When the shapes differ, as they do for these data, significant results indicate that one sample has stochastic superiority over the other. That sounds confusing, but it’s a fancy way of saying one group tends to have higher-ranked values than the other, but it does not apply to the medians.

Fortunately, given the bootstrap test results, we can test the medians specifically!

© 2026 Jim Frost


REFERENCES

  1. Robert S. Witte,  Statistics, fourth edition, Harcourt Brace College Publishers, 1993.
  2. Sarah Boslaugh and Paul Andrew Waters, Statistics in a Nutshell: A Desktop Quick Reference, O’Riley, 2008
  3. Bradley Efron, “Bootstrap Methods: Another Look at the Jackknife,” The Annals of Statistics, Vol. 7, No. 1, January 1979, pp. 1-26.
  4. Jim Frost, Hypothesis Testing: An Intuitive Guide for Making Data Driven Decisions, Statistics by Jim Publishing, 2020.


Matthew Barsalou works in the automotive industry in Germany. He has a master’s degree in business administration and engineering from Wilhelm Büchner Hochschule in Darmstadt, Germany, and a master’s degree in liberal studies from Fort Hays State University in Hays, KS. Barsalou is an academician in the International Academy for Quality, an ASQ fellow and was the 2021 chair of ASQ’s Statistics Division. He is a certified lean Six Sigma Master Black Belt and an ASQ-certified Six Sigma Black Belt, manager of quality/organizational excellence, quality technician and quality engineer.

Jim Frost has extensive experience using statistical analysis in academic research and consulting projects. He’s been performing statistical analysis on-the-job for more than 25 years. For 10 of those years, he was at a statistical software company helping others make the most out of their data. In addition to writing multiple statistics books, ranging from Introduction to Statistics to Regression Analysis, Frost also runs StatisticsByJim.com and is a regular columnist for the ASQ Statistics Division’s Statistics Digest.


Editor’s Note

Want to comment on or discuss this column? Visit the All Member Forum at myASQ.org.

You may also be interested in: