Docsity

Outlier Detection, Schemes and Mind Maps of Applied Statistics

Partial preview of the text

Download Outlier Detection and more Schemes and Mind Maps Applied Statistics in PDF only on Docsity!

Outlier Detection

Outlier detection is both easy and difficult.

  • It is easy since there are several relatively straightforward tests for the presence of outliers.
  • It is difficult since there are no firm rules as to when outlier removal is appropriate. Outliers may be due to:
  • Chance.
  • Measurement error.
  • Experimental error.

The outlier(s) may fall in a region of population overlap. This type of outlier must be removed from the data set.

Is this observation (57.00) an outlier?

Male Standing-Sitting Height Ratio (Cormic Index) Stem-and-Leaf Plot Frequency Stem & Leaf 1.00 Extremes (=<48.9) 3.00 49. 446 12.00 50. 012334557788 25.00 51. 0122233344455566678888899 31.00 52. 0111222233333334455555677789999 11.00 53. 00111345789 7.00 54. 0012378 2.00 55. 02 1.00 Extremes (>=57.0) Stem width: 1. Each leaf: 1 case(s) The observation 57.0 is considered to be an extreme value in the stem and leaf plot.

When examining potential outliers, the detrended normal Q-Q plot is useful.

  • Observations are transformed to z-scores and plotted as standard deviations from the mean. This observation is nearly 1.5 standard deviations from the mean.

s x x or G s x x G min min max max     Grubbs Outlier Test where G max is used if the observation is greater than the mean and G min is used if it is less than the mean, and where x max or x min is the extreme observation value.

From the G table at n=93 and α=0.05 the critical value is 3.18. Since 3.49 > 3.18, reject H o

The observation is from a different population (G

, p < 0.025).

max

G

s

x

n

Ho: The observation is not different than the sample population. Ha: The observation is different than the sample population.

Dixon Outlier (Q) Test Where xn is the suspected outlier, xn- 1 is the next ranked observation, and x 1 is the last ranked observation. Note that the data have to be ranked, with the suspected outlier as the first observation. 1 1

x x

x x

Q

n n n

In SPSS Analyze > Descriptive Statistics > Explore, then choose the Statistics button and Outliers. This gives the upper and lower extremes AND the next several observations, very useful when using the Dixon test. Extreme Values Case Number Value Male Standing-Sitting Height Ratio (Cormic Index) Highest 1 1 57. 2 2 55. 3 3 55. 4 4 54. 5 5 54. Lowest 1 93 48. 2 92 49. 3 91 49. 4 90 49. 5 89 50.

Characteristics of the Dixon and Grubbs Tests Dixon Q:

  • Is the ratio of the ‘outlier gap’ to the data range.
  • Similar to the w/s (range) normality test. Grubbs G:
  • Is essentially a z score that references a modified t table.
  • Very similar to a one-sample t test.

The same data used the generate the previous graph, displayed as a detrended Q-Q plot. 1 2 3 4 5 6

Final notes: Outlier tests are an iterative process.

  1. Check most extreme value for being an outlier.
  2. If it is, remove it.
  3. Check for the next extreme value using the new, smaller sample.
    • It is smaller because the first outlier was removed.
  4. Repeat the process. Once all outlier are removed the sample can be analyzed.