Hodges-Lehmann Estimator
Computes the Hodges-Lehmann estimator of a sample's location, a robust alternative to both the mean and the median. It's defined as the median of all pairwise averages (the so-called Walsh averages) among the values, including each value with itself. The result combines the median's resistance to outliers with greater efficiency when the data are nearly normal. It's the estimator associated with the Wilcoxon signed-rank test. Enter the sample of values.
Resultado
—
Hodges-Lehmann Estimator
Computes the Hodges-Lehmann estimator of a sample's location, a robust alternative to both the mean and the median. It's defined as the median of all pairwise averages (the so-called Walsh averages) among the values, including each value with itself. The result combines the median's resistance to outliers with greater efficiency when the data are nearly normal. It's the estimator associated with the Wilcoxon signed-rank test. Enter the sample of values.
The best of both worlds between mean and median
The mean is efficient but gets dragged by a single outlier; the median is robust but throws away a lot of information. The Hodges-Lehmann estimator occupies a remarkable middle ground: it resists extreme values almost as well as the median, but uses the data far more efficiently when the distribution is reasonably symmetric.
The construction is ingenious. Instead of looking at the values one by one, it forms all possible averages between pairs of observations, including each value with itself — the so-called Walsh averages. The location estimate is simply the median of that collection of averages. That process of averaging before taking the median is what gives the estimator its rare combination of robustness and efficiency.
Enter the sample of values. The tool returns the Hodges-Lehmann estimate of location. Not by chance, it's the estimator naturally associated with the Wilcoxon signed-rank test: just as that test is the robust alternative to the t-test, this is the robust alternative to the sample mean that accompanies it.
Related Tools
Median Quartiles IQR Calculator
Computes median, first quartile Q1, third quartile Q3 and interquartile range IQR of a list of numerical values.
Basic Statistics Calculator
From a list of numbers, compute mean, median, mode, min, max, sum, standard deviation and variance (population and sample). Everything in your browser.
Theil-Sen Estimator (Robust Regression)
Computes the Theil-Sen line, a robust alternative to least squares for fitting a linear trend. Instead of minimizing squared errors (which makes the classic line very sensitive to outliers), it takes the median of all slopes between pairs of points. Because it uses the median, it tolerates up to about 29% of outlying points without being dragged off course. It's the natural companion to the Mann-Kendall test for quantifying the detected trend. Enter the X and Y values.
Mood's Median Test
Computes Mood's median test, a non-parametric test that checks whether several groups share the same median. The idea is simple and robust: you compute the grand median of all the data together and count, in each group, how many values fall above it. If the groups had the same median, those counts would be proportional to the sizes; an imbalance produces a large chi-square statistic. It's quite resistant to outliers, working only with counts. Enter the groups separated by semicolons.
Sign Test (Paired)
Computes the sign test, the simplest and most robust paired test of all. It completely ignores the magnitude of the differences between pairs and looks only at the sign: how many times the value went up and how many it went down. Under the hypothesis of no effect, ups and downs should balance out, like heads and tails, and the p-value comes straight from a binomial distribution. Because it uses so little information, it's less powerful than Wilcoxon, but it makes almost no assumptions. Enter the two paired series.
Median and Quartiles
Compute min, Q1, median, Q3 and max with linear interpolation.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.