Nonparametric, resampling and robust methods
Problems
- Bandwidth selection
Choose the bandwidth of a kernel estimator, by a rule of thumb, by cross-validation or by plug-in estimates of the integrated squared error.
1 languagescore
Algorithms
- Sign test
Tests a median, or paired differences, by the number of positive signs, which is Binomial(n, 1/2) under the null once zeros are dropped. Exact for every n and needs almost no assumptions.
1 languagesintro - Trimmed mean
The mean of the sample after removing a fixed fraction of the smallest and of the largest values. Its breakdown point tends to that fraction as the sample grows.
1 languagesintro - Anderson-Darling test
A goodness-of-fit test by a weighted squared distance between the empirical and the model CDF, with weights that stress the tails.
1 languagescore - Bootstrap percentile interval
A confidence interval whose endpoints are the alpha/2 and 1 - alpha/2 quantiles of the bootstrap replicates of the statistic. Simple and transformation respecting, but only first-order accurate.
1 languagescore - Friedman test
A rank test for k treatments in a randomized block design. It ranks within each block and compares the treatment rank sums.
1 languagescore - Huber M-estimator
Huber's M-estimator with a loss that is quadratic near zero and linear beyond a threshold. It is minimax for the variance under the contamination model.
1 languagescore - Jackknife
Recompute a statistic with each observation left out in turn, and combine the n values to estimate its bias and variance. It fails for nonsmooth statistics like the median.
1 languagescore - Kernel density estimation
Estimates a density by averaging a kernel, such as a Gaussian bump, centred at each data point. The bandwidth trades bias against variance.
1 languagescore - Kolmogorov-Smirnov test
Tests whether a sample comes from a given distribution, or two samples from the same one, by the largest distance between distribution functions.
1 languagescore - Kruskal-Wallis test
Extends the Mann-Whitney test to k groups by comparing the mean ranks of the groups in the pooled sample. The statistic is roughly chi-squared with k - 1 degrees of freedom.
1 languagescore - Local polynomial regression
Fits a low-degree polynomial by weighted least squares around each point. It removes the boundary bias of kernel regression; LOWESS adds robust reweighting.
1 languagescore - Mann-Whitney U test
Compares two independent samples by the number of pairs in which the first sample's value exceeds the second's, equivalently the rank sum of one sample.
1 languagescore - Nadaraya-Watson estimator
Estimates a regression function at x by a weighted average of the responses, with kernel weights that fall with the distance of each x_i from x.
1 languagescore - Permutation test
Get the null distribution of a statistic by recomputing it over permutations of the labels, which are exchangeable under the null. The test is exact at any sample size.
1 languagescore - Theil-Sen estimator
Estimates the slope of a line by the median of the slopes through all pairs of points. It breaks down at about 29 percent and can be computed in O(n log n) time.
1 languagescore - Tukey's biweight
A redescending M-estimator whose psi function goes to zero beyond a threshold, so gross outliers get no weight. Fitted by iteratively reweighted least squares.
1 languagescore - Wilcoxon signed-rank test
Tests whether paired differences are symmetric about zero by the sum of the ranks of their absolute values that belong to positive differences.
1 languagescore - BCa bootstrap interval
Efron's bootstrap interval that shifts the percentiles by a bias correction and an acceleration from the jackknife. It is second-order accurate.
1 languagesadvanced - Block bootstrap
Resamples blocks of consecutive observations of a time series to keep their dependence. The stationary bootstrap of Politis and Romano uses blocks of random length.
1 languagesadvanced - Bootstrap-t interval
Bootstraps the studentized statistic, estimate minus original over its standard error, and inverts its quantiles. It is second-order accurate when the standard error is stable.
1 languagesadvanced - Hodges-Lehmann estimator
Estimates a location as the median of all pairwise averages, or a shift as the median of all pairwise differences. It inverts the Wilcoxon test and breaks down at 29 percent.
1 languagesadvanced - Least median of squares
Rousseeuw's regression that minimizes the median of the squared residuals. It has breakdown point near 1/2 but converges slowly, at rate n^(-1/3).
1 languagesadvanced - Least trimmed squares
Regression that minimizes the sum of the h smallest squared residuals. FAST-LTS finds it by random starts and concentration steps that never increase the objective.
1 languagesadvanced - MM-estimator
Yohai's regression estimator that starts from a high-breakdown S-estimate of scale and then solves an efficient M-estimation step. It has both high breakdown and high efficiency.
1 languagesadvanced - Minimum covariance determinant
Estimates location and scatter from the h points whose covariance matrix has the least determinant. FAST-MCD uses concentration steps; the result flags multivariate outliers.
1 languagesadvanced - Repeated median regression
Siegel's slope estimate: for each point take the median of its slopes to the others, then the median of those. It is the first regression estimator with breakdown point 1/2.
1 languagesadvanced - Filter algorithm for robust mean estimation
Estimates a high-dimensional mean under epsilon contamination by repeatedly removing points far along the top eigenvector of the covariance. Its error does not grow with the dimension.
1 languagesresearch - Split conformal prediction
Fit the model on one part of the data, compute residual scores on the other, and widen predictions by their quantile. It gives finite-sample marginal coverage cheaply.
1 languagesresearch - Tukey median
The point of maximal halfspace depth, a multivariate median with breakdown point at least 1/(d + 1). In the plane it can be computed in O(n log n) expected time.
1 languagesresearch
Techniques
- Bootstrap
Estimate the sampling distribution of a statistic by recomputing it on many samples drawn with replacement from the data. It gives standard errors, bias and intervals.
1 languagesintro - Parametric bootstrap
Fit a parametric model, simulate new data sets from the fitted model, and recompute the statistic on each. Accurate when the model is right, and misleading when it is wrong.
1 languagescore - Conformal prediction
Turns any predictor into prediction sets with coverage at least 1 - alpha, assuming only exchangeable data, by ranking a nonconformity score of a new point among those of the data.
1 languagesadvanced - Subsampling
Approximate the sampling distribution from statistics on subsamples of size m much smaller than n. It is consistent in cases where the bootstrap fails.
1 languagesadvanced
Definitions
- Empirical distribution function
The step function that gives, at each x, the fraction of the sample at most x. It is the nonparametric MLE of the distribution function.
intro - Median absolute deviation
The median of the absolute deviations from the median. Scaled by 1.4826 it estimates the normal standard deviation with breakdown point 1/2.
intro - Spearman's rank correlation coefficient
The Pearson correlation of the ranks of two variables. It measures monotone association and is the basis of a rank test of independence.
intro - Breakdown point
The smallest fraction of the data that, when replaced by arbitrary values, can carry an estimator to infinity. The mean has 0, the median 1/2.
core - Influence function
Hampel's measure of the effect of an infinitesimal contamination at a point on an estimator. Bounded influence means robustness to single outliers.
core - Halfspace depth
The depth of a point is the least number of data points in a closed halfspace that contains it. It orders multivariate data from the centre outward.
advanced - U-statistic
The average of a symmetric kernel over all subsets of size r of the sample. It is unbiased, has minimum variance in large nonparametric families, and is asymptotically normal.
advanced
Theorems
- Glivenko-Cantelli theorem
The empirical distribution function converges to the true distribution function uniformly in x, almost surely, as the sample size grows.
core - Dvoretzky-Kiefer-Wolfowitz inequality
The probability that the empirical CDF is more than epsilon from the true CDF anywhere is at most 2 exp(-2 n epsilon^2), with Massart's tight constant. It gives a confidence band.
advanced
Models
- Huber contamination model
The data come from (1 - epsilon) F + epsilon G, where F is the model and G is an arbitrary distribution of outliers. Robust estimators are judged on it.
core