PS1007 #7 Mann-Whitney U Test: Principles, Assumptions, Mechanics, and SPSS Implementation

Statistical Foundations and Curricular Framework

  • Curricular Progression in Inferential Statistics:

    • Exploratory and descriptive foundations focus on summarizing data distributions using parameters and sample metrics such as the mean (μ\mu, MM), standard deviation (σ\sigma, SDSD), skewness, and kurtosis.

    • Inferential frameworks introduce formal hypothesis testing, distinguishing between the null hypothesis (H0H_0) and the alternative hypothesis (H1H_1), evaluating sampling error, and calculating probability values (pp-values) to inform inferential decisions.

    • Parametric procedures for mean comparisons include:

    • Paired-samples tt-tests: Applied in within-subjects (repeated-measures) experimental designs where the same participants are evaluated across two experimental conditions.

    • Independent-samples tt-tests: Applied in between-subjects (independent groups) designs where two distinct, non-overlapping cohorts of participants are compared.

    • Non-parametric procedures provide robust alternatives when foundational distribution-related assumptions are violated:

    • Mann-Whitney UU test: The non-parametric counterpart to the independent-samples tt-test, utilized for between-subjects designs involving two independent groups when normality is violated or when analyzing ordinal data.

    • Wilcoxon signed-rank test: The non-parametric counterpart to the paired-samples tt-test, utilized for within-subjects designs across two conditions when difference scores violate distributional assumptions.

    • Effect size indices quantify substantive magnitude independently of sample size, spanning metric effect sizes such as Cohen's dd for parametric comparisons and non-parametric equivalents including the rank-biserial correlation (rr).

  • Practical Software Architecture:

    • Computational execution of inferential tests is conducted using IBM SPSS Statistics, accessible via university network provisions (such as AppsAnywhere) or local client installations.

Experimental Design and Variable Classification

  • Variable Types in Empirical Research:

    • Independent Variable (IV): The factor systematically manipulated, controlled, or compared across distinct conditions or categorical groupings.

    • Dependent Variable (DV): The outcome variable measured by the researcher to determine whether the manipulation or group categorization exerts an effect.

  • Methodological Designs:

    • Between-Subjects (Independent Groups) Design:

    • Each participant is exposed to exactly one level of the independent variable (Condition A or Condition B).

    • Compares completely separate groups of individuals.

    • Parametric analysis: Independent-samples tt-test.

    • Non-parametric analysis: Mann-Whitney UU test.

    • Within-Subjects (Repeated Measures) Design:

    • Every participant completes all experimental conditions (Condition A and Condition B).

    • Compares matched scores across identical participants over time or across tasks.

    • Parametric analysis: Paired-samples tt-test.

    • Non-parametric analysis: Wilcoxon signed-rank test.

  • Levels of Measurement for the Dependent Variable:

    • Nominal Scale:

    • Qualitative categories characterized exclusively by identity and mutual exclusivity, lacking numerical value, order, or equal distance.

    • Examples: Gender classifications, political party affiliations, favourite colours, undergraduate degree courses.

    • Ordinal Scale:

    • Ordered categories characterized by rank sequence, where relative positions are known but the numerical distance between successive ranks is unequal or unknown.

    • Examples: Finishing positions in an athletic race (1st1\text{st}, 2nd2\text{nd}, 3rd3\text{rd}), degree classifications (First, 2:12:1, 2:22:2), Likert attitude ratings.

    • Interval Scale:

    • Quantitative measurement characterized by sequential order and known, equal intervals between units, but lacking an absolute, non-arbitrary true zero point.

    • Ratios between values are invalid because zero does not signify the absolute absence of the measured construct.

    • Example: Temperature measured in degrees Celsius (∘C^\circ\text{C}), where the difference between 10 ∘C10\,^\circ\text{C} and 20 ∘C20\,^\circ\text{C} equals the difference between 20 ∘C20\,^\circ\text{C} and 30 ∘C30\,^\circ\text{C}, yet 20 ∘C20\,^\circ\text{C} cannot be described as twice as warm as 10 ∘C10\,^\circ\text{C}.

    • Ratio Scale:

    • Quantitative continuous measurement featuring equal intervals between scale points and an absolute, physically meaningful zero point denoting total absence of the variable.

    • Mathematical operations and multiplicative comparisons are fully permissible.

    • Examples: Reaction time in milliseconds (ms\text{ms}), sleep latency duration in minutes, total count of words correctly recalled.

    • Continuous Data Classification: For parametric inferential procedures (tt-tests), the dependent variable must be continuous (comprising interval or ratio metrics).

Assumptions of Parametric Tests and Diagnostic Procedures

  • The Four Primary Ingredients for Parametric Tests:

    • Independence of Observations:

    • Every individual data point must be collected independently such that no participant's responses influence or depend upon another participant's responses.

    • Violation example: If participants (such as Alex and Laura) confer while completing an exam stress test, their responses become correlated, compromising the validity of standard standard-error calculations.

    • Continuous Scale of Measurement:

    • The dependent variable must be recorded on an interval or ratio scale.

    • Normality of Distribution:

    • The population distribution from which sample scores originate must conform to a Gaussian bell-shaped curve.

    • For an independent-samples tt-test, normality must hold within each individual group.

    • For a paired-samples tt-test, the difference scores between conditions must be normally distributed.

    • Homogeneity of Variance:

    • The variance (dispersion) across the comparison populations must be approximately equal.

    • Evaluated formally via Levene's Test for Equality of Variances:

      • If Levene's test is non-significant (p>.05p > .05): Equal variances are assumed; read the top row of the SPSS output table.

      • If Levene's test is statistically significant (p≤.05p \le .05): The assumption of equal variances is violated, indicating that one group is substantially more dispersed than the other; read the bottom row of the SPSS output table (Equal variances not assumed / Welch-Satterthwaite correction).

    • Note: Homogeneity of variance applies strictly to independent-samples designs and is not applicable to paired-samples designs.

Recipe Card showing the assumptions required for independent and paired sample t-tests
  • Comprehensive Diagnostics for Normality:

    • Visual Graphical Diagnostics:

    • Histograms: A normal distribution demonstrates unimodal symmetry with minimal skewness and mesokurtic peak structure, conforming closely to the superimposed theoretical bell curve.

    • Quantile-Quantile (Q-Q) Plots: Observed score quantiles are plotted against expected normal quantiles. Normal data hug the diagonal reference line closely; systematic departures, sigmoidal S-shapes, or severe arching indicate skewness or heavy tails.

    • Box-and-Whisker Plots: Symmetrical positioning of the median horizontal bar within the interquartile range (IQR) box, symmetrical upper and lower whiskers, and an absence of extreme outliers (represented by open circles for mild outliers or asterisks for extreme scores).

    • Formal Statistical Hypothesis Testing for Normality:

    • Shapiro-Wilk Test: Preferred diagnostic test for small to moderate sample sizes (N<50N < 50).

    • Kolmogorov-Smirnov Test (with Lilliefors Significance Correction): Standard diagnostic test for large sample cohorts (N≥50N \ge 50).

    • Interpretive Rule: The null hypothesis posits that the distribution is normal. Therefore, a non-significant result (p>.05p > .05) signifies that the data do not deviate significantly from normality (assumption met). Conversely, a significant result (p≤.05p \le .05) signifies a severe deviation from normality (assumption violated).

Theoretical Distinction: Parametric vs. Non-Parametric Frameworks

  • Parameters versus Statistics:

    • Population Parameter:

    • A fixed numerical summary index describing an entire population (e.g., population mean μ\mu, population standard deviation σ\sigma).

    • Typically unknown and unobservable because measuring every individual in a target population is impossible (e.g., the average time required for all university students in the United Kingdom to fall asleep).

    • Sample Statistic:

    • A numerical index calculated directly from observed sample data (e.g., sample mean MM, sample standard deviation SDSD).

    • Functions as the empirical point estimate of the unobserved population parameter (e.g., 6060 sampled students demonstrating M=21.62 minutesM = 21.62\,\text{minutes}).

  • The Mathematical Mechanism of Parametric Procedures:

    • The classical Gaussian distribution is completely characterized by two specific parameters: its mean (μ\mu, locating the center) and standard deviation (σ\sigma, defining the width/spread).

Normal curve diagram defining mean as location and standard deviation as width
  • Parametric tests (such as tt-tests) rely fundamentally on the assumption that populations conform to this parametric structure, operating directly through mathematical manipulation of means and variances.

    • The Sensitivity of Means to Distributional Skew and Outliers:

  • When data distributions contain severe skewness or extreme outliers, the arithmetic mean is drawn toward the long tail, providing an unrepresentative measure of central tendency.

  • By contrast, the median (Mdn\text{Mdn}) is robust to extreme scores because it depends entirely on ordinal rank rather than numeric magnitude.

  • Consider an illustrative sleep latency data distribution where the bulk of scores cluster tightly around 1010 to 15 minutes15\,\text{minutes}, but a single extreme outlier sits at 95 minutes95\,\text{minutes}:

    • The median remains anchored at 12.00 minutes12.00\,\text{minutes}.

    • The mean is distorted upward to 23.40 minutes23.40\,\text{minutes}.

Dot plot illustrating how an extreme outlier pulls the mean up to 23.4 while the median remains stable at 12
  • Statistical tests comparing arithmetic means under such conditions yield misleading inferential conclusions, necessitating procedures that do not depend on distributional parameters.

    • Non-Parametric ("Distribution-Free") Tests:

  • Do not assume that sample observations stem from an underlying population with a predetermined functional distribution shape (such as the Gaussian bell curve).

  • Raw measurement values are converted into relative ordinal positions (ranks), discarding the absolute numerical distances between data points.

  • Summarized and reported using non-parametric descriptive statistics: Median (Mdn\text{Mdn}) for central tendency, and Interquartile Range (IQR\text{IQR}) for dispersion.

  • Optimal for: Skewed distributions, extreme uncorrectable outliers, strictly ordinal data structures (e.g., Likert survey measures), and small sample sizes where verifying normality is unfeasible.

    • The Crucial Trade-Off: Statistical Power:

  • When the required distributional assumptions are fully satisfied, parametric tests are demonstrably more statistically powerful than their non-parametric counterparts.

  • Higher statistical power reduces the probability of committing a Type II error (erroneously failing to reject a false null hypothesis, thereby missing a true population effect).

  • Non-parametric tests should therefore not be adopted indiscriminately; they are reserved for circumstances where parametric recipe conditions are explicitly broken.

  • Critical Rule for Two-Group Comparisons: Normality must hold across both comparison groups. If even one group violates normality, the foundational assumption of the independent-samples tt-test is broken, mandating a non-parametric test.

Feature

Parametric Tests (tt-tests)

Non-Parametric Tests (Mann-Whitney UU, Wilcoxon)

Underlying Distribution

Assumes population normality (Gaussian)

Distribution-free (no shape assumption)

Data Type (DV)

Continuous (Interval or Ratio)

Ordinal, Interval, or Ratio

Central Metric Compared

Means (MM)

Ranks (Evaluated via Medians, Mdn\text{Mdn})

Dispersion Metric

Standard Deviation (SDSD)

Interquartile Range (IQR\text{IQR})

Independence

Strictly required

Strictly required

Equal Variances

Required for independent tt-test

Not required

Vulnerability to Outliers

High (Mean is easily distorted)

Low / Resistant (Ranks mitigate extreme values)

Relative Power

Maximum power when assumptions hold

Slightly lower power; avoids bias when violated

Statistical Selection Framework: Decision Tree

  • Test Selection Logic Based on Design and Normality Diagnostics:

Decision tree for selecting parametric or non-parametric tests based on experimental design and normality
  • Branch 1: Between-Subjects Experimental Design (Two Separate Groups):

    • Data Normally Distributed?:

    • YES →\rightarrow Independent-Samples tt-Test.

    • NO →\rightarrow Mann-Whitney UU Test.

  • Branch 2: Within-Subjects Experimental Design (Same Participants / Repeated Measures):

    • Difference Scores Normally Distributed?:

    • YES →\rightarrow Paired-Samples tt-Test.

    • NO →\rightarrow Wilcoxon Signed-Rank Test.

The Mann-Whitney U Test: Mechanics and Manual Computation

  • Theoretical Mechanism of the Mann-Whitney UU Test:

    • Designed to evaluate whether the distribution of ranks for one group systematically exceeds or falls below the distribution of ranks for another independent group.

    • Instead of calculating sample means, all observed scores from both groups are pooled into a single combined distribution, arranged in ascending order, and assigned ordinal ranks (11 for the lowest score through NN for the highest score).

    • The test assesses head-to-head pairs across the two groups: for every participant in Group 1 paired with every participant in Group 2, it determines which group achieved the higher score.

    • The test statistic UU quantifies the frequency with which one group ranks above the other across all possible pairwise comparisons.

    • Under the null hypothesis (H0H_0), both groups originate from identical populations, meaning their ranks should be evenly distributed throughout the ordered series. Consequently, the number of head-to-head wins should be roughly equal for both groups (U≈n1n22U \approx \frac{n_1 n_2}{2}.

    • Extreme discrepancy between the observed value of UU and this expected midpoint reflects systematic divergence between the two groups.

  • Handling Tied Observations:

    • When identical scores occur across observations, each tied score is allocated the arithmetic average of the consecutive ordinal ranks they would otherwise occupy.

    • For instance, if two observations tie across the third and fourth ordinal positions, their allocated rank is:     Rank=3+42=3.5\text{Rank} = \frac{3 + 4}{2} = 3.5

  • Complete Manual Worked Example:

    • Context: Two independent participant cohorts (n1=5n_1 = 5, n2=5n_2 = 5) completed a performance test.

    • Raw Observations:

    • Group 1 (n1=5n_1 = 5): 1212, 1717, 1010, 1212, 4242

    • Group 2 (n2=5n_2 = 5): 2222, 5555, 1313, 3333, 1111

    • Step 1: Order All Scores Systematically by Magnitude:

    • Aggregate all 1010 observations into a single ascending continuum while tracking group membership:

      • 1010 (Group 1)

      • 1111 (Group 2)

      • 1212 (Group 1)

      • 1212 (Group 1)

      • 1313 (Group 2)

      • 1717 (Group 1)

      • 2222 (Group 2)

      • 3333 (Group 2)

      • 4242 (Group 1)

      • 5555 (Group 2)

    • Step 2 & 3: Assign Ordinal Ranks and Resolve Ties:

    • Positions 1 and 2: Score 10→Rank 110 \rightarrow \text{Rank } 1; Score 11→Rank 211 \rightarrow \text{Rank } 2.

    • Positions 3 and 4: Both scores are 1212 (Group 1). Average rank assigned: 3+42=3.5\frac{3 + 4}{2} = 3.5.

    • Positions 5 through 10: Score 13→Rank 513 \rightarrow \text{Rank } 5; Score 17→Rank 617 \rightarrow \text{Rank } 6; Score 22→Rank 722 \rightarrow \text{Rank } 7; Score 33→Rank 833 \rightarrow \text{Rank } 8; Score 42→Rank 942 \rightarrow \text{Rank } 9; Score 55→Rank 1055 \rightarrow \text{Rank } 10.

Group

Raw Score

Assigned Rank

1

1010

1.01.0

2

1111

2.02.0

1

1212

3.53.5

1

1212

3.53.5

2

1313

5.05.0

1

1717

6.06.0

2

2222

7.07.0

2

3333

8.08.0

1

4242

9.09.0

2

5555

10.010.0

  • Step 4: Calculate Sum of Ranks per Group (R1R_1 and R2R_2):

    • Group 1 Rank Sum (R1R_1):     R1=1+3.5+3.5+6+9=23R_1 = 1 + 3.5 + 3.5 + 6 + 9 = 23

    • Group 2 Rank Sum (R2R_2):     R2=2+5+7+8+10=32R_2 = 2 + 5 + 7 + 8 + 10 = 32

  • Step 5: Compute the UU Statistic Using the Algebraic Formulas:

    • Formula for UU based on Group 1's ranks:     U1=n1n2+n1(n1+1)2−R1U_1 = n_1 n_2 + \frac{n_1(n_1 + 1)}{2} - R_1     U1=(5×5)+5(5+1)2−23=25+302−23=25+15−23=17U_1 = (5 \times 5) + \frac{5(5 + 1)}{2} - 23 = 25 + \frac{30}{2} - 23 = 25 + 15 - 23 = 17

    • Formula for UU based on Group 2's ranks:     U2=n1n2+n2(n2+1)2−R2U_2 = n_1 n_2 + \frac{n_2(n_2 + 1)}{2} - R_2     U2=(5×5)+5(5+1)2−32=25+15−32=8U_2 = (5 \times 5) + \frac{5(5 + 1)}{2} - 32 = 25 + 15 - 32 = 8

    • Internal Cross-Check Equation:     U1+U2=n1n2U_1 + U_2 = n_1 n_2     17+8=25=5×517 + 8 = 25 = 5 \times 5

  • Step 6: Empirical Demonstration via Pairwise Head-to-Head Comparisons:

    • Construct a 5×55 \times 5 comparison matrix evaluating every pairwise combination:

Matrix of pairwise head-to-head comparisons showing Group 1 winning 8 pairs and Group 2 winning 17 pairs
  • Total pairwise matches evaluated: 5×5=255 \times 5 = 25.

  • Pairwise wins for Group 1 (ScoreG1>ScoreG2\text{Score}_{G1} > \text{Score}_{G2}): Exactly 88 matches.

  • Pairwise wins for Group 2 (ScoreG2>ScoreG1\text{Score}_{G2} > \text{Score}_{G1}): Exactly 1717 matches.

  • These match counts correspond to the calculated algebraic UU values.

    • Step 7: Selection of the Formal Test Statistic:

  • By universal statistical convention (and in SPSS output), the test statistic UU is defined as the smaller of the two calculated values:     U=min⁡(U1,U2)=min⁡(17,8)=8U = \min(U_1, U_2) = \min(17, 8) = 8

    • Step 8: Critical Value Determination and Decision Rule:

  • Statistical tables establish critical values derived from sampling distributions generated under the assumption that H0H_0 is true.

Statistical table of Mann-Whitney U critical values for alpha of .05 two-tailed highlighting n1=5 and n2=5
* For a two-tailed evaluation at significance level α=.05\alpha = .05, cross-referencing row n1=5n_1 = 5 with column n2=5n_2 = 5 yields a critical value of 22.
* *Formal Decision Rule*: For the Mann-Whitney UU test, the observed test statistic must be **less than or equal to** the critical value to achieve statistical significance:

      Uobserved≤Ucritical  ⟹  Reject H0U_{\text{observed}} \le U_{\text{critical}} \implies \text{Reject } H_0

  • Step 9: Hypothesis Decision and Substantive Interpretation:

    • Observed value U=8U = 8

    • Critical value Ucrit=2U_{\text{crit}} = 2

    • Evaluation: 8>28 > 2. The observed UU is strictly greater than the critical value.

    • Conclusion: The result is not statistically significant (p>.05p > .05). We fail to reject H0H_0.

    • Interpretive Caution: A non-significant outcome must never be phrased as proving "no difference" between groups; rather, the data provide insufficient empirical evidence to detect a difference.

    • Large-Sample Normal Approximation:

  • For small cohorts, statistical tables yield exact probabilities.

  • As sample size increases (n>20n > 20), the sampling distribution of UU approaches a continuous Gaussian distribution.

  • Computational software converts UU into a standardized zz-score to derive asymptotic pp-values (Asymp. Sig. (2-tailed)).

Empirical Case Study: Pre-Sleep Screen Exposure and Sleep Latency

  • Research Background and Experimental Methodology:

    • Inspired by research on light-emitting electronic devices and circadian physiology (Chang et al., 2015, PNAS).

    • Sample: N=60N = 60 first-year undergraduate university students.

    • Experimental Manipulation: Participants were randomly assigned to one of two experimental conditions (n=30n = 30 per group):

    • Phone Group (n=30n = 30): Engaged in 30 minutes30\,\text{minutes} of smartphone screen scrolling immediately prior to sleeping.

    • Book Group (n=30n = 30): Engaged in 30 minutes30\,\text{minutes} of reading a physical paper book immediately prior to sleeping.

    • Dependent Variable (DV): Latency duration to sleep onset, measured continuously in minutes (Minutes_asleep).

    • Design Structure: Between-subjects (two independent groups).

  • Formal Hypotheses:

    • Null Hypothesis (H0H_0): There is no difference in the duration of time required to fall asleep between students who scroll on their phones and students who read a physical book prior to sleeping (Sleep LatencyPhone=Sleep LatencyBook\text{Sleep Latency}_{\text{Phone}} = \text{Sleep Latency}_{\text{Book}}).

    • Alternative Hypothesis (H1H_1): The duration of time required to fall asleep differs significantly between students who scroll on their phones and students who read a physical book prior to sleeping (Sleep LatencyPhone≠Sleep LatencyBook\text{Sleep Latency}_{\text{Phone}} \ne \text{Sleep Latency}_{\text{Book}}).

  • SPSS Data Architecture:

    • In independent between-subjects analyses, data must be structured across two distinct columns:

    • Column 1: Continuous dependent variable score (Minutes_asleep).

    • Column 2: Independent categorical grouping variable (Group), with numeric codes denoting cohort membership (e.g., 1=phone1 = \text{phone}, 2=book2 = \text{book}.

    • Each individual row corresponds to a single participant.

  • Testing Assumptions in SPSS: Step-by-Step Protocol:

    • Menu Navigation:     Analyze > Descriptive Statistics > Explore...

    • Specification Setup:

    • Move Minutes_asleep into the Dependent List.

    • Move Group into the Factor List.

    • Click Plots…:

      • Untick Stem-and-leaf.

      • Tick Histogram.

      • Tick Normality plots with tests.

    • Click Continue, then click OK.

  • Diagnostic Evaluation of the Case Study Output:

    • Inferential Tests of Normality:

    • Phone Group: Kolmogorov-Smirnov statistic = .186.186 (df=30,p=.010df = 30, p = .010); Shapiro-Wilk statistic = .838.838 (df=30,p<.001df = 30, p < .001).

    • Book Group: Kolmogorov-Smirnov statistic = .189.189 (df=30,p=.008df = 30, p = .008); Shapiro-Wilk statistic = .820.820 (df=30,p<.001df = 30, p < .001).

    • Interpretation: Because the sample size per condition is n=30n = 30 (<50< 50), the Shapiro-Wilk test is the primary benchmark. Both groups yield p<.001p < .001 (p<.05p < .05), indicating statistically significant departures from normality across both cohorts.

    • Histogram Inspection:

    • Both distributions display positive skewness, with the bulk of observations clustered at shorter durations and long, drawn-out tails extending toward the right.

    • Q-Q Plot Inspection:

    • Points curve away from the theoretical diagonal line across both groups, with extreme observations at the upper ends deviating substantially.

    • Boxplot Inspection:

    • Both distributions exhibit positive skew, evidenced by the median line positioned toward the lower boundary of the box and extended upper whiskers.

    • The Phone group contains three identified outliers (Cases 1212, 33, and an extreme starred outlier Case 1616 at 93 minutes93\,\text{minutes}.

    • The Book group contains one identified outlier (Case 4949 at 48 minutes48\,\text{minutes}.

    • The Book box sits lower along the scale (indicating faster sleep onset) and shows narrower vertical span (less dispersion).

Side-by-side boxplots for phone and book groups illustrating positive skew and outliers
  • Complete Empirical Descriptive Output:

    • Phone Group (n=30n = 30):

      • Mean (MM) = 27.6000 minutes27.6000\,\text{minutes} (SE=3.64632SE = 3.64632

      • 95%95\% Confidence Interval for Mean: Lower Bound = 20.142420.1424, Upper Bound = 35.057635.0576

      • 5%5\% Trimmed Mean = 25.611125.6111

      • Median (Mdn\text{Mdn}) = 23.0000 minutes23.0000\,\text{minutes}

      • Variance = 398.869398.869

      • Standard Deviation (SDSD) = 19.9717019.97170

      • Minimum = 7.007.00, Maximum = 93.0093.00, Range = 86.0086.00

      • Interquartile Range (IQR\text{IQR}) = 19.7519.75

      • Skewness = 1.6471.647 (SE=.427SE = .427

      • Kurtosis = 2.9522.952 (SE=.833SE = .833

    • Book Group (n=30n = 30):

      • Mean (MM) = 15.6333 minutes15.6333\,\text{minutes} (SE=1.65501SE = 1.65501

      • 95%95\% Confidence Interval for Mean: Lower Bound = 12.248512.2485, Upper Bound = 19.018219.0182

      • 5%5\% Trimmed Mean = 14.666714.6667

      • Median (Mdn\text{Mdn}) = 12.0000 minutes12.0000\,\text{minutes}

      • Variance = 82.17182.171

      • Standard Deviation (SDSD) = 9.064849.06484

      • Minimum = 6.006.00, Maximum = 48.0048.00, Range = 42.0042.00

      • Interquartile Range (IQR\text{IQR}) = 12.2512.25

      • Skewness = 1.8561.856 (SE=.427SE = .427

      • Kurtosis = 4.4354.435 (SE=.833SE = .833

  • Methodological Justification for Test Selection:

    • Design: Between-subjects comparing two independent groups.

    • Scale: Continuous ratio dependent variable.

    • Assumption check: Severe positive skew, heavy tails, uncorrectable outliers, and significant Shapiro-Wilk tests (p<.001p < .001) violate normality across both groups.

    • Decision: The independent-samples tt-test cannot be used; the Mann-Whitney UU test is the appropriate inferential procedure.

    • Running the Mann-Whitney UU Test in SPSS:

  • Menu Navigation:     Analyze > Nonparametric Tests > Legacy Dialogs > 2 Independent Samples...

  • Specification Setup:

    • Move Minutes_asleep into the Test Variable List.

    • Move Group into the Grouping Variable field.

    • Click Define Groups…: Enter 1 for Group 1 and 2 for Group 2; click Continue.

    • Ensure the checkbox for Mann-Whitney U is ticked under Test Type.

    • Click OK.

    • Interpretation of the SPSS Test Statistics Output:

SPSS Test Statistics table showing Mann-Whitney U of 263.000, Wilcoxon W of 728.000, Z of -2.768, and p of .006
  • Output Statistics:

    • Mann-Whitney UU = 263.000263.000

    • Wilcoxon WW = 728.000728.000

    • Standardized ZZ = −2.768-2.768 (rounds to −2.77-2.77

    • Asymptotic Significance (Asymp. Sig. (2-tailed)) p=.006p = .006

  • Statistical Context of U=263.000U = 263.000:

    • With n1=30n_1 = 30 and n2=30n_2 = 30, the total number of pairwise matches is 30×30=90030 \times 30 = 900.

    • Under the null hypothesis of no difference, each group would be expected to win approximately half of the pairwise comparisons (450450).

    • The Book group won only 263263 matches, which is sufficiently smaller than the expected 450450 to produce a statistically significant outcome (p=.006p = .006). Because p<.05p < .05, the null hypothesis is rejected.

APA Reporting Standards and Formal Academic Write-Up

  • Formatting Guidelines (APA 7th Edition):

    • Symbol Typography:

    • All statistical symbols and test abbreviations must be italicized: MM, SDSD, Mdn\text{Mdn}, IQR\text{IQR}, tt, UU, WW, zz, pp, rr, dd, NN, nn.

    • Precision and Decimal Rules:

    • Report most descriptive and test statistics to two decimal places (e.g., U=263.00U = 263.00, z=−2.77z = -2.77, Mdn=23.00\text{Mdn} = 23.00, IQR=19.75\text{IQR} = 19.75

    • Include a leading zero before the decimal point for numbers that can exceed 1.01.0 (e.g., M=0.45M = 0.45, SD=1.12SD = 1.12

    • Omit the leading zero for numbers bounded between 00 and 11, such as probabilities and correlations (e.g., p=.006p = .006, r=.35r = .35

    • Report exact pp-values to three decimal places. For values smaller than .001.001, report as p<.001p < .001

    • Apply mathematical spacing before and after operators (e.g., p=.006p = .006, not p=.006p=.006).

    • Structured Reporting Sequence:

    • Justify: State the diagnostic basis for selecting the non-parametric procedure.

    • Name: Explicitly identify the test conducted.

    • Descriptives: Report medians (Mdn\text{Mdn}) and interquartile ranges (IQR\text{IQR}) for each condition.

    • Inferential: Report the test statistic (UU), the standardized score (zz), and the exact probability value (pp

    • Effect Size: Quantify magnitude (e.g., rank-biserial correlation rr

    • Meaning: Provide an interpretation resolving the original research question in plain language.

  • Model APA Write-Up:

    • "Data exploration showed that time to fall asleep was not normally distributed in either group: histograms and box plots showed positive skew with outliers, Q-Q plots deviated from the line, and Shapiro-Wilk tests were significant for both the phone and book groups (both p<.001p < .001). Therefore, a Mann-Whitney UU test was conducted to compare time to fall asleep between the phone and book groups. Students who scrolled on their phone before bed took longer to fall asleep (Mdn=23.00\text{Mdn} = 23.00, IQR=19.75\text{IQR} = 19.75) than students who read a book (Mdn=12.00\text{Mdn} = 12.00, IQR=12.25\text{IQR} = 12.25). This difference was statistically significant, U=263.00U = 263.00, z=−2.77z = -2.77, p=.006p = .006. This suggests that scrolling on a phone before bed may delay falling asleep compared with reading a book."

Summary: Core Principles of the Mann-Whitney U Test

  • When to Select the Test:

    • Between-subjects designs evaluating two independent groups when the continuous dependent variable violates normality, exhibits substantial skewness or uncorrectable outliers, or is measured on an ordinal scale.

  • What the Test Evaluates:

    • Assesses whether the distribution of ranks in one group systematically differs from another by calculating pairwise comparisons (head-to-head wins).

  • Core Assumptions:

    • Requires independent observations and an ordinal, interval, or ratio dependent variable. Does not require normality or homogeneity of variance.

  • Key Inferential Output Metrics:

    • The test statistic (UU), the standardized score (zz), and the significance value (pp).

  • Reporting Protocol:

    • Report condition medians (Mdn\text{Mdn}) and interquartile ranges (IQR\text{IQR}), followed by UU, zz, and pp. If p>.05p > .05, describe the result as "not statistically significant"; never state that there is "no difference" between groups.