Lecture09 (Assessing Normality)
Lecture09 (Assessing Normality)
Sources of Information:
Formal Tests
Kolmogorov-Smirnov test
Shapiro-Wilk test
Tests of Skewness & Kurtosis
G-test
Chi-square test
[G-test and Chi-Square test are in Sokal & Rohlf Section 17.2]
Frequency Histograms
Count 40
Mean 11.48
Median 11.6
MidRange 11.75
StdDev 0.69
Min 10.2
Max 13.3
Range 3.1
•These data are approximately Normally distributed. But, our visual
detection depends on the number and width ofbars.
•So, in general, histograms should not be used to examinethe
hypothesis of Normality for adataset
Quantile Plots and Normal ProbabilityPlots
A quantile plot provides an excellent and reliable alternative to
histograms.
e.g., the 0.25 quantile contains the smallest 25% ofthe data points
(= quartile, or Q1 in aboxplot),
=NEDs
Sokal &Rohlf Fig. 6.6
You can
compare these
normal quantile
plots with the
Q-Q plots from
SPSS
(P-P plots in
Expected normal
SPSSare the
inverse)
Observed value
An Example of SkewedData
Perhaps the best way, but only get Q-Q plots (andwith
tests of normality):
Analyze Descriptive statistics Explore
• In the ‘Plots’ options, Select ‘Normality plots with tests’
2.Shapiro-Wilk Test: Tests the hypothesis that the sample is from a normal
population. The Shapiro-Wilk statistic is calculated for samples with 50 or
fewer observations.
Formal Tests – Skewness and Kurtosis
We learned before that distributions can deviate fromNormality due
to Skewness and Kurtosis. Thus, statistics that measure these
departures can be useful.
In SPSS, you get these values together with the Descriptive Statistics.
If they are not included with the defaults, you must select them:
Statistic St d. Error
Sulf ate conc (mg/l) Mean 30.05 3.67
95% Confidence Lower Bound 22.64
Interv al f orMean Upper Bound
37.46
Tests of Normality
Normal distribution
Statistic St d. Error
Orbit width (m) Mean 11.480 .109
95% Confidence Lower Bound 11.259
Interv al for Mean Upper Bound
11.701
Tests of Normality
when n >150
d.f. =
The Hypothesis Test
= 0.1893 = 7.52
0.02517
Step 3: Set alpha (say 0.05)