Walsh Outlier Test
Walsh's test decides whether the r smallest or r largest values of a large sample are outliers without assuming a normal distribution. It compares the gap between the suspected values and their nearest neighbour with the spread of the next block of ordered values; when the gap is too large relative to that spread, the values are declared outliers at the chosen significance level. The rule needs a large sample: more than 60 observations at the 10 percent level and more than 220 at the 5 percent level.
월시 검정은 정규분포를 가정하지 않고 큰 표본에서 가장 작은 값 r개나 가장 큰 값 r개가 이상값인지 판정합니다. 의심되는 값과 가장 가까운 이웃 사이의 간격을 그다음 순서값 묶음의 퍼짐과 비교하여, 간격이 퍼짐에 비해 지나치게 크면 정한 유의수준에서 이상값으로 판정합니다. 표본이 커야 하며 10퍼센트 수준에서는 60개보다 많이, 5퍼센트 수준에서는 220개보다 많이 필요합니다.
Are the most extreme values in my large sample outliers, without assuming the data are normal?
자료가 정규분포라고 가정하지 않고, 큰 표본의 가장 극단적인 값이 이상값인지 판정할 수 있습니까?
The method returns, for each tested tail and for 1 up to r suspected values, the test statistic, the gap-to-spread ratio, the critical constant it is compared with and the outlier decision at the chosen level.
When to use Walsh Outlier Test
- The sample is large and you do not want to assume normality.
- You suspect a fixed number of extreme values at one or both ends.
- You need a simple, distribution-free screening rule.
When to use something else
- The data are roughly normal and you want a p-value: use Grubbs' Outlier Test
- The number of outliers is unknown up to an upper bound: use Generalized ESD Outlier Test
- The data are skewed and you want a boxplot-type rule: use Adjusted Boxplot Outlier Detection (Medcouple)
Assumptions and requirements
- Independent observations from a continuous distribution
- Large sample (n > 60 at alpha 0.10, n > 220 at alpha 0.05)
- Number of suspected outliers fixed in advance
What the analysis reports
- Test statistic per tail
- Gap-to-spread ratio and critical constant
- Outlier decision at the chosen level
How to report it
Walsh's test at alpha = 0.05 (n = [value]) declared the 2 largest values outliers (gap-to-spread ratio [value] against a critical value of [value]).
Related methods
- Grubbs' Outlier Test
- Generalized ESD Outlier Test
- Tietjen-Moore Test for k Outliers
- Adjusted Boxplot Outlier Detection (Medcouple)
How this method is validated
이 방법의 검증 근거
- Published value. A test reproduces published reference values.
출판값. 출판된 참조값 재현 시험 1건 통과.
- Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-12.
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-12).
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Walsh Outlier Test on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Reproduces published reference values
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.