Data Screening Notes: Chapter 3A–3B (3A. Overview to 3B.13)
3A Overview
Valid interpretation of data rests on two features:
The data file accurately represent participants' original responses or archival data.
The data meet underlying assumptions of the analysis procedure.
Data accuracy involves data cleaning; limited actions are available at this stage to detect/correct obvious problems.
Data screening focuses on ensuring normality, linearity, homoscedasticity, and independence of errors for multivariate analyses.
Screening sequence emphasized: missing values → outliers → descriptive statistics/pictorial representations → individual assumptions and corrective measures.
Sections covered in this chapter:
3A.2 Value Cleaning
3A.3 Patterns of Missing Values
3A.4 Overview of Methods of Handling Missing Data
3A.5–3A.7 Imputation and Related Methods (Deletion, Single Imputation, Modern Imputation)
3A.8 Recommendations
3A.9 Outliers
3A.10 Descriptive Statistics in Data Screening
3A.11 Pictorial Representations
3A.12 Multivariate Statistical Assumptions
3A.13 Data Transformations
3A.14 Recommended Readings
3B chapters provide practical SPSS procedures using the Victoria Data Screening dataset (CBMCS, IND/MEIM measures, depression variable).
3A.2 Value Cleaning
Value cleaning definitions:
Values in a data file are transcriptions of original data (hand-entered, spreadsheet import, or archival records).
Most data are numerical; values must be within reasonable bounds (e.g., age not 9 for an adult).
Verification/correction via raw sources should be possible if raw data are retained long-term (data provenance and replication).
Data sources retention: guidelines exist (APA Publication Manual, 2010, sec. 1.08) advocating retention for at least five years after publication.
3A.2.2 Qualitative numerical codes
Qualitative categories coded with arbitrary numbers (e.g., sex: 1=female, 2=male; others may choose 0/1 differently).
Codes should be used consistently within a data file.
For multi-category qualitative variables (e.g., race/ethnicity), use adjacent/sequential codes when possible to avoid interpretive issues in analyses (see Sec. 6A.5.1.3).
Missing responses may be coded as an out-of-range value (e.g., 9) defined as missing or left blank.
3A.2.3 Quantitative numerical scores
Represent values on summative, interval, or ratio scales; not arbitrary.
Examples:
4 on a 5-point scale indicates substantial agreement (interpretation depends on scale labeling).
Time measures (e.g., minutes) on standard scales.
3A.2.4 Multiple Response Coding
Some qualitative variables allow multiple responses (e.g., music types, topics in textbooks).
Approach: each element becomes its own variable; typically coded dichotomously (1 = present, 0 = not present).
Alternative: use more nuanced scales (e.g., 5-point liking, rank ordering).
Data handling options:
Treat each element as a separate variable (tabulate frequencies per variable).
Compute/pattern coding via SPSS Compute to create unique response patterns.
Use Multiple Response procedure to summarize responses across variables and cross-tabulate with other variables.
3A.2.5 The Process of Value Cleaning
Begin with unit of analysis (cases, e.g., respondents, organizations, districts).
For each case, ensure each variable contains legitimate numerical codes/values within expected ranges.
Distinguish between code validity (is the code within allowed range?) and authenticity (is the value correct?).
If a code is invalid (e.g., 2 on a sex variable coded 0/1), options include substitution after verification, or marking as missing/outlier/candidate for deletion.
For quantitative variables with improbable values (e.g., GAF Axis V score in DSM-IV-TR era with range 1–100), verify against other records if possible; decide on substitution, deletion, or treating as outlier.
Substitution consequences: mean substitution reduces variability; regression imputation may overfit; more modern methods preferred when missingness is nonignorable.
3A.2.6 Using Frequency Tables for Data Cleaning
Useful for variables with a small/moderate number of values (e.g., sex, race/ethnicity, marital status).
Example: Highest academic degree with codes 1–5; a code like 6 represents an anomalous value.
Frequency tables help identify out-of-range codes (e.g., 6 with 1–5 coding) and pinpoint cases with errors (e.g., Respondent 16).
Demonstrated advantage: clear, readable aggregation of distributions (Table 3a.1 raw vs Table 3a.2 frequency distribution).
Practical practice: use SPSS to list cases with out-of-range codes when needed.
3A.3 Patterns of Missing Values
Missing data arise for various reasons (refusal, lack of knowledge, fatigue, archival gaps, data entry errors).
Key decision: is missingness random or systematic? This guides handling strategy (deletion, imputation).
3A.3.1 Patterns and Mechanisms of Missing Data
Patterns of missing data denote configurations of missing values; mechanisms describe relationships with other variables.
Six typical patterns (Enders, 2010):
Univariate pattern: missing on a single variable.
Unit nonresponse pattern: missing on some variables in survey data.
Monotone missing data patterns: attrition over time (staircase pattern) common in longitudinal research.
General missing data pattern: missing values scattered but systematic.
Planned missing data pattern: design intentionally allows missingness to reduce respondent burden.
Latent variable patterns: in SEM/ CFA, latent score missing for entire sample.
Three mechanisms of missingness (Graham, 2009):
Missing Completely at Random (MCAR): missingness unrelated to any data, observed or unobserved.
Missing at Random (MAR): missingness related to observed data but not to the missing values themselves.
Not Missing At Random (NMAR): missingness related to unobserved data or the missing value itself.
Ignorable vs nonignorable missingness: MCAR/MAR considered ignorable; NMAR requires modeling missingness for unbiased estimates.
Illustration: MAR example—GAF-Time 2 depends on GAF-Time 1; NMAR example—income data missing more for low-income respondents.
3A.3.2 Statistical Tests of MCAR
Historically used approaches: independent t-tests with missingness indicator as the grouping variable; significant differences imply MAR/NMAR, not MCAR.
Little's MCAR test (chi-square): tests global MCAR assumption; p < .05 suggests NMAR; otherwise MAR or MCAR.
Caution: Little's test is global and may not pinpoint specific variables violating MCAR.
3A.3.3 Looking for Patterns
Example dataset (Table 3a.3) with GAF-T1, GAF-T2, Age, Sessions and their missingness.
Observations: pattern of missingness scattered; 60% had no missing data; about a third lacked GAF-T2 data (post-measure).
Implications: listwise deletion would drop cases with any missing; substantial impact on sample size and external validity; consider imputation for crucial variables.
Practical guidance: assess missing data per measure; high-quality variables with >5% missingness need closer inspection; systematic patterns (e.g., older respondents more likely to have missing GAF-T2) imply NMAR/MAR concerns.
3A.4 Overview of Methods of Handling Missing Data
Traditional methods focus on deleting missing cases or single imputation; modern methods use likelihood-based or multiple imputation approaches.
Recommended readings include Graham (2009), Enders (2010), McKnight et al. (2007), Tabachnick & Fidell (2013b).
Approaches discussed: deletion methods, single imputation, modern imputation (EM, MI, FIML).
3A.5 Deletion Methods of Handling Missing Data
3A.5.1 Deletion Methods: Listwise
Excludes any case with a missing value on any variable in the analysis.
Simple and compatible with multivariate techniques; no extra computations.
Disadvantages:
Loss of cases that may be expensive to obtain.
Reduced sample size inflates standard errors and reduces power; can threaten generalizability.
Enders (2010) cautions that listwise deletion can distort parameters if MCAR is not met; still endorsed when MCAR and strong reason to delete.
3A.5.2 Deletion Methods: Pairwise
Uses all available data for each statistic (e.g., means, SDs, correlations).
Means/NS may be based on different samples; correlations use cases with both variables present; sometimes used in linear regression, factor analysis, SEM when MCAR.
Problems: inconsistent Ns across statistics; standard errors can be biased; not ideal for multivariate procedures.
Recommendation: avoid pairwise deletion for multivariate analyses; prefer more modern methods when missingness is not MCAR.
3A.6 Single Imputation Methods of Handling Missing Data
Imputation replaces a missing value with a plausible value; single imputation uses a single value per missing case.
Drawbacks: introduces bias in means/variances, reduces variance, can distort distributions, underestimates standard errors.
3A.6.1 Single Imputation: Mean Substitution
Replace missing values with the variable mean; simplest form; generally discouraged except when no alternative.
Consequences:
Reduces variability, underestimates standard errors, and biases distributional properties.
Sub-variants include:
Series mean, mean of nearby points, median of nearby points, linear interpolation, linear trend at point.
Justification typically rests on the notion that the mean is the best estimate given available data, but this ignores variability among missing values and can distort analyses.
Subgroup means (e.g., by sex or age) can be used to narrow imputation but at the cost of reduced sample sizes and less variability.
3A.6.2 Single Imputation: Multiple Regression
Use a regression model with other variables to predict the missing value for the target variable.
Pros: more sophisticated; can handle multiple missing values across multiple predictors.
Cons: risk of overfitting when missing values occur on multiple variables; underestimation of standard errors and biased statistics if used improperly.
Key caveat: imputing data then analyzing as if complete leads to biased standard errors and inflated test statistics.
3A.7 Modern Imputation Methods of Handling Missing Data
Modern approaches are preferred for handling missing data: maximize information and adjust uncertainty.
3A.7.1 Single Imputation: EM Imputation
EM (Expectation-Maximization) algorithm is a maximum likelihood method implemented via SPSS Missing Value Analysis.
E-step: estimate missing values via regression analyses.
M-step: update parameter estimates (means, variances, covariances) using these replacements; iterate until convergence.
Advantages: uses full covariance information and can handle arbitrary predictor sets; starts from full covariance matrix.
Caveats: does not automatically provide standard errors during iterations; EM-based imputations may yield biased SEs if treated as complete data; regression imputation differences may occur depending on software implementation.
3A.7.2 FIML Imputation
Full-information maximum likelihood (FIML) handles missing data within model estimation (especially in SEM/Amos).
Estimates parameters and SEs in one step; computationally intensive; commonly used in SEM.
3A.7.3 MI Analysis
Multiple Imputation (MI) creates multiple imputed data sets, analyzes each, and pools results.
Phases: Imputation → Analysis → Pooling.
Rationale: accounts for the uncertainty of missing data by incorporating variability between imputations; restores error variance lost in single imputation methods.
Evidence suggests using 20+ imputations to achieve adequate power and SE accuracy.
SPSS Missing Value Analysis can perform MI with Fully Conditional Specification (FCS) and produce pooled results.
Practical notes:
EM is MAR-based; MI and FIML offer stronger handling under MAR/NMAR depending on circumstances.
NMAR requires specialized modeling or MI approaches with caution.
3A.8 Recommendations for Handling Missing Data
Optimal goal: minimize missing data; otherwise, compare complete-case vs imputed analyses.
Practical steps:
Compare cases with/without missing values using independent-samples t-tests to assess potential biases.
Use imputation and compare results with complete-case analyses; if results converge, imputations likely reflect reality.
For MCAR/MAR with small missingness, listwise deletion can be acceptable; for higher or NMAR, prefer MI/ML approaches.
Consider both traditional mean substitution and regression imputation only for small, proportionate missingness; use consulting statisticians as needed.
Recommend SPSS Missing Value Analysis module for EM/MI; consider FIML in SEM contexts.
3A.9 Outliers
Outliers are extreme/unusual values on a single variable (univariate) or a combination (multivariate).
Why they matter:
They can distort the mean and weight squared differences in least-squares procedures.
They may reveal novel patterns or indicate data quality issues.
3A.9.1 Causes of Outliers
Data entry errors or incorrect coding.
Extraordinary events or unusual circumstances affecting the response.
Unexplainable outliers as candidates for deletion.
Multivariate outliers: unusual patterns across several variables (e.g., age, sex, and arrests).
3A.9.2 Statistical Detection of Univariate Outliers: z Scores
Transform to z-scores; common rule of thumb: |z| > 2.5 flag for potential outlier consideration.
Alternative heuristic: outliers may be few (<1–2%) and possibly left in place if not overly influential.
Other methods: histograms, box plots, normal probability plots (Q-Q plots).
3A.9.3 Graphical Detection: Box Plots
Box plot basics (based on percentiles): median as center line; hinges at Q1 and Q3; IQR = Q3 - Q1.
Inner fences: ±1.5 IQR from quartiles; points beyond inner fences are outliers ('O'); beyond ±3.0 IQR are extreme ('E').
Box plots reveal distribution compactness and potential outliers; used to identify candidate cases for deletion or further investigation.
3A.9.4 Detection of Multivariate Outliers
3A.9.4.1 Scatterplot matrices: examine bivariate relationships; cases lying outside the elliptical swarm may be multivariate outliers.
3A.9.4.2 Mahalanobis Distance: D^2 measures multivariate distance from the group centroid, accounting for correlations among variables.
Formula: where oldsymbol{x} is the case vector, oldsymbol{ar{x}} the multivariate mean, and oldsymbol{S} the covariance matrix.
Compare D^2 to a chi-square distribution to determine outliers; stringent alpha (e.g., p < .001) is often used.
Practical caveats: some critique exists (Wilcox, 2012) about alternatives to Mahalanobis distance.
3A.10 Using Descriptive Statistics in Data Screening
Descriptive statistics summarize distributions and help identify anomalies.
Key measures:
Central tendency: mean, median, mode.
Variability: standard deviation, variance, range, interquartile range (IQR).
Shape: skewness and kurtosis.
Normality considerations:
Skewness describes asymmetry; symmetry implies skew = 0; positive skew means tail toward higher values; negative skew toward lower values.
Kurtosis describes clustering around the center; normal distribution has kurtosis around 0 (mesokurtic).
Normality thresholds:
Some authors use |skewness|, |kurtosis| ≤ 0.5 (conservative) or ≤ 1.0 (liberal).
Tabachnick & Fidell propose evaluating skewness/kurtosis relative to standard errors or evaluating shape visually for large samples due to inflated type I error when relying on tests.
Practical SPSS options: Frequencies, Descriptives, Explore; significance tests often at α = .01 or .001.
3A.11 Using Pictorial Representations in Data Screening
Four primary outputs for distribution information:
Histograms and bar graphs
Stem-and-leaf displays
Box and whiskers plots
Scatterplot matrices
3A.11.1 Histograms and Bar Graphs
Use histograms for quantitative variables with many values; bars for nominal/categorical variables.
Histograms show the frequency distribution with a normal curve overlay often helpful for quick checks.
3A.11.2 Stem-and-Leaf Plots
Display actual data values (unlike histograms); useful for small-to-moderate datasets.
Stem width chosen to reveal distribution shape (e.g., grouping by 5 units per stem).
Helps assess skewness and kurtosis informally; complements box plots.
3A.12 Multivariate Statistical Assumptions Underlying the General Linear Model
Most procedures (ANOVA/MANOVA, multiple regression, discriminant analysis, canonical correlation, PCA, EFA, CFA, path analysis) rely on a set of assumptions: normality, linearity, homoscedasticity, independence of errors.
Violations can bias results; chapter provides an overview rather than repeating each method's assumptions.
3A.12.1 Normality
Univariate normality should generally be evaluated first; multivariate normality requires that:
Linear combinations of variables are normally distributed and pairwise combinations are approximately normal.
SPSS lacks a formal multivariate normality test; recommended approach: thorough univariate normality checks plus bivariate scatterplots.
3A.12.2 Linearity
Many multivariate methods assume linear relationships; Pearson r captures linear relationships only.
Bivariate scatterplots help assess linearity; non-elliptical scatterplots indicate potential nonlinearity.
If nonlinearity detected, data transformation or different modeling approach may be needed.
3A.12.3 Homoscedasticity
Equality of variances across levels of independent variables (or across groups in ANOVA).
Tests: F max, Levene's test; Box's M for equality of covariance matrices in MANOVA/GLM contexts.
Violations may be addressed with data transformations; large sample sizes often robust to some violations.
3A.12.4 Independence of Errors
Residuals should be independent across cases; violations include grouping effects, contamination across groups, time-based autocorrelation, and repeated measures.
Diagnostics involve residual plots, Durbin-Watson statistic, and intraclass correlation (ICC) in mixed models.
3A.13 Data Transformations
Transformations modify variables to address normality, linearity, or homoscedasticity violations or outlier patterns.
Box–Cox and Mosteller–Tukey frameworks underpin transformation rationale.
In SPSS, transformations can be applied via Compute; common transformations include:
Square root
Logarithm (base 10 or natural)
Inverse (1/x)
Square, reflect, and combinations (e.g., reflect & log; root & inverse, etc.)
Transformation considerations:
Improves statistical properties but can complicate interpretation of means/percentages on transformed scales.
A recommended strategy is to report original scale statistics (min, max, means, SDs) to preserve interpretability.
Transformation sequence (practical): square root (moderate violations) → logarithm (more severe) → inverse square root (severe) for proportional data; arc sine for proportions; squaring a nonlinear relationship may reduce nonlinearity.
3A.13.1 Table 3a.4: examples of common transformations (illustrative values)
Demonstrates how a single raw score changes under different transformations (e.g., 50 → sqrt = 7.07, log = 3.91, inverse = 0.02, etc.).
3A.14 Recommended Readings
Key references for missing data and outliers include Allison (2002), Enders (2010), Graham (2009), and Tukey (1977).
Foundational works: Box & Cox (1964); Meyers et al. (2009).
3B Data Screening Using IBM SPSS
Chapter 3B translates 3A concepts into SPSS workflows using the Victoria Data Screening dataset (child mental health practitioners; CBMCS scales; depression variable).
3B.1 The Look of IBM SPSS
Screenshots illustrate consistency across SPSS versions; outcomes shown from Victoria dataset (five modified variables: INDCOLI, INDCOLC, MEIMEIC, MEIMEIE, depression).
Variables include gender, INDCOLI/INDCOLC (Individualism/Collectivism), MEIMEIC/MEIMEIE (Ethnic Identity Commitment/Exploration), and depression (0–45 scale).
3B.2 Data Cleaning: All Variables
Descriptive statistics via Analyze → Descriptive Statistics → Frequencies showing frequency tables for quantitative variables; display of missing values (Missing System).
Statistics options (Mean, Median, Mode, Std. deviation, Skewness, Kurtosis, Min, Max) are used for diagnostic decisions.
Graphical options include Histograms with normal curve overlay, to assess normality visually.
3B.3 Screening Quantitative Variables
After plausibility checks, screen missing values, normality, and univariate outliers using:
Frequencies, Descriptives, Explore, Missing Value Analysis
Pairwise linearity via Graphs → Plot
Multivariate outliers via Regression procedure (to obtain Mahalanobis distance, MAH_1)
The Victoria dataset example demonstrates using these outputs to decide whether variables are clean and suitable for multivariate analyses.
3B.4 Missing Values: Overview
The descriptive stats output shows 10–12 missing values per continuous variable; 11 missing for gender.
With <5% missing cases, listwise deletion is typical, but MI/EM approaches are demonstrated for demonstration purposes.
The Missing Value Analysis module provides tools for descriptive and inferential patterns and four single imputations (Listwise, Pairwise, EM, Regression) and a MI procedure for NMAR patterns.
3B.5 Missing Value Analysis
Main dialog: select quantitative variables (INDCOLI, INDCOLC, MEIMEIC, MEIMEIE, depression) and categorical variable gender.
Estimation options include Listwise, Pairwise, EM, Regression; special options to save imputed data are available.
Descriptives: univariate statistics with indicator variable statistics; t-tests with groups formed by indicator variables; cross-tabulations with indicator variables; adjust omit threshold for missingness (e.g., less than 1% of cases).
Patterns: analyze missing value patterns across variables; view complete vs incomplete cases; examine means at each pattern to assess randomness.
3B.6 Multiple Imputation
MI provides Pattern Analysis, Automatic MI, and pooling of results.
3B.6.1 Pattern Analysis highlights missing-value patterns and information about missingness across variables.
3B.6.2 Automatic MI demonstrates Fully Conditional Specification (FCS) with five imputations by default (recommended to use up to 20 imputations in practice).
3B.6.3 Structure of the MI Data Set: the original data plus multiple imputed datasets; an Imputation variable marks the dataset index (0 = original, 1..M = imputations).
3B.6.4 Splitting the MI Data Set: use Split File or Mark Imputed Data to ensure analyses are performed per imputation and pooled appropriately.
3B.6.5 Conducting a Statistical Analysis With MI: analyses can be performed on the marked MI dataset; MI pooling supports Naive and Univariate pooling for certain procedures.
3B.7 Mean Substitution as a Single Imputation Approach
For users without Missing Value Analysis, mean substitution can be performed via Transform → Replace Missing Values (Series mean, Mean of nearby points, etc.).
Drawbacks: similar to 3A.6.1; reduces variance and inflates the risk of biased inferences; not generally recommended.
3B.8 Univariate Outliers
In Explore, use Outliers option to identify top/bottom five extreme values per variable.
Look at Extreme Values table and box plots to determine potential deletions; consider case-level investigation before deleting.
3B.9 Normality
Use Explore (Normality plots with tests) and Shapiro–Wilk/Kolmogorov–Smirnov tests to assess univariate normality.
Depression example shows severe nonnormality (skewness and kurtosis high) but after logarithmic transformation (log10), the distribution improves; however, normality tests may still indicate significant departures due to sensitivity with large samples.
Normality checks should be complemented by visual inspection (histograms, Q-Q plots).
3B.10 Linearity
Assess via scatterplot matrices; elliptical patterns indicate linear relationships; non-elliptical shapes indicate nonlinear relationships.
Regression residual plots can also diagnose nonlinearity; transformations can remedy.
3B.11 Multivariate Outliers
Mahalanobis distance used to detect multivariate outliers; in SPSS, the Mahalanobis distance is saved as a variable (e.g., MAH_1).
Distances are evaluated against a chi-square distribution with df equal to number of predictors; outliers typically flagged at p < .001.
In the Victoria example, Case 164 is identified as a multivariate outlier (MAH_1 > 20.515).
3B.12 Screening Within Levels of Categorical Variables
When comparing means across groups (e.g., gender), screen within groups (e.g., INDCOLI by gender) for normality and equal variances.
Levene’s test assesses homogeneity of variances across groups; significant results indicate unequal variances.
Box's test assesses equality of covariance matrices across groups; significant results indicate heterogeneity of covariance structures across levels of the categorical variable.
In the Victoria data, Box’s M test indicated heterogeneity of covariance matrices (Box's M = 15.467, p = .002).
3B.13 Reporting the Data Screening Results
Data screening steps and outcomes should be clearly reported:
Variables screened, missingness rates, and patterns observed.
Outliers identified and treatment decisions (deletion or adjustment).
Normality, linearity, homoscedasticity, and independence assessments and any transformations performed (e.g., log10 transformation for depression).
Multivariate outliers (e.g., MAH_1 results) and actions taken.
Imputation methods used (EM, MI with number of imputations, and any mean substitution) and whether analyses were run on imputed data or complete cases.
Sensitivity checks comparing analyses with complete data vs imputed data.
Formulas and key concepts (quick reference)
Multivariate outlier distance (Mahalanobis distance):
Compare D^2 to a chi-square distribution to determine outliers; df equals number of predictors.
Univariate outlier threshold (z-scores):
Common rule: |z| > 2.5 flagged for review; some use ±2.0 or ±3.0 depending on context.
Box plots and IQR-based outlier rules:
Inner fences at Q1 ± 1.5 IQR; extreme values beyond ±3.0 IQR.
IQR (Interquartile Range): IQR = Q3 - Q1; useful for robust spread measures.
Data transformation progression (for normality/linearity concerns):
Square root → Logarithm → Inverse sqrt (for increasingly severe violations).
Missing data mechanisms (short form): MCAR, MAR, NMAR
MCAR: data missing completely at random; independent of observed/unobserved data.
MAR: missingness related to observed data, not to the missing values themselves.
NMAR: missingness related to the missing data itself or unobserved data.
Missing data handling approaches (high level):
Deletion: Listwise, Pairwise
Single imputation: Mean substitution, Regression imputation
Modern imputation: EM, FIML, Multiple Imputation (MI) with pattern analysis and pooling
// End of notes