Comparing More Than Two Conditions: One-Way Between-Subjects and Repeated-Measures ANOVA and Non-Parametric Tests
Methodological Overview: Comparing Experimental Conditions
Statistical analysis often requires determining whether differences exist across distinct experimental treatments, intervention phases, or observational groups.
The foundational decision tree for selecting an inferential test depends on three core parameters:
Number of conditions or groups being evaluated (two vs. more than two).
Experimental design / participant allocation (between-subjects vs. within-subjects).
Distributional properties and measurement level of the dependent variable (scale data meeting parametric assumptions vs. ordinal data or non-normally distributed scale data).
Foundational Framework: Comparing Two Conditions

Between-Subjects Designs (Different Groups / Independent Samples):
Each individual participant is exposed to only one level of the independent variable.
Data organization in software packages (e.g., JASP) follows a long format requiring a dedicated grouping variable column (e.g.,
group: "Picture" vs. "Real spider") alongside the dependent variable score column (e.g.,anxiety).Parametric Option: Independent Samples -Test:
Requires continuous (interval or ratio) scale data that are normally distributed within each condition.
Requires testing the assumption of homogeneity of variance using Levene's test of equality of variances.
If Levene's test is non-significant (), equal variances are assumed, and the standard Student's -test is reported.
If Levene's test is significant (), equal variances are violated, and Welch's -test correction must be utilized.
Non-Parametric Option: Mann-Whitney -Test:
Applied when dependent data are ordinal, or when scale data deviate substantially from normality (as indicated by a statistically significant Shapiro-Wilk test, where ).
Within-Subjects Designs (Same Group / Paired Samples / Repeated Measures):
The same participants provide data under both experimental conditions.
Data organization in software packages follows a wide format where each participant represents a single row, and different conditions occupy separate columns (e.g.,
controlandexperimental).Parametric Option: Paired Samples -Test:
Requires continuous scale data with normally distributed difference scores.
Non-Parametric Option: Wilcoxon Signed-Ranks Test:
Applied when paired difference scores are ordinal or violate normality assumptions.
Inferential Decision Thresholds:
If the test probability is greater than (): The result is not statistically significant; the null hypothesis () is retained; there is no evidence of a difference between conditions.
If the test probability is less than (): The result is statistically significant; the null hypothesis () is rejected; a statistically significant difference between conditions is confirmed.
Transition to Multiple Conditions and the Multiple Comparisons Problem
In research involving three or more groups or measurement time points (e.g., assessing the comparative efficacy of three active anti-depressant pharmacotherapies—Drug A, Drug B, and Drug C—against a Placebo control using Beck Depression Inventory [BDI] scores):
Conducting multiple pairwise independent -tests is unacceptable practice for two critical methodological reasons:
Absence of Omnibus Assessment: Pairwise -tests cannot evaluate whether an overall, systemic difference exists across the entire condition set simultaneously.
Inflation of Type I Error (False Positive Rate):
Running sequential -tests drastically inflates the familywise (experimentwise) error rate—the aggregate probability of making at least one Type I error across all comparisons.
For four experimental groups, evaluating all pairs requires separate pairwise tests.
The familywise error rate () rises according to the formula: where is the number of pairwise comparisons and .
Across pairwise comparisons, the true Type I error rate escalates to approximately (), creating an unacceptably high chance of false-positive discovery.
Analysis of Variance (ANOVA) resolves this issue by executing a single omnibus test that maintains the overarching false-positive risk at the designated threshold.
Core Principles of Analysis of Variance (ANOVA)
Terminology and Definitions:
ANOVA (Analysis of Variance): An inferential statistical procedure used to test for differences between two or more population means by partitioning total variability.
Factor: The categorical independent variable (e.g., "Drug Type" or "Hair Color").
Levels: The specific conditions or subgroups within a factor (e.g., Drug A, Drug B, Drug C, Placebo).
Hypotheses in ANOVA:
Null Hypothesis (): The omnibus null states that all population condition means are equal:
Alternative Hypothesis (): At least one population condition mean differs significantly from the others:
Partitioning of Variability:
Total variance within an experimental dataset is decomposed into two distinct components:
Between-Groups Variability: Reflects variability between group means, driven by:
Systematic treatment effects (the impact of the experimental manipulation).
Individual differences (biological, cognitive, or temperamental variability among participants).
Experimental error (uncontrolled environmental fluctuations or measurement noise).
Within-Groups Variability (Error Variance):
Reflects variability among scores within the same treatment condition.
Because all participants within a single group receive the identical treatment, this variability is solely driven by:
Individual differences.
Experimental error.
The -Statistic Ratio:
The test statistic is defined mathematically as the ratio of between-groups variance to within-groups variance:
Behavior Under the Null Hypothesis ():
If is true, there is zero treatment effect ().
The numerator reduces to individual differences and experimental error, matching the denominator.
Consequently, the expected value of under is approximately ().
Behavior Under the Alternative Hypothesis ():
If a true treatment effect exists (), the numerator exceeds the denominator.
Consequently, the resulting -statistic is substantially greater than ().
The -Distribution, Degrees of Freedom, and Reporting Conventions

Properties of the -Distribution:
The -distribution is positively skewed and bounded at zero ().
Its precise mathematical shape is governed by two separate degrees of freedom ():
Between-groups degrees of freedom (): where is the total number of conditions or levels.
Within-groups / error degrees of freedom (): where is the total sample size across all conditions.
Total degrees of freedom ():
Follow-Up (Post-Hoc) Comparisons:
Because the omnibus -test assesses only whether at least one difference exists across the entire condition array, a significant -test () does not indicate which specific pairs of means differ.
Post-hoc tests execute pairwise comparisons between condition means while strictly adjusting the familywise error rate.
Standard post-hoc adjustments include Tukey's Honestly Significant Difference (HSD), Scheffé, and Bonferroni corrections.
Reporting Standards:
General APA reporting syntax: .
Standard reporting includes measures of effect size and confidence intervals ().
Effect Size Formulations:
Partial Eta Squared ():
Quantifies the proportion of total variance in the dependent variable explained by the independent variable factor:
Omega Squared ():
An unbiased population effect size estimator that adjusts for sample size and degrees of freedom, highly recommended when handling smaller sample sizes:
One-Way Between-Subjects ANOVA
Definition and Scope:
Tests whether statistically significant differences exist across three or more independent group means derived from mutually exclusive participant samples.
Parametric Assumptions:
Continuous scale (interval or ratio) dependent data.
Normal distribution of residuals or scores within each level of the factor (verified via Shapiro-Wilk testing or standardized residual Quantile-Quantile [Q-Q] plots).
Mutual independence of observations (each participant provides one score; participants do not influence one another).
Homogeneity of error variance (verified via Levene's test of equality of variances).
If Levene's test is non-significant (), equal variances are assumed.
If Levene's test is significant (), the assumption is violated; a robust alternative must be used: Welch's ANOVA or Brown-Forsythe correction.
Non-Parametric Counterpart:
The Kruskal-Wallis test is used when between-subjects data violate normality or are measured on an ordinal scale.
Case Study 1: Pain Thresholds and Hair Color (McClave & Dietrich, 1991)

Experimental Overview:
Independent Variable: Hair color category with levels:
Light Blond
Dark Blond
Light Brunette
Dark Brunette
Dependent Variable: Quantitative pain threshold tolerance score.
Hypotheses:
: There is no difference in mean pain threshold across hair color groups ().
: At least one hair color group exhibits a different mean pain threshold.
Descriptive Statistics:
Dark Blond: Mean = , , .
Dark Brunette: Mean = , , .
Light Blond: Mean = , , .
Light Brunette: Mean = , , .
Total sample size: .
Assumption Testing:
Levene's Test for Equality of Variances: , .
Because , homogeneity of variance is maintained; no correction is required.
Standardized residuals plotted against theoretical quantiles in a Q-Q plot adhere closely to the linear diagonal, confirming residual normality.
Omnibus ANOVA Results (Type III Sum of Squares):
Between-groups (Hair Color): Sum of Squares () = , , Mean Square () = , , , , .
Within-groups (Residuals): , , .
Result interpretation: A statistically significant difference exists in mean pain tolerance across hair colors, , , .
Post-Hoc Tukey HSD Pairwise Comparisons (Adjusted for Family of 4):
Dark Blond vs. Dark Brunette: Mean Difference = , , , .
Dark Blond vs. Light Blond: Mean Difference = , , , .
Dark Blond vs. Light Brunette: Mean Difference = , , , .
Dark Brunette vs. Light Blond: Mean Difference = , , , (statistically significant, ).
Dark Brunette vs. Light Brunette: Mean Difference = , , , .
Light Blond vs. Light Brunette: Mean Difference = , , , (statistically significant, ).
Conclusion:
Participants with Light Blond hair demonstrated significantly higher pain thresholds than participants with Dark Brunette hair () and Light Brunette hair ().
All remaining pairwise comparisons did not achieve statistical significance ().
Case Study 2: Social Attractiveness and Facebook Friends (Moore et al., 2012)

Experimental Overview:
Research Question: Does the total number of Facebook friends displayed on an individual's social networking profile influence perceived social attractiveness?
Independent Variable: Number of friends across between-subjects profile conditions:
friends
friends
friends
friends
friends
Dependent Variable: Standardized rating score of social attractiveness.
Hypotheses:
: Mean perceived social attractiveness is identical across friend counts.
: Mean perceived social attractiveness differs significantly across friend counts.
Descriptive Statistics:
Condition friends: Mean = , , .
Condition friends: Mean = , , .
Condition friends: Mean = , , .
Condition friends: Mean = , , .
Condition friends: Mean = , , .
Total sample size: .
Assumption Testing and Violation Handling:
Levene's Test for Equality of Variances: , .
Because , the assumption of equal variances is violated.
Standard Fisher ANOVA cannot be reported without correction; robust alternatives must be interpreted:
Brown-Forsythe Correction: , , , , , , , .
Welch's Correction: , , , , , , , .
Reporting standard: There was a significant difference in mean rated social attractiveness between Facebook profiles, Welch's , , .
Parametric Post-Hoc Comparisons (Tukey Correction, Family of 5):
vs. : Mean Difference = , , , (significant, ).
vs. : Mean Difference = , , , .
vs. : Mean Difference = , , , .
vs. : Mean Difference = , , , .
vs. : Mean Difference = , , , .
vs. : Mean Difference = , , , .
vs. : Mean Difference = , , , (significant, ).
vs. : Mean Difference = , , , .
vs. : Mean Difference = , , , .
vs. : Mean Difference = , , , .
Non-Parametric Execution: Kruskal-Wallis Test:
Used as an alternative or robustness test against variance heterogeneity.
Kruskal-Wallis Test: Factor = Friends, Statistic () = , , .
Dunn's Post-Hoc Pairwise Comparisons:
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
: , , , unadjusted , , .
Theoretical Implications:
The relationship between friend count and social attractiveness exhibits an inverted-U shape: perceived social attractiveness peaks around friends and declines significantly at both deficient () and excessively high () friend levels.
One-Way Repeated Measures ANOVA
Definition and Scope:
Tests whether statistically significant differences exist across three or more condition means gathered from the exact same participant group.
Enhanced Statistical Power:
In repeated measures designs, every participant acts as their own control across conditions.
Individual differences (the primary driver of within-groups error in independent designs) are mathematically isolated and removed from the denominator error term:
By eliminating individual difference variance from the error baseline, the denominator shrinks substantially, resulting in a more sensitive, statistically powerful test for detecting genuine treatment effects.
The Assumption of Sphericity:
Definition: Sphericity requires that the population variances of the differences between all possible combinations of within-subjects condition pairs are equal:
Statistical Assessment: Mauchly's test of sphericity evaluates the null hypothesis that condition difference variances are equal.
If Mauchly's test is non-significant (): Sphericity is assumed; standard uncorrected ANOVA output is interpreted.
If Mauchly's test is significant (): Sphericity is violated, inflating Type I error rates. The degrees of freedom must be multiplied by an epsilon factor () to adjust the critical -threshold:
If Greenhouse-Geisser : Apply the conservative Greenhouse-Geisser correction.
If Greenhouse-Geisser : Apply the less conservative Huynh-Feldt correction.
Non-Parametric Counterpart:
The Friedman test is the non-parametric alternative for repeated measures designs involving ordinal data or severely skewed continuous data.
Case Study 3: Bush Tucker Trials (Field, 2017)

Experimental Overview:
Design: Within-subjects repeated measures ( celebrities).
Independent Variable: Four distinct bush tucker trial food conditions:
Stick insect
Kangaroo testicle
Fish eye
Witchetty grub
Dependent Variable: Latency in seconds of consuming the food item prior to retching.
Participant Raw Data Matrix and Means:
Celebrity 1: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = , Participant Mean = .
Celebrity 2: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = , Participant Mean = .
Celebrity 3: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = , Participant Mean = .
Celebrity 4: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = , Participant Mean = .
Celebrity 5: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = , Participant Mean = .
Celebrity 6: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = 0, Participant Mean = .
Celebrity 7: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = , Participant Mean = .
Celebrity 8: Stick insect = , Kangaroo testicle = , Fish eye = , Witchetty grub = , Participant Mean = .
Condition Means:
Stick insect:
Kangaroo testicle:
Fish eye:
Witchetty grub:
Assumption Testing for Sphericity:
Mauchly's Test of Sphericity: Mauchly's , Approximate , , .
Epsilon estimates: Greenhouse-Geisser , Huynh-Feldt , Lower Bound .
Assessment: Because Mauchly's , sphericity is violated. Because Greenhouse-Geisser , the Greenhouse-Geisser correction is mandated.
Within-Subjects ANOVA Results:
Uncorrected Output (Incorrect due to violated sphericity):
Bush tucker effect: , , , , , , .
Residuals: , , .
Greenhouse-Geisser Corrected Output (Correct):
Bush tucker effect: , , , , , , .
Residuals: , , .
Conclusion and Reporting:
Formal statement: There was no significant difference in how repelling bush tucker trial foods were to celebrities, Greenhouse-Geisser corrected , , .
Sphericity correction alters the statistical outcome from significant () to non-significant (), demonstrating the importance of correcting degrees of freedom to avoid false-positive conclusions. No post-hoc tests are conducted.
Case Study 4: Response-Cost Technique Over Time (Gravetter & Wallnau, 1996)
Experimental Overview:
Study objective: Assess the sustained efficacy of a response-cost behavior modification intervention designed to reduce emotional outbursts in children.
Design: Longitudinal one-way within-subjects repeated measures.
Measurement Intervals ( levels of Time):
Baseline (Before treatment)
One week post-treatment
One month post-treatment
Six months post-treatment
Dependent Variable: Total count of behavioral outbursts.
Repeated Measures ANOVA Results:
Omnibus Test (Type III Sum of Squares):
Time effect: , , , , , , .
Residuals: , , .
Reporting statement: There was a statistically significant difference in the mean number of behavioral outbursts observed over time, , , .
Post-Hoc Pairwise Comparisons (Bonferroni Corrected, Family of 6 Comparisons):
Before vs. One week: Mean Difference = , , , (statistically significant, ).
Before vs. One month: Mean Difference = , , , .
Before vs. Six months: Mean Difference = , , , (statistically significant, ).
One week vs. One month: Mean Difference = , , , .
One week vs. Six months: Mean Difference = , , , .
One month vs. Six months: Mean Difference = , , , .
Non-Parametric Execution: Friedman Test:
Used as an alternative when outburst counts violate continuous scale or normality assumptions.
Friedman Test: Factor = Time, Chi-Squared () = , , , Kendall's .
Conover's Post-Hoc Pairwise Comparisons (Grouped by Subject, ):
Before vs. One week: , , , unadjusted , , .
Before vs. One month: , , , unadjusted , , .
Before vs. Six months: , , , unadjusted , , .
One week vs. One month: , , , unadjusted , , .
One week vs. Six months: , , , unadjusted , , .
One month vs. Six months: , , , unadjusted , , .
Clinical and Theoretical Conclusion:
The parametric analysis confirms that the response-cost intervention produces a statistically significant, lasting decline in emotional outbursts from baseline to one week () and from baseline to six months ().
The lack of significant difference between one week, one month, and six months demonstrates that behavioral improvements remain stable across long-term follow-up.
Comprehensive Statistical Decision Framework
Condition Taxonomy for Testing Differences Across More Than Two Conditions:
Independent Samples (Between-Subjects Designs):
Scale data, normally distributed, equal variances: One-Way Between-Subjects ANOVA (Standard Fisher's -test).
Scale data, normally distributed, unequal variances (Levene's ): Welch's ANOVA or Brown-Forsythe corrected ANOVA.
Ordinal data OR scale data violating normality: Kruskal-Wallis test (followed by Dunn's post-hoc comparisons with Bonferroni or Holm corrections).
Related Samples (Within-Subjects / Repeated Measures Designs):
Scale data, normally distributed, sphericity met (Mauchly's ): One-Way Repeated Measures ANOVA (Sphericity Assumed).
Scale data, normally distributed, sphericity violated (Mauchly's ):
If Greenhouse-Geisser : Repeated Measures ANOVA with Greenhouse-Geisser correction.
If Greenhouse-Geisser : Repeated Measures ANOVA with Huynh-Feldt correction.
Ordinal data OR scale data violating normality: Friedman test (followed by Conover's post-hoc comparisons).
Foundational Literature & Study Resources
Primary Statistical Texts:
Coolican, H. Research Methods and Statistics in Psychology, Chapter 20 (Analysis of Variance).
Wilson, S., & MacLean, R. Research Methods and Data Analysis for Psychology, Chapter 17 (Comparing More Than Two Means).
JASP Computational Software Manuals:
Goss-Sampson, M. A. Statistical Analysis in JASP: A Guide for Students, pp. 84–101 (ANOVA and Repeated Measures).
Navarro, D. J., Foxcroft, D. R., & Faulkenberry, T. J. Learning Statistics with JASP: A Tutorial for Psychology Students and Other Beginners, Chapter 12 (Comparing Several Means).