Distribution and Outliers

22
Distribution and Outliers

description

Distribution and Outliers. Screening. (Significant Effects). Hadlum vs Hadlum. A univariate example that illustrates deviation from a normal pattern. Normal duration. Percentage (n=13634). Duration of Pregnancy. Bannet (1978) Appl. Statist. 27 , 242-250. - PowerPoint PPT Presentation

Transcript of Distribution and Outliers

Page 1: Distribution and Outliers

Distribution and Outliers

Page 2: Distribution and Outliers

Screening

(Significant Effects)

Page 3: Distribution and Outliers

Hadlum vs Hadlum

A univariate example that illustrates deviation from a normal pattern.

Page 4: Distribution and Outliers

Duration of Pregnancy

Bannet (1978) Appl. Statist. 27, 242-250

Normal duration

Per

cent

age

(n=

1363

4)

Page 5: Distribution and Outliers

Normal duration

Per

cent

age

(n=

1363

4)

Hadlum Jr.

Comparison of Hadlum Jr. to normal pattern

Page 6: Distribution and Outliers

Model validation

Deviation = observed value - predicted valueresidual Modelmeasurement

y y

Page 7: Distribution and Outliers

Normally distributed population

2

2

2

)(1)(

y

econstyp

iy

i dyypyP )()(

P(yi)

Page 8: Distribution and Outliers

Normal Population - Cumulative plots

Traditional Graphical paper

Normal distribution paper

)(100)(% ii yPyP

Page 9: Distribution and Outliers

Normal plot1) Sort the observations in increasing order

2) Let each observation present a percent interval that equals

of the normal distribution

nsobservatioofNumber

100

If the observations are normally distributed, they plot like a straight line in the normal plot!

Deviation from straight line implies outlying observations or non-normal distribution

Page 10: Distribution and Outliers

Scull capacity of the Maoris

Page 11: Distribution and Outliers

Sculls from a cemetery

1230 1380 1364 1630 14101348 1260 1420 13601540 1380 1445 15451318 1470 1410 1378

Karl Pearson (1931) Tables for Statisticans and Biometricans, Biometric Lab., London

maximum

Page 12: Distribution and Outliers

Is the largest scull from a Maori?

Hypothesis:

The Maoris have less scull capacity

than the whites - the largest scull is a contaminant

shipwrecked sailor or missionary?

Page 13: Distribution and Outliers

Probability plot

Scull Capacity

Page 14: Distribution and Outliers

What to do with the damned point destroying the curve?

Page 15: Distribution and Outliers

The easy way: Erase it!

Page 16: Distribution and Outliers

Example

P. Garrigues

R. De Sury

M. L. Angelin

J. Bellocq

J. L. Oudin

M. Ewald

Geochemica et Cosmochimica Acta, 52, (1988) 375-384

Page 17: Distribution and Outliers

Data

S a m p l e N o . P r e d i c t o r R e s p o n s e( D e p t h ) )(

P

MP

2 1 2 9 0 0 . 9 23 1 5 9 0 1 . 1 64 1 7 7 0 1 . 3 05 1 9 2 0 2 . 0 96 2 2 5 0 1 . 8 07 2 4 8 0 1 . 9 48 2 6 7 0 1 . 5 09 2 8 0 5 2 . 3 8

1 0 3 0 1 5 2 . 6 11 1 3 1 8 0 2 . 5 7

r 2 = 0 . 9 8

?

?

Page 18: Distribution and Outliers

Robust regression?

Two outliers

Useful tool to avoid thinking?

Sloppy data analyst can find relief in robust regression

Page 19: Distribution and Outliers

Result of “pooled” regression

r=0.995

Page 20: Distribution and Outliers

Observation

r=0.865 Two phenomena influencing the ratio (predictor)

)(P

MP

No prediction possible!

Page 21: Distribution and Outliers

Parallel displacement - perfect result for the one who wants to be

“straight-lined”

Page 22: Distribution and Outliers

Let the computer restore harmony and beauty