13.07.2015 Views

Sweating the Small Stuff: Does data cleaning and testing ... - Frontiers

Sweating the Small Stuff: Does data cleaning and testing ... - Frontiers

Sweating the Small Stuff: Does data cleaning and testing ... - Frontiers

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

FinchModern methods for <strong>the</strong> detection of multivariate outliersFIGURE 4 | Boxplots.<strong>data</strong>sets created by <strong>the</strong> various outlier detection methods, as wellas <strong>the</strong> full <strong>data</strong>set. The strategy in this study was to remove allobservations that were identified as outliers by each method, thuscreating <strong>data</strong>sets for each approach that included only those notdeemed to be outliers. It is important to note that this is not typicallyrecommended practice, nor is it being suggested here. Ra<strong>the</strong>r,<strong>the</strong> purpose of this study was to demonstrate <strong>the</strong> impact of eachmethod on <strong>the</strong> <strong>data</strong> itself. Therefore, ra<strong>the</strong>r than take <strong>the</strong> approachof examining each outlier carefully to ascertain whe<strong>the</strong>r it was trulypart of <strong>the</strong> target population,<strong>the</strong> strategy was to remove those casesidentified as outliers prior to conducting statistical analyses. In thisway, it was hoped that <strong>the</strong> reader could clearly see <strong>the</strong> way in whicheach detection method worked <strong>and</strong> how this might impact resultinganalyses. In terms of <strong>the</strong> actual <strong>data</strong> analysis, <strong>the</strong> focus was ondescribing <strong>the</strong> resulting <strong>data</strong>sets. Therefore, distributional characteristicsof each variable within each method were calculated,including <strong>the</strong> mean, median, st<strong>and</strong>ard deviation, skewness, kurtosis,<strong>and</strong> first <strong>and</strong> third quartiles. In addition, distributions of<strong>the</strong> variables were examined using <strong>the</strong> boxplot. Finally, in orderto demonstrate <strong>the</strong> impact of <strong>the</strong>se approaches on relational measures,Pearson’s correlation coefficient was estimated between eachpair of variables. All statistical analyses including identificationof outliers was carried out using <strong>the</strong> R software package, version2.12.1 (R Foundation for Statistical Computing, 2010). The R codeused to conduct <strong>the</strong>se analyses appears in <strong>the</strong> Appendix at <strong>the</strong> endof <strong>the</strong> manuscript.RESULTSAn initial examination of <strong>the</strong> full <strong>data</strong>set using boxplots appearsin Figure 4. It is clear that in particular <strong>the</strong> variable TIME-DRS is positively skewed with a number of fairly large values,even while <strong>the</strong> median is well under 10. Descriptive statistics for<strong>the</strong> full <strong>data</strong>set (Table 2) show that indeed, all of <strong>the</strong> variablesare fairly kurtotic, particularly TIMEDRS, which also displays astrong positive skew. Finally, <strong>the</strong> correlations among <strong>the</strong> threevariables for <strong>the</strong> full <strong>data</strong>set appear in Table 3. All of <strong>the</strong>sewww.frontiersin.org July 2012 | Volume 3 | Article 211 | 65

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

Saved successfully!

Ooh no, something went wrong!