06.09.2021 Views

Learning Statistics with R - A tutorial for psychology students and other beginners, 2018a

Learning Statistics with R - A tutorial for psychology students and other beginners, 2018a

Learning Statistics with R - A tutorial for psychology students and other beginners, 2018a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Skewed Data<br />

Normal Q−Q Plot<br />

Frequency<br />

0 10 20 30 40 50 60<br />

Sample Quantiles<br />

0.0 0.5 1.0 1.5 2.0<br />

0.0 0.5 1.0 1.5 2.0 2.5<br />

−2 −1 0 1 2<br />

Value<br />

Theoretical Quantiles<br />

(a)<br />

(b)<br />

Heavy−Tailed Data<br />

Normal Q−Q Plot<br />

Frequency<br />

0 10 20 30 40<br />

Sample Quantiles<br />

−6 −4 −2 0 2 4 6<br />

−6 −4 −2 0 2 4 6 8<br />

−2 −1 0 1 2<br />

Value<br />

Theoretical Quantiles<br />

(c)<br />

(d)<br />

Figure 13.12: In the top row, a histogram (panel a) <strong>and</strong> normal QQ plot (panel b) of the 100 observations<br />

in a skewed.data set. The skewness of the data here is 1.94, <strong>and</strong> is reflected in a QQ plot that curves<br />

upwards. As a consequence, the Shapiro-Wilk statistic is W “ .80, reflecting a significant departure from<br />

normality (p ă .001). The bottom row shows the same plots <strong>for</strong> a heavy tailed data set, again consisting<br />

of 100 observations. In this case, the heavy tails in the data produce a high kurtosis (2.80), <strong>and</strong> cause<br />

the QQ plot to flatten in the middle, <strong>and</strong> curve away sharply on either side. The resulting Shapiro-Wilk<br />

statistic is W “ .93, again reflecting significant non-normality (p ă .001).<br />

.......................................................................................................<br />

- 418 -

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!