One-Way ANOVA and Post-Hoc Tests

Learn how to compare the means of three or more independent groups in a single test. See how one-way ANOVA splits variation into a between-group and a within-group part, how the F ratio and the F distribution lead to a decision, and how to report the result with an effect size. Check the assumptions, use Levene's test and Welch's ANOVA when group variances differ, and find out which groups differ with planned contrasts and post-hoc tests such as Tukey's HSD and Games–Howell. Finally, see one-way ANOVA as a regression with coded group variables.

IntermediateLesson 4 of 10 in Intermediate Statistics – Regression and ANOVA Course

What you will learn

  1. Recognize when a one-way ANOVA fits a study, see how it splits variation into a between-group and a within-group part, and use the F ratio and the F distribution to judge whether group means differ.
    • Decide when one-way ANOVA fits and state its hypotheses
      Recognize a design with one factor and three or more independent groups, state the null and alternative hypotheses, and explain why one ANOVA replaces a series of t tests.
    • Split total variation into between-group and within-group parts
      Compute the total, between-group and within-group sums of squares, their degrees of freedom and mean squares, and explain what each one measures.
    • Use the F ratio and the F distribution
      Form the F ratio from the two mean squares, describe the F distribution and its two degrees of freedom, and find critical values and p-values for the right-tailed test.
  2. Run the complete test from raw data or summary statistics to a conclusion, read the result in the output of common statistics programs, and report it with an effect size in APA style.
    • Run a one-way ANOVA from data to conclusion
      Carry out the full hypothesis test by hand or with software: hypotheses, ANOVA table, decision and a conclusion in the words of the study.
    • Read software output and report the result with an effect size
      Find the key numbers in the output of common statistics programs, choose and compute an effect size, and write the result and the descriptive statistics in APA style.
  3. State and check the assumptions behind the classic F test, test the equality of variances with Levene's test, and compare means with Welch's ANOVA when the variances may differ.
    • Check the assumptions of one-way ANOVA
      State the assumptions of the classic F test, check them with plots and descriptive statistics, and judge how much a violation matters for the conclusion.
    • Test equality of variances with Levene's test
      Explain how Levene's test and its median-based Brown–Forsythe version work, interpret their results, and recognize their limits as a basis for choosing a test.
    • Compare means with Welch's ANOVA
      Use Welch's F test when the group variances may differ, compute it from summary statistics, and interpret and report its fractional degrees of freedom.
  4. Control the error rate across several comparisons, test planned contrasts that match your hypotheses, and choose and interpret post-hoc tests when the comparisons are exploratory.
    • Control error rates across multiple comparisons
      Explain per-comparison and familywise error rates, count the comparisons in a family, and adjust with the Bonferroni and Holm methods.
    • Plan contrasts that match research hypotheses
      Turn specific hypotheses about group means into contrast weights, check that the weights are valid and orthogonal, and use standard sets such as trend contrasts.
    • Test and interpret a contrast
      Compute a contrast's estimate, standard error, t statistic and confidence interval, including the version for unequal variances, and report the result in words.
    • Choose and interpret post-hoc tests
      Compare pairs of means with Tukey's HSD, Games–Howell, Dunnett, Scheffé or Fisher's LSD, choose the procedure that fits the design and the variances, and interpret adjusted results.
  5. Express one-way ANOVA as a regression with coded group variables, and connect coefficients, R², residuals and planned contrasts to the ANOVA results.
    • Run one-way ANOVA as a regression with dummy variables
      Write one-way ANOVA as a linear model, code the groups with dummy variables, and connect the coefficients, R² and F with the ANOVA table.
    • Use effect and contrast coding and read the model's residuals
      Interpret effect-coded and contrast-coded models, link planned contrasts to regression coefficients, and check the ANOVA assumptions through the model's residuals.

One-Way ANOVA study guide

5 chapters

1

Explain the logic of one-way ANOVA

A difference between sample means can reflect a real population difference or ordinary sampling noise. ANOVA compares those two sources of variation in one overall test. Start by identifying the groups and the outcome, then follow how individual scores become sums of squares, mean squares, and an F ratio. The same logic explains why an overall significant result still leaves the question of which groups differ unanswered.

1.1 Choose the design and state the question

One-way analysis of variance (ANOVA) compares population means using a numeric outcome and one categorical predictor. That predictor is a factor; its categories are its levels. In a between-groups design, different people belong to the different levels, and each person contributes one score.

Identify the factor and outcome

Suppose 15 students are randomly assigned to reread a text, highlight it, or take practice tests. Each student then takes the same 20-point test. Study method is the factor, its three methods are the levels, and test score is the outcome. The design is balanced because each group has five students.

Write k for the number of groups, nj for group j's size, and N=∑jnj for the total. Here, k=3 and N=15. A bar marks a sample mean: yˉj is one group's mean, while yˉ is the grand mean of all scores.

State population hypotheses

The null hypothesis is

H0:μ1=μ2=⋯=μk.

The alternative is that at least one population mean differs from another. It includes a pattern where the first two means are equal and the third differs. It does not require every pair to differ.

For the study methods, the research question is whether the methods have the same population mean test score. Sample means of 11, 12, and 16 suggest a pattern, but different samples would give somewhat different means even under the null. ANOVA judges whether their separation is large compared with the variation within the groups.

Why one overall test helps

Three groups produce three pairs; four groups produce six. Running an ordinary t test on every pair creates repeated opportunities for a false positive. If three null hypotheses were all true and their tests independent, testing each at .05 would give

1−(1−.05)3=.143

as the probability of at least one false positive. Pairwise tests on shared data are dependent, so .143 is an illustration, not the exact rate for those three comparisons.

ANOVA tests the joint null in one omnibus test at the chosen significance level. A significant F result supports “the population means are not all equal.” Follow-up comparisons locate the differences. With two groups, the classic ANOVA is equivalent to the pooled two-sample t test: F=t2, with the same p-value for the two-sided t test.

Match the design before calculating

If the same students try all three methods, their scores are related and require a repeated-measures analysis. If the outcome is pass or fail, it is categorical and calls for an analysis of counts or proportions. Neither situation fits this independent-groups ANOVA.

Random assignment supports a causal interpretation of a method effect. Existing groups, such as regions or age bands, can differ in other ways too. For an observational study, describe a difference in mean scores without claiming that group membership caused it.

Key Takeaways

  • One factor defines the groups; the outcome is numeric and observations are independent.
  • The null says all population means are equal; the alternative needs only one difference.
  • An omnibus result needs follow-up comparisons to locate differences.
  • Random assignment supports causal interpretation; existing groups alone do not.

1.2 Build the between-group and within-group variation

ANOVA measures how much scores vary around their overall mean, then separates that variation into a part linked to groups and a part left within groups. The separation works even when the group sizes differ.

Split a score's deviation

The study-method scores are:

MethodScoresMean
Rereading9, 10, 11, 12, 1311
Highlighting9, 12, 13, 13, 1312
Practice testing14, 14, 17, 17, 1816

Their grand mean is 13. A score of 17 in the practice-testing group is four points above it:

17−13=(16−13)+(17−16)=3+1.

Three points come from that group's mean being above the grand mean; one comes from the score being above its own group mean. In general,

yij−yˉ=(yˉj−yˉ)+(yij−yˉj).
Square and add

The total sum of squares is SST=∑j∑i(yij−yˉ)2. The between-group sum of squares is

SSB=∑jnj(yˉj−yˉ)2.

The group size counts how many scores carry that group's displacement. Here,

SSB=5(11−13)2+5(12−13)2+5(16−13)2=70.

The within-group sum of squares is

SSW=∑j∑i(yij−yˉj)2=∑j(nj−1)sj2.

The three groups contribute 10, 12, and 14, giving SSW=36. Because residuals sum to zero within each group, the cross-product terms vanish when the squared deviations are added. Thus SST=SSB+SSW=106. Software may call these parts treatment/model and error/residual.

Divide by the right degrees of freedom

The between-group part has dfB=k−1=2. The within-group part has dfW=N−k=12 because estimating each of the three group means uses one degree of freedom. The total has dfT=N−1=14.

A mean square divides a sum of squares by its own degrees of freedom:

MSB=70/2=35,MSW=36/12=3.

The within-group mean square pools the group variances. Under equal population variances it estimates the common variance whether the population means agree or differ. Under the null, the between-group mean square estimates that same variance; unequal population means add a signal to its expected value.

Weight unequal groups correctly

For group sizes 4, 6, and 5 and means 10, 15, and 13, the grand mean is

yˉ=4(10)+6(15)+5(13)15=13.

The simple average of the three means is 12.67 and gives each group equal influence despite different sizes. Using the correct grand mean gives SSB=4(10−13)2+6(15−13)2+5(13−13)2=60.

Sums of squares and their degrees of freedom add across parts. Mean squares do not: each uses a different divisor. Also check that the pooled MSW lies between the smallest and largest sample variances; an outside value indicates a calculation error.

Key Takeaways

  • Weight group means by their sample sizes when finding the grand mean.
  • The partition is SST=SSB+SSW.
  • Degrees of freedom are k−1, N−k, and N−1.
  • Divide each sum of squares by its own degrees of freedom.
  • The within-group mean square is the pooled within-group variance.
  • Sums of squares add; mean squares do not.

1.3 Read the right tail of the F distribution

The F ratio compares the spread between group means with the spread inside groups. Both quantities are estimates of variance, so their ratio has no measurement unit.

Form the signal-to-noise ratio
F=MSBMSW.

For the study-method data, F=35/3=11.67. The between-group mean square is almost 12 times the within-group estimate. To judge whether this is unusually large, compare it with the F distribution expected under equal population means.

Under the classic ANOVA assumptions and the null hypothesis, the statistic follows F(k−1,N−k). The first degree of freedom belongs to the numerator; the second belongs to the denominator. Here the distribution is F(2,12). Reversing these numbers changes the reference distribution and the p-value.

Understand the shape

An F variable is a ratio of two independent chi-square variables, each divided by its own degrees of freedom. It cannot be negative. Its distribution is right-skewed, with a long tail for large ratios. As both degrees of freedom increase, the distribution becomes more concentrated around 1.

Under the null, both mean squares estimate the same population variance, so ratios near 1 are ordinary. This does not mean that the F distribution's mean is exactly 1. When df2>2, its mean is df2/(df2−2); for F(2,12), that is 1.2.

Use one right tail

The p-value is

p=P(Fdf1,df2≥Fobserved).

A difference in either direction separates group means and increases the numerator. The F test therefore puts all rejection evidence in the right tail. Do not double the tail probability as though F were a signed t statistic.

For F(2,12), the upper 5% critical value is 3.89 and the upper 1% value is 6.93. The observed 11.67 exceeds both. The tail probability is about .0015, normally reported as .002 to three decimals. At α=.05, reject equal population mean scores.

Connect F with t

For one numerator degree of freedom, F(1,df)=t(df)2. Squaring either sign of t gives the same F. For example, the two-sided .05 critical t with 12 degrees of freedom is 2.179; squaring gives the .05 F critical value, about 4.75. The equivalence is between a two-sided t test and a right-tailed F test.

Interpret small and large values

An observed F below 1 is possible: sampling variation can make the between-group estimate smaller than the within-group estimate. It gives no evidence against equal means. A negative computed F is an arithmetic or output-reading error.

A significant F establishes statistical evidence of a mean difference, not its practical size. Large samples can detect small differences. A nonsignificant result means that the evidence is insufficient to reject the null; a small study may miss an important difference. Read effect sizes and confidence intervals alongside the test.

Key Takeaways

  • Use F=MSB/MSW with numerator df first.
  • The p-value is the area to the right of the observed F.
  • With one numerator df, F equals the square of the corresponding t statistic.
  • Significance and practical importance answer different questions.
  • A nonsignificant test leaves uncertainty about differences.
2

Carry out and report a one-way ANOVA

A useful ANOVA result includes a defensible analysis and a clear account of what the data show. Assemble the table from raw scores or group summaries, check that its parts agree, and make the decision in the study’s own terms. Then connect the same quantities to software labels and effect sizes. A reader needs the pattern of means and their spread as well as a p-value, because statistical evidence alone does not describe the size of a difference.

2.1 Carry the analysis from data to a conclusion

A complete analysis begins with the study design and ends with a conclusion about the population means. The ANOVA table records the calculation, but it cannot decide whether the observations are independent or whether the conclusion fits the research question.

Set up the test

State the outcome, factor, population hypotheses, and significance level before interpreting results. Inspect how the scores were collected and check group plots, residual normality, and group spreads. Then calculate each group's size, mean, and variance.

For the study-method experiment, the null says all three population mean test scores are equal. The alternative says they are not all equal. Use α=.05. With five students per group, the sample means are 11, 12, and 16 and the sample variances are 2.5, 3, and 3.5.

Assemble the table

The grand mean is 13. The between-group sum of squares is 70 and the within-group sum of squares is 36.

SourceSSdfMSFp
Between groups7023511.67.002
Within groups36123
Total10614

Calculate the mean squares within their own rows, then divide between by within. The total row gives the overall sum of squares and degrees of freedom; it has no ANOVA test statistic. Empty F and p cells in the within and total rows are expected.

Make the decision in context

Reject the null when p≤α. Equivalently, reject when the observed F reaches the right-tail critical value for the chosen significance level and degrees of freedom. Here, 11.67>3.89 and .002<.05.

A suitable conclusion is: “Mean test scores differed among the three study methods.” The omnibus test does not identify the differing pairs. Report follow-up comparisons to establish whether practice testing differs from each other method.

If the test were nonsignificant, write: “There was no significant difference in mean scores among the methods.” Equal effectiveness would require evidence beyond a failure to reject a difference.

Work from summary statistics

Raw scores are unnecessary for the classic table if group sizes, means, and standard deviations are available. For three online-form versions, use sizes 6, 8, and 10; means 40, 45, and 52 seconds; and standard deviations 3, 6, and 12 seconds.

The weighted grand mean is 1120/24=46.67 seconds. The group means and sizes give SSB=573.33. The within-group calculation is

SSW=5(32)+7(62)+9(122)=45+252+1296=1593.

Then MSB=573.33/2=286.67 and MSW=1593/21=75.86, producing F(2,21)=3.78, p=.040. The fourfold difference between the smallest and largest SD makes a Welch analysis important before interpreting this classic result.

Audit before reporting

Check that the SS parts sum to the total and the df parts sum to N−1. Each SS and F must be nonnegative, and the pooled within-group variance must fall within the range of group variances. Use unrounded values until the final display. Software supplies the tail probability, but these checks still help detect swapped columns, incorrect group coding, or a wrong divisor.

Key Takeaways

  • State hypotheses and the significance level before interpreting output.
  • The F ratio belongs in the between-group row; the total row has no F test.
  • Summary means, sizes, and standard deviations are sufficient for the classic table.
  • Conclude in terms of population means and the study outcome.

2.2 Read output and report size as well as significance

Different programs label the same quantities differently. Find the factor row and the residual row, then confirm which test was run before writing the report.

Translate software labels

SPSS uses “Between Groups” and “Within Groups”; R, jamovi, and JASP commonly use the factor's name and “Residuals.” R's “Pr(>F)” and SPSS's “Sig.” are p-values. “Sum Sq” means sum of squares, and “Mean Sq” means mean square.

The choice of command matters. R's aov(score ~ method) gives the classic ANOVA, while oneway.test(score ~ method) defaults to Welch's unequal-variance test. In jamovi's One-Way ANOVA, Welch is the default unless equal variances are requested. SPSS's ordinary ANOVA table is classic F; Welch appears as a separate robust test. Read the test label. A fractional denominator df signals an approximate test such as Welch or Brown–Forsythe F*, not uniquely Welch.

Calculate eta squared

Eta squared describes the fraction of sample variation associated with the factor:

η2=SSBSST=70106=.66.

About 66% of the observed test-score variation lies between study methods. This is a description of the sample, not a claim that exactly 66% of population variation is explained. Eta squared tends to overestimate the population effect, especially in small samples. In this one-way design, partial eta squared equals eta squared because the denominator contains the same between and within parts.

Calculate omega squared

Omega squared reduces much of eta squared's upward bias:

ω2=SSB−dfBMSWSST+MSW.

For the study methods,

ω2=70−2(3)106+3=64109=.59.

The correction subtracts an estimate of sampling noise from the between-group sum of squares. Name the effect-size measure in the report. Rough benchmarks near .01, .06, and .14 are often called small, medium, and large, but practical meaning depends on the outcome and the field. A difference of several test points has a meaning that a generic label cannot supply.

Write a readable result

Give each group's sample size, mean, and SD. Here, each has five students: rereading M=11.00, SD=1.58; highlighting M=12.00, SD=1.73; practice testing M=16.00, SD=1.87. A plot of individual scores or means with confidence intervals helps the reader see the pattern.

An APA-style test statement is: “Mean scores differed among study methods, F(2, 12) = 11.67, p = .002, η² = .66.” Italicize statistical symbols such as F, p, M, and SD. Keep both degrees of freedom beside F. For Welch, retain fractional denominator df, for example F(2, 13.44) = 5.53.

Write exact p-values to two or three decimals, or p < .001 for very small probabilities. Software's “.000” means rounding below the display threshold; it is never a zero probability. Omit the leading zero for p and effect-size proportions, but keep it for statistics that can exceed 1, such as F = 0.84. Continue with the planned contrasts or adjusted pairwise comparisons that answer which means differ.

Key Takeaways

  • Read the test label as well as the F and df columns.
  • Eta squared is SSB/SST and describes sample variation.
  • Omega squared corrects much of eta squared’s upward bias.
  • Report group sizes, means, SDs, F with both df, p, and a named effect size.
  • Report very small p-values as p<.001, never as zero.
3

Check the assumptions and handle unequal variances

The F test needs a suitable account of the noise in the data. Some checks concern how observations were collected; others concern the shape and spread of scores within groups. Use plots and descriptive statistics alongside formal tests, and recognize when unequal variances call for Welch’s ANOVA. Distinguishing tests of spreads from tests of means keeps a diagnostic result from being mistaken for the research result.

3.1 Check design, shape, and spread

The classic ANOVA assumes independent observations, normally distributed errors within groups, and equal population variances. These assumptions concern different features of the study and need different checks.

Independence starts with collection

Ask whether each participant supplies one independent score and whether participants influence one another. Repeated scores from the same person are related. People sharing a class, household, or treatment provider can also be clustered. Random assignment helps balance treatment groups, but assigning whole classes does not make students within a class independent.

Read the design before the output. There is no routine ANOVA diagnostic p-value that establishes independence, and collecting more dependent observations does not repair the design. Welch's method also requires independence.

Normality is a within-group claim

A residual is the difference between a score and its own group's mean:

eij=yij−yˉj.

Check histograms or dot plots by group and a normal Q-Q plot of residuals. Pooling raw scores can create two peaks simply because the group means differ; that pooled shape is not the normality assumption.

Moderate skew is often manageable when group sizes are moderate and similar. The sampling distributions of means become more nearly normal as sample sizes grow. Small groups with strong skew or extreme observations are more troublesome. A normality-test p-value needs context: small samples may miss important departures, while very large samples detect tiny ones. Inspect plots for the size and character of the departure.

Compare variances with sample sizes

Use side-by-side boxplots, group SDs, and residual-versus-group plots. Similar vertical spread supports the constant-variance model. With balanced or nearly balanced groups, classic F tolerates moderate variance differences fairly well. A rough descriptive rule treats a largest SD no more than about twice the smallest as acceptable with similar sizes; it is not a universal threshold.

The direction of imbalance matters. If smaller groups have larger variances, the classic test can reject a true null too often. If larger groups have larger variances, it tends to be conservative. In simulated equal-mean data with sizes 10, 8, and 6 and SDs 3, 6, and 12, classic F rejected about 13% of the time at .05, compared with about 5% for Welch. This illustrates why the size–variance pairing matters beyond the variance ratio alone.

Respond to the actual problem

For unequal variances, use Welch and follow-ups that allow unequal spreads, such as Games–Howell. For an extreme score, first check recording and measurement. If it is genuine, examine sensitivity with and without it and report the difference; removing data to obtain significance biases the analysis.

For positive, strongly right-skewed outcomes, a log transformation can improve the model, but then the test concerns means on the log scale. Robust methods based on trimmed means and rank-based methods offer other approaches when severe departures remain. Choose the method for its assumptions and scientific question, not for the smallest p-value.

Key Takeaways

  • Independence is justified by the design and data collection.
  • Check normality within groups or through residuals.
  • Unequal spreads are especially risky when group sizes differ.
  • Small groups with large variances can make classic F liberal.
  • Welch handles unequal variances, while other problems need their own response.
  • Check genuine outliers transparently instead of deleting them to change significance.

3.2 Use Levene’s test to assess spreads

Levene's test asks whether population variances are equal. Its null is σ12=⋯=σk2; its alternative is that at least one variance differs. This is a question about spread, separate from ANOVA's question about means.

Turn spread into a new outcome

For each original score, calculate its absolute distance from its own group's mean:

zij=∣yij−yˉj∣.

Run an ordinary one-way ANOVA on these distances. A group with a greater spread tends to have greater absolute distances. The reference distribution has k−1 and N−k degrees of freedom.

In the study-method data, the mean-centered distances are:

  • Rereading: 2, 1, 0, 1, 2; mean 1.2.
  • Highlighting: 3, 0, 1, 1, 1; mean 1.2.
  • Practice testing: 2, 2, 1, 1, 2; mean 1.6.

ANOVA on these distances gives F(2,12)=0.36, p=.70. There is no evidence of different population variances. This result does not answer whether mean test scores differ.

Center on medians for Brown–Forsythe

The median-based Brown–Forsythe version of Levene's test uses ∣yij−y~j∣, where the tilde marks the group median. Medians resist the pull of skew and extreme values better than means, making this version a useful default for many nonnormal distributions.

The group medians are 11, 13, and 17. The median-centered distances are 2, 1, 0, 1, 2; then 4, 1, 0, 0, 0; then 3, 3, 0, 0, 1. Their ANOVA gives F(2,12)=0.10, p=.91. R's car::leveneTest() uses median centering unless changed.

Read the hypothesis behind the label

SPSS may print separate mean-based and median-based rows in a homogeneity-of-variances table. Record the center used. A concise statement is: “The mean-based Levene test gave F(2, 12) = 0.36, p = .70.”

The name Brown–Forsythe also labels an unequal-variance F* test of means. The median-centered variance test and the F* means test are different procedures. Ask whether the null concerns variances or means before interpreting either output.

Combine the test with descriptive evidence

A large Levene p-value leaves equal variances plausible but does not establish them. A small sample can miss a consequential difference; a large sample can detect a minor one. Read group SDs, sample sizes, and plots too.

Choosing classic F only when Levene is nonsignificant creates a two-stage procedure with its own error behavior. Welch can be chosen directly, and often sacrifices little power under equal variances. Treat Levene as evidence about the data's spreads, not as a compulsory switch.

Bartlett's variance test has good power under normality but is sensitive to nonnormal shape. Skew itself can trigger it. Levene's greater robustness is useful when normality is doubtful.

Key Takeaways

  • Levene tests equal population variances, not equal means.
  • Its original version analyzes absolute distances from group means.
  • The median-centered version is more robust to skew and outliers.
  • Brown–Forsythe names two different tests; check the null hypothesis.
  • Use variance-test results alongside SDs, sample sizes, and plots.

3.3 Weight group means in Welch’s ANOVA

Welch's ANOVA tests equal population means while allowing unequal population variances. It gives more influence to precisely estimated group means and adjusts the reference distribution for uncertainty in their variances.

Calculate precision weights

For each group, use

wj=njsj2,W=∑jwj,yˉw=∑jwjyˉjW.

The weight is the inverse of the estimated variance of a sample mean. A large sample helps precision; a large variance reduces it. Weighting only by group size would ignore the unequal spreads.

For online-form times, versions A, B, and C have sizes 6, 8, and 10; means 40, 45, and 52 seconds; and SDs 3, 6, and 12 seconds. Their weights are 6/9=.667, 8/36=.222, and 10/144=.069. Carrying full precision gives W=.9583 and yˉw=42.03 seconds. This is closer to A than the ordinary grand mean of 46.67 because A's mean is much more precise.

Adjust the weighted separation

Define

Λ=∑j(1−wj/W)2nj−1.

The statistic is

FW=∑jwj(yˉj−yˉw)2/(k−1)1+2(k−2)k2−1Λ.

For these data, the weighted numerator is 5.81 and Λ≈.198. The denominator correction is about 1.050, so FW=5.53. Use full precision for all intermediate quantities; the displayed rounded weights are for reading the calculation.

The reference degrees of freedom are

df1=k−1,df2=k2−13Λ.

Here, df1=2 and df2=13.44, giving p=.018. Fractional denominator df are expected and should be retained in reporting: “Welch's F(2, 13.44) = 5.53, p = .018.”

Compare tests without choosing the smaller p

The classic calculation gives F(2,21)=3.78, p=.040. Here the largest group has the largest variance, which makes classic F conservative. Reverse the sizes to 10, 8, and 6 while keeping means and SDs unchanged, and classic F becomes more liberal: F=5.40, p=.013, versus Welch's F=4.50, p=.044. Welch is not a method for making p larger or smaller; it models unequal precision.

Keep the remaining assumptions

Welch still needs independent observations and reasonably well-behaved within-group distributions. Each group needs at least two observations and a nonzero sample variance for these formulas. Strong skew in very small groups still requires attention.

The Brown–Forsythe F* test is another unequal-variance test of means. For the original form data it gives F∗(2,15.04)=5.00, p=.022. Distinguish it from the median-based variance diagnostic. After Welch, use Games–Howell for all pairs or separate-variance contrast tests so the follow-up analysis also allows unequal spreads.

Key Takeaways

  • Welch tests the same equal-means null while allowing unequal variances.
  • Its precision weights are nj/sj2.
  • Report the fractional denominator df without replacing it by N−k.
  • Welch still requires independence and attention to group distributions.
  • Use unequal-variance follow-up comparisons after Welch.
4

Find out which means differ

An omnibus result says that the population means are not all equal, but research usually asks more specific questions. A planned comparison can test one predicted pattern; an exploratory analysis may examine every pair. Choose the family of comparisons and its error control with the research question in mind. Contrast weights, standard errors, and adjusted intervals then connect a scientific claim to a result in the outcome’s original units.

4.1 Control false positives across a family of tests

One test has one opportunity for a Type I error. A collection of tests has several. The familywise error rate (FWER) is the probability of rejecting at least one true null hypothesis in the family, including situations where some other null hypotheses are false.

Define and count the family

For all pairwise comparisons among k groups, the number of tests is m=k(k−1)/2. Four groups give six pairs, and six groups give 15. Choose the family before examining the results; counting only the pairs that look promising understates the search.

When all tested nulls are true and the tests are independent, FWER=1−(1−α)m. Pairwise comparisons share observations and are dependent, so this is not their exact probability. The general Bonferroni bound is FWER≤mα, capped at 1.

Apply Bonferroni once

For a family of m tests at family level α, compare each unadjusted p-value with α/m. Equivalently, multiply each p-value by m, cap it at 1, and compare the adjusted value with α. These are two representations of the same correction; applying both would correct twice.

The three pooled study-method comparisons have unrounded p-values approximately .0006, .0033, and .379. Bonferroni compares them with .05/3=.0167, so the first two reject. Their adjusted p-values round to .002, .010, and 1.000. Bonferroni controls FWER regardless of dependence, though its conservatism can reduce power when the family is large.

Step through Holm

Order the unadjusted p-values from smallest to largest. Compare them in sequence with α/m, α/(m−1), and so on. Stop at the first failure; all remaining hypotheses stay unrejected.

For the study-method comparisons, .0006 passes .0167; about .0033 passes .025; .379 fails .05. Holm-adjusted p-values round to .002, .007, and .379. Holm provides the same general FWER protection as Bonferroni and rejects at least as many hypotheses.

To form adjusted Holm p-values, multiply ordered p-values by the descending numbers of remaining tests, take cumulative maxima so they never decrease, and cap at 1. Restore each result to its original comparison. Multiplying without the cumulative-max step can give an inconsistent sequence.

Distinguish the target error rate

The false discovery rate (FDR) is the expected proportion of false positives among rejected hypotheses. FWER instead limits the chance of any false positive. Benjamini–Hochberg targets FDR and is often useful for large screening studies; Holm or a purpose-built comparison procedure is useful for a small family of group comparisons.

Correct the family of follow-up tests, not the single omnibus F merely because several groups were included. Stronger error protection usually costs power for a fixed sample and testing strategy: it can prevent false positives while missing more real differences.

Key Takeaways

  • Define the comparison family before looking at its results.
  • There are k(k−1)/2 possible pairs.
  • Bonferroni uses α/m or adjusted p-values, once.
  • Holm tests ordered p-values and stops at the first failure.
  • FWER limits any false positive; FDR concerns the proportion among rejections.
  • Error protection and power must be considered together.

4.2 Translate a research claim into contrast weights

A contrast expresses a specific comparison as a weighted sum of population means:

ψ=∑jcjμj,∑jcj=0.

Its estimate uses sample means: ψ^=∑jcjyˉj. The zero-sum rule makes the contrast zero whenever all means are equal.

Build weights in the group order

To compare practice testing with the average of rereading and highlighting, use weights (−1/2,−1/2,1) in that order. With means 11, 12, and 16,

ψ^=16−11+122=4.5

points. Positive weights identify one side of the comparison, negative weights the other, and zero weights leave a group out. For rereading minus highlighting, use (1,−1,0).

Weights (−1,−1,2) express the first comparison on a doubled scale and give an estimate of 9. Both estimate and standard error double, so the t statistic and two-sided p-value stay unchanged. Reversing every sign instead reverses the estimate and t, while preserving the two-sided p-value. Weights with positive entries summing to 1 and negative entries summing to −1 express a difference between weighted averages in the original outcome units.

Weights (1,1,−1) fail the zero-sum rule. With all means equal to 13, they produce 13, so they do not test a departure from equal means. Check both the sum and the software's group order before running the comparison.

Choose contrasts that carry separate information

In a balanced design, contrasts c and d are orthogonal when ∑jcjdj=0. For (−1,−1,2) and (1,−1,0), the product sum is −1+1+0=0. The first compares practice testing with the other methods; the second compares those two other methods with each other.

With unequal sample sizes, use ∑jcjdj/nj=0 for orthogonality of the contrast estimates under the pooled-variance model. The simple product check is insufficient.

A full set of k−1 orthogonal contrasts partitions the between-group sum of squares. Each has one degree of freedom and

SSψ=ψ^2∑jcj2/nj.

Here, the first contrast gives 4.52/.30=67.5 and the second gives (−1)2/.40=2.5. They add to SSB=70.

Build a full orthogonal set by splitting groups into sets, then splitting within each set. For a waiting-list control, two online therapies, and one face-to-face therapy, use (−3,1,1,1) for control versus therapies, (0,1,1,−2) for online versus face-to-face, and (0,1,−1,0) for the two online therapies. Every pair has product sum zero in a balanced design.

Test trends only when levels support them

For three equally spaced, ordered levels with equal group sizes, linear weights (−1,0,1) test a straight trend and quadratic weights (1,−2,1) test curvature. With four such levels, linear, quadratic, and cubic weights are (−3,−1,1,3), (1,−1,−1,1), and (−1,3,−3,1). Arbitrary categories such as three study methods do not acquire a meaningful trend merely because they are coded 1, 2, and 3.

Separate planned from selected after inspection

Planned contrasts are chosen before viewing the outcomes. A common convention tests up to k−1 orthogonal planned contrasts at the usual per-contrast significance level; that convention does not provide familywise .05 protection. Use Holm or Bonferroni when familywise control is required, especially for larger or overlapping families. A pattern chosen because its sample means look far apart is post hoc and needs protection appropriate to that search, such as Scheffé's method for arbitrary contrasts.

Key Takeaways

  • Contrast weights sum to zero and follow the stated group order.
  • Scaling weights preserves the test while changing the estimate’s scale.
  • Orthogonality uses sample-size-adjusted products when group sizes differ.
  • A complete orthogonal set partitions the between-group sum of squares.
  • Polynomial trends need meaningful, equally spaced ordered levels.
  • Planned timing and familywise error control are separate decisions.

4.3 Test a contrast and interpret its interval

A contrast estimate describes a difference; its standard error describes uncertainty in that difference. Compare the estimate with its standard error, using a variance model that fits the groups.

Use the pooled error variance

Under equal variances,

SE(ψ^)=MSW∑jcj2nj,t=ψ^SE(ψ^).

Use df=N−k, the degrees of freedom behind the pooled error variance. Every group contributes through its own sample size; a zero weight contributes nothing to the sum.

For practice testing minus the average of rereading and highlighting, c=(−1/2,−1/2,1) and ψ^=4.5 points. Each group has five scores and MSW=3:

∑jcj2/nj=(.25+.25+1)/5=.30.

Therefore SE=3(.30)=.949 and t(12)=4.74, p<.001. A negative estimate would simply indicate the direction opposite to the positive side of the weights.

Show the plausible size of the difference

For one two-sided 95% contrast interval, use

ψ^±t.025,N−kSE.

The critical t here is 2.179, giving 4.5±2.179(.949), or [2.43,6.57] points. Report: “Practice testing scored 4.5 points higher than the average of the other methods, 95% CI [2.43, 6.57], t(12) = 4.74, p < .001.”

For rereading minus highlighting, the estimate is −1 and SE=3(2/5)=1.095. Its 95% interval is [−3.39,1.39]. It includes zero and sizable differences in both directions, so it supports neither a detected difference nor a conclusion of equivalence. For a family of intervals, use critical values that match the chosen familywise correction.

Connect the contrast to ANOVA

Each contrast has one numerator degree of freedom:

F(1,N−k)=SSψ/MSW=t2.

The practice-testing contrast has SSψ=67.5, so F=67.5/3=22.5. This equals the square of the unrounded t statistic. Doubling all weights doubles both estimate and SE and leaves t unchanged.

Allow unequal group variances

Replace the pooled variance with the separate group contributions:

SE=∑jcj2sj2/nj.

Writing vj=cj2sj2/nj, the Welch–Satterthwaite degrees of freedom are

df=(∑jvj)2∑jvj2/(nj−1).

For the same study-method contrast, these give SE=.987, t=4.56, and df=7.2. Do not combine that SE with the pooled version's 12 df. Software may show both equal-variance and unequal-variance contrast rows; use the internally matched statistic, df, p, and interval.

A planned contrast can be tested even when the omnibus F is nonsignificant. It concentrates one degree of freedom on a predicted pattern, whereas the omnibus test spreads its numerator degrees of freedom over all patterns. Its eligibility comes from the research plan and error-control strategy, not from first passing an omnibus significance gate.

Key Takeaways

  • Use pooled MSW and N−k df together in an equal-variance contrast test.
  • An interval reports magnitude and uncertainty, not only a decision.
  • A one-df contrast satisfies F=t2.
  • Separate-variance standard errors need matching Welch–Satterthwaite df.
  • A planned contrast does not require a significant omnibus F first.

4.4 Choose the comparison procedure that fits the question

Post-hoc procedures protect an exploratory comparison family from false positives. The right method depends on which comparisons matter and whether a common within-group variance is credible.

Compare every pair with Tukey

For equal variances and equal group sizes, Tukey's HSD uses the studentized range critical value qα(k,N−k). A pair is significant when its absolute mean difference exceeds

HSD=qαMSW/n.

For the study methods, q.05(3,12)=3.77, giving HSD=3.773/5=2.92. Differences of 5 and 4 points exceed this threshold; the 1-point difference does not. Adjusted p-values are .002, .009, and .643. The corresponding simultaneous intervals are [2.08, 7.92], [1.08, 6.92], and [−1.92, 3.92] points in those positive comparison directions.

For unequal sizes, Tukey–Kramer uses the pair-specific margin

qαMSW2(1ni+1nj).

It still assumes equal population variances. Tukey controls the all-pairs family by itself; a significant omnibus F is not a prerequisite.

Allow unequal spreads with Games–Howell

Games–Howell uses each pair's separate-variance standard error si2/ni+sj2/nj, Welch degrees of freedom, and a studentized range adjustment. It is the usual all-pairs follow-up to Welch's ANOVA.

For the online-form data, version C minus A is 12 seconds, with SE=3.99 and df=10.76; its adjusted p-value is .030. A–B and B–C give .149 and .275. Only A–C is detected at .05. The other nonsignificant pairs remain uncertain; they have not been shown equal.

Match narrower or broader families

Dunnett's test compares each treatment with one control. It omits treatment-to-treatment pairs, gaining power for the comparisons the study actually targets. With rereading as control, adjusted p-values are .576 for highlighting and .001 for practice testing.

Scheffé's method protects all possible contrasts, including complex combinations selected after seeing the data. Its threshold on the contrast t scale is

∣t∣>(k−1)Fα(k−1,N−k).

For three groups and 12 residual df, the threshold is about 2.79. Scheffé is more conservative than Tukey for pairwise questions. Its ordering relative to Bonferroni depends on the number of comparisons and degrees of freedom.

Fisher's protected LSD runs pooled pairwise t tests only after a significant omnibus F. This provides familywise protection for exactly three groups under the classic model, but can exceed the chosen familywise error rate with four or more groups.

Report the comparisons you actually tested

Name the procedure, give differences with their direction and adjusted p-values or simultaneous intervals, and identify the family. An overall significant F can coexist with no significant pair because the overall pattern and the protected individual pairs have different tests. Conversely, a protected pair can be significant when the overall test is not. Read each result against its own hypothesis and error control.

Key Takeaways

  • Tukey–Kramer allows unequal sizes while retaining the equal-variance assumption.
  • Use Games–Howell for all pairs with unequal variances.
  • Dunnett targets treatment-versus-control comparisons.
  • Scheffé protects arbitrary contrasts chosen after inspecting data.
  • Protected LSD lacks general familywise control with four or more groups.
  • Report direction, magnitude, and adjusted uncertainty for each comparison.
  • Omnibus and comparison tests can reach different significance decisions.
5

Treat ANOVA as a linear model

ANOVA and regression describe the same fitted group means when the categorical predictor is coded correctly. Coding changes what the intercept and slopes mean, while a complete model keeps its predictions and overall F test. Work from dummy variables to effect and contrast coding, then use the residuals to reconnect the model with its assumptions. This makes software coefficients easier to read and exposes why arbitrary numeric group labels can fit the wrong model.

5.1 Fit group means with dummy variables

A one-way ANOVA is a linear model. It predicts each observation from its group membership. The difference between the observation and that prediction is the residual.

Write the group-means model

One form is

yij=μ+αj+εij.

Here μ is an overall level, αj is a group effect under a chosen coding constraint, and εij is an error. Classic inference assumes independent, normally distributed errors with mean zero and common variance σ2. The fitted value for every member of group j is yˉj.

Turn a factor into indicators

With k groups and an intercept, create k−1 dummy variables. Each is 1 for one group and 0 otherwise. The reference group has zero on all dummies.

For the study methods, choose rereading as reference. Let DH mark highlighting and DP mark practice testing:

MethodD_HD_P
Rereading00
Highlighting10
Practice testing01

The fitted equation is

y^=11+1DH+5DP.

The intercept is rereading's mean of 11. The highlighting slope is 12−11=1 and the practice-testing slope is 16−11=5. Substituting each row gives predictions of 11, 12, and 16. A slope is a difference from the reference group, not that group's own mean.

Read coefficient tests and the overall test separately

A dummy-coefficient t test compares its group with the reference using the pooled residual variance. Here highlighting gives t(12)=.91, p=.379, and practice testing gives t(12)=4.56, p<.001. These coefficient p-values have no automatic correction for the family of comparisons.

The overall regression F tests whether all group slopes are zero. That is the same as asking whether all population means are equal. It gives F(2,12)=11.67, exactly the ANOVA result. The regression residual mean square is MSW=3 and

R2=SSmodelSST=70106=.66=η2.
Change the reference without changing the fit

With practice testing as reference, the intercept becomes 16 and the two slopes become −5 and −4. Their meanings and individual tests change, but every group's predicted mean, the residuals, R², and the overall F stay the same. Reparameterizing a full group-means model does not change the data it fits.

Avoid two coding errors

Including all k indicators alongside an intercept creates perfect dependence: each row's indicators sum to 1. One column can be reconstructed from the others and the coefficients are not uniquely determined. This is the dummy variable trap.

Entering labels 1, 2, and 3 as a single numeric predictor creates a different problem. It fits one straight-line trend through arbitrary codes, using only one slope. For the study-method data it captures SS=62.5 and R2=.59, missing some of the factor's SSB=70. Declare the predictor categorical so that the model can fit each mean freely.

Key Takeaways

  • Use an intercept and k−1 dummy variables for a full group-means model.
  • The dummy-coded intercept is the reference mean; slopes are differences from it.
  • The model F, residual variance, and R² match ANOVA’s F, MSW, and eta squared.
  • Reference changes alter coefficient meanings while preserving fit.
  • Coefficient p-values are unadjusted unless a correction is applied.
  • Arbitrary numeric labels impose a trend instead of fitting a categorical factor.

5.2 Change coefficient meanings and check residuals

Different valid coding systems can describe the same set of fitted group means. Read the coding table before interpreting the intercept or any slope.

Interpret effect coding

For three groups, use two columns, coding rereading as (1,0), highlighting as (0,1), and practice testing as (−1,−1). The fitted equation becomes

y^=13−2ER−1EH.

The intercept 13 is the unweighted mean of the three group means. The slopes −2 and −1 are rereading's and highlighting's deviations from it. Practice testing's effect is the negative sum of the two slopes, +3, so its prediction is 16.

With unequal group sizes, this intercept still averages the group means equally. It need not equal the grand mean of all observations. For sizes 4, 6, and 5 and means 10, 15, and 13, effect coding gives an intercept of 12.67, while the size-weighted grand mean is 13.

Relate contrast codes to contrast estimates

In a balanced design, enter a complete orthogonal set of contrast weights as predictor columns. For the study methods, use C1=(−1,−1,2) and C2=(1,−1,0). The fitted equation is

y^=13+1.5C1−.5C2.

A slope is the contrast estimate divided by its squared-weight sum. For the first column, ψ^=9 and ∑cj2=6, so b1=9/6=1.5. The second gives −1/2=−.5. These slopes are scaled versions of the contrasts, and their t tests reproduce the planned contrast tests: 4.74 and −.91.

This direct weight-as-code shortcut needs the orthogonal setup. Entering nonorthogonal columns (−1,0,1) and (−1,1,0) gives slopes 3 and −1 for these data, not the intended pairwise differences of 5 and 1. Test the desired combinations of group means directly, or build codes that produce them. With unequal sizes, also distinguish the orthogonality rule for contrast estimates from the weighting of predictor columns.

Keep the design matrix full rank

The intercept and coded columns must be linearly independent. Three distinct rows alone are insufficient: rows (1,2), (2,4), and (3,6) differ, but one predictor is twice the other. That model cannot freely estimate all three means.

Any full-rank recoding with an intercept and k−1 group columns fits the same means. Predictions, residuals, SSW, R², and the overall F are unchanged; only coefficient interpretations change.

Diagnose the fitted errors

Each residual is eij=yij−yˉj. Residuals sum to zero within a group, and ∑eij2/(N−k) equals MSW. A residuals-versus-fitted plot has one vertical strip for each distinct fitted group mean; groups with equal means share a strip. Similar strip widths support equal variances. A normal Q-Q plot checks the shape of residuals.

R's lm(score ~ method) normally uses treatment coding with the first factor level as reference; contr.sum supplies effect coding. Check the actual factor order and coding settings whenever interpreting software coefficients.

Key Takeaways

  • Effect coding centers group effects on the unweighted mean of group means.
  • In a balanced orthogonal setup, contrast-coded slopes are scaled contrast estimates.
  • Nonorthogonal weight columns need not test the intended contrasts.
  • Full-rank recoding preserves predictions, residuals, and the overall test.
  • Residual plots check the same error assumptions in regression and ANOVA.

One-Way ANOVA examples

5 Walkthroughs

1

From different means to an F test

15 steps
Follow three independent groups from the study question through a variance partition and a right-tail decision.
  1. 1
    IntroductionWhy three different means are not enough

    Three interface layouts produce different sample mean completion times. Is the separation more than ordinary sampling noise could explain?

    Follow one factor, two sources of variation, and one F ratio. The group means summarize the pattern, but the spread of scores inside the groups determines how surprising that pattern is.

  2. 2
    ExampleIdentify the layout study

    Twelve adults are randomly assigned to layouts A, B, and C, four adults per layout. Each completes one task, timed in seconds.

    The factor is layout, with three levels. Time is the numeric outcome. This is a balanced independent-groups design: k=3, nj=4, and N=12. Each adult contributes to only one group.

  3. 3
    ExplanationState what equality means

    The null is H0:μA=μB=μC, where each mean describes a population of task times under one layout.

    The alternative says that the population means are not all equal. It includes a case where A and B agree but C differs. Sample differences alone are expected even under the null; the test asks how large they are relative to noise.

  4. 4
    ChallengeWhat if the same adults try every layout?

    Suppose each of the 12 adults instead tries A, B, and C. Does the independent-groups analysis still fit? Explain the design issue.

    ---reveal---

    No. Each adult now contributes related scores across conditions. A repeated-measures analysis must account for that dependence. The number of layouts has not changed, but the relationship between the observations has.

  5. 5
    ExampleLocate one score around two means

    The three sample means are 10, 12, and 17 seconds. With equal group sizes, the grand mean is 13 seconds.

    Consider a score of 18 seconds from group C. Its total deviation is 18−13=5 seconds. Split it as (17−13)+(18−17)=4+1: four seconds from group location and one from the score’s distance above its own group mean.

  6. 6
    ExplanationMake distances contribute without canceling

    Adding signed deviations would cancel positive and negative distances. ANOVA instead squares deviations and adds them.

    The total squared variation splits into between-group and within-group sums of squares. The within-group residuals sum to zero inside each group, so the cross-product terms cancel and SST=SSB+SSW.

  7. 7
    ExampleCount the between-group displacement

    Each group has four scores, so each group’s displacement from the grand mean counts four times:

    SSB=4(10−13)2+4(12−13)2+4(17−13)2.

    The contributions are 36, 4, and 64, totaling 104. Omitting the group-size multipliers would measure the spread of three means without accounting for the 12 scores those means represent.

  8. 8
    ExamplePool the within-group spread

    Suppose each group’s sample variance is 4 seconds squared. Each variance was estimated with three degrees of freedom.

    The within-group sum of squares is SSW=3(4)+3(4)+3(4)=36. The total sum of squares is therefore 104+36=140. This step uses the group variances, not the distances among their means.

  9. 9
    ExplanationPut both estimates on a variance scale

    Between-group df are k−1=2; within-group df are N−k=9. Divide each sum of squares by its own df:

    MSB=104/2=52,MSW=36/9=4.

    Under equal population means and equal variances, both mean squares estimate the same error variance. A real separation of means increases the expected between-group estimate.

  10. 10
    ChallengeWhat changes if the group sizes differ?

    A separate study has group sizes 2, 4, and 6 with means 5, 8, and 11. Is its grand mean 8? Find the correct mean.

    ---reveal---

    The score total is 2(5)+4(8)+6(11)=108, so the grand mean is 108/12=9. The unweighted mean 8 gives every group the same influence even though the final group contains half the observations.

  11. 11
    ExampleForm the ratio

    For the layout study,

    F=MSB/MSW=52/4=13.

    Compare it with F(2,9) under the null, using between-group df first and within-group df second. F is a unit-free ratio: the squared-seconds units in its numerator and denominator cancel.

  12. 12
    ExplanationLook to the right

    Larger separation of means raises F, regardless of which layout has the higher mean. Evidence against equality therefore lies in the right tail.

    For F(2,9)=13, the right-tail probability is about .002. It is the probability of an F at least this large under the null and model assumptions. Do not double this probability.

  13. 13
    Key InsightA ratio near one is noise-compatible

    Under equal means, both mean squares estimate the same noise variance, making ratios near one unsurprising. Sampling noise can even produce an F below one.

    The reference distribution still depends on both df. Its mean is not exactly one, and a negative F is impossible because neither mean square can be negative.

  14. 14
    ChallengeWhat can the significant result locate?

    At α=.05, the layout study rejects the omnibus null. Can that result establish that C differs from both A and B?

    ---reveal---

    The result establishes only that the population means are not all equal. C has the largest sample mean, but each population comparison needs its own protected follow-up. The between/within ratio summarizes the whole pattern without testing those two pairs separately.

  15. 15
    RecapCarry the comparison forward

    The model separates group location from residual spread, then compares the two variance estimates using the proper F distribution.

    The next task is to turn that calculation into an auditable table and a report. Keep the overall question distinct from the pairwise questions that follow; report magnitude and uncertainty alongside evidence against equality.

2

Build a table and a useful report

13 steps
Complete a classic ANOVA from group summaries, then report the result with descriptive statistics and effect sizes.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionMake the analysis readable
  2. 2
    ExampleStart with the study and summaries
  3. 3
    ExampleCalculate both sums of squares
  4. 4
    ExampleFinish the test row
  5. 5
    ChallengeCatch the incorrect residual df
  6. 6
    ExplanationState the decision at the chosen level
  7. 7
    ConnectionTranslate the residual row
  8. 8
    ExampleDescribe the sample variance share
  9. 9
    ExampleCorrect part of the upward bias
  10. 10
    ChallengeRead a rounded p-value safely
  11. 11
    ExampleWrite the report
  12. 12
    ChallengeCheck the report against the design
  13. 13
    RecapKeep evidence and magnitude together
3

Choose a variance model from design and diagnostics

18 steps
Check independence, interpret spread diagnostics, and work through Welch precision weighting without mixing tests of means and variances.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionCheck what makes the test trustworthy
  2. 2
    ExplanationBegin with the collection process
  3. 3
    ExampleLook inside each group
  4. 4
    TipRead spread and size together
  5. 5
    ChallengeDoes Welch repair shared observations?
  6. 6
    ExplanationTurn variability into distances
  7. 7
    ExplanationUse a center that resists skew
  8. 8
    ChallengeSeparate two p-values
  9. 9
    Key InsightA large diagnostic p leaves uncertainty
  10. 10
    ExampleSet up an unequal-spread example
  11. 11
    ExampleGive precision its weight
  12. 12
    ExampleMeasure weighted separation
  13. 13
    ExampleApply the correction and reference df
  14. 14
    ChallengeWhich group counts more?
  15. 15
    ConnectionKeep the follow-up variance model consistent
  16. 16
    TipKeep Welch’s remaining requirements
  17. 17
    ChallengeMake a coherent analysis choice
  18. 18
    RecapKeep each check tied to its question
4

Turn a research claim into protected comparisons

23 steps
Build contrast weights, test their estimates, and choose follow-up procedures that match the comparison family.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionMove from an overall pattern to a claim
  2. 2
    ExplanationDefine the family before seeing outcomes
  3. 3
    ExampleUse one Bonferroni adjustment
  4. 4
    ExampleStep down with Holm
  5. 5
    ChallengeStop when the sequence fails
  6. 6
    ExampleWrite the intended difference
  7. 7
    ExplanationChoose a scale you can explain
  8. 8
    ExampleCheck two comparisons for overlap
  9. 9
    ChallengeCan zero-sum weights make a contrast planned?
  10. 10
    ConnectionRecognize trend questions
  11. 11
    ExampleBuild the contrast standard error
  12. 12
    ExampleForm the signed test and interval
  13. 13
    Key InsightThe same comparison has a one-df F
  14. 14
    ExplanationReplace pooling when variances differ
  15. 15
    ChallengeRead an uncertain difference
  16. 16
    ExplanationProtect all pairs with Tukey
  17. 17
    ExampleApply one simultaneous threshold
  18. 18
    ConnectionLet the family select a method
  19. 19
    TipDo not rely on an omnibus gate alone
  20. 20
    ChallengeChoose the whole analysis chain
  21. 21
    Key InsightA different error target suits screening
  22. 22
    ChallengeKeep planned timing and error control separate
  23. 23
    RecapReport what the comparison supports
5

Read the same ANOVA through different regression codes

17 steps
Fit group means with indicators, change coefficient meanings, and connect the unchanged residuals to diagnostic plots.

Save this lesson to follow every Walkthrough step by step.

  1. 1
    IntroductionOne set of predictions, several descriptions
  2. 2
    ExampleStart with a reference group
  3. 3
    ExplanationSeparate coefficient and overall tests
  4. 4
    ChallengeChange the reference
  5. 5
    TipLeave one indicator out
  6. 6
    ConnectionFind the same variance proportion
  7. 7
    ChallengeWhat does one numeric code impose?
  8. 8
    ExampleCenter effects on the mean of means
  9. 9
    ChallengeKeep the intercept’s weighting straight
  10. 10
    ExampleUse orthogonal contrast columns
  11. 11
    ExampleCheck the coded predictions
  12. 12
    Key InsightRaw weights are not always coefficient tests
  13. 13
    ChallengeDistinct rows can still be dependent
  14. 14
    ExampleFollow one score into the residuals
  15. 15
    ExplanationRead the strips in a residual plot
  16. 16
    ChallengeCan recoding repair unequal spreads?
  17. 17
    RecapRead coefficients through their codes

One-Way ANOVA practice questions

60 Practice Questions in 6 sets

Set 1: Complete the table and interpret the report10 Practice Questions

Question 1 of 10

An ANOVA table labels one row “Residuals.” Which source of variation does it represent?
  1. Between-group variation
  2. Within-group variation
  3. Total sample variation
  4. Variation of group sizes
Show answerHide answer
Answer: B
Residuals are scores minus their fitted group means, so the residual row contains within-group variation. The factor row contains between-group variation. Calling residual variation total variation overlooks the part captured by differences between the fitted group means.

Question 2 of 10

A study reports between-group SS = 48 and within-group SS = 112. What is eta squared?
  1. 0.43
  2. 0.70
  3. 0.24
  4. 0.30
Show answerHide answer
Answer: D
Eta squared divides between-group SS by total SS. The total is 48 + 112 = 160, so the proportion is 48/160 = .30. Dividing 48 by 112 gives .43, but that compares model variation only with residual variation instead of with all observed variation.

Question 3 of 10

A study set α = .01 before analysis and obtained p = .018. What is the correct decision?
  1. Do not reject equal population means.
  2. Reject equal population means.
  3. Accept identical population means.
  4. Change α to .05 and reject.
Show answerHide answer
Answer: A
The p-value .018 exceeds the chosen .01 significance level, so the result does not reject the equal-means null. It would pass a .05 threshold, but changing the threshold after seeing the result changes the decision rule. A failure to reject is also insufficient to establish identical population means.

Question 4 of 10

Software displays the ANOVA p-value as .000 to three decimals. How should it be reported?
  1. p = .000
  2. p = 0
  3. p < .001
  4. p > .001
Show answerHide answer
Answer: C
The displayed .000 is a rounded very small probability, not an exact probability of zero. Reporting p < .001 preserves that information without claiming impossible precision. Writing p = .000 treats the software display as an exact value and misrepresents the tail probability.

Question 5 of 10

An ANOVA has three groups, between-group SS = 60, total SS = 180, and within-group MS = 5. What is omega squared?
  1. 0.270
  2. 0.333
  3. 0.324
  4. 0.286
Show answerHide answer
Answer: A
Omega squared subtracts (k − 1) times the residual MS from the between-group SS, then divides by total SS plus residual MS. Here it is (60 − 2×5)/(180 + 5) = 50/185 = .270. The value .333 is eta squared and omits the bias correction.

Question 6 of 10

Four independent groups each have six observations. The between-group SS is 90 and total SS is 210. Software gives p = .010 for the classic F test. Which result is internally consistent?
  1. F(3, 23) = 5.75; reject at α = .05.
  2. F(4, 20) = 3.75; reject at α = .05.
  3. F(3, 20) = 5.00; reject at α = .05.
  4. F(3, 20) = 0.20; do not reject at α = .05.
Show answerHide answer
Answer: C
Within-group SS is 210 − 90 = 120, with 24 − 4 = 20 df, so its MS is 6. Between-group MS is 90/3 = 30, giving F = 5 and rejection at .05. Using 23 denominator df substitutes total df for residual df and changes both the ratio and reference distribution.

Question 7 of 10

In a one-way ANOVA, η² = .18. What does this value describe?
  1. The probability the null hypothesis is true.
  2. The exact population variation caused by the factor.
  3. The fraction of group means that differ significantly.
  4. The sample variation associated with the factor.
Show answerHide answer
Answer: D
Eta squared is the proportion of total sample variation lying between groups. Here that proportion is 18%. It is not the exact population proportion, because the sample estimate varies and tends to be biased upward; causal wording would also require support from the study design.

Question 8 of 10

A classic table reports group variances 3, 5, and 7 but within-group MS = 9. What should be checked first?
  1. Whether the largest group mean exceeds 9.
  2. The calculation or transcription of within-group MS.
  3. Whether between-group MS is greater than 9.
  4. Whether total SS is larger than between-group SS.
Show answerHide answer
Answer: B
The pooled within-group MS is a weighted average of the group variances using their residual degrees of freedom. It must lie between 3 and 7, so 9 signals an error. Large separation of group means can increase the between-group MS but cannot push this within-group average outside its variance range.

Question 9 of 10

A report gives F(2, 27) = 4.50 and total SS = 144. What is omega squared for this classic one-way ANOVA?
  1. 0.250
  2. 0.189
  3. 0.243
  4. 0.056
Show answerHide answer
Answer: B
The ratio implies between-group SS = 2×4.5×MS_W = 9MS_W, while within-group SS = 27MS_W. Thus MS_W = 144/36 = 4 and between-group SS = 36. Omega squared is (36 − 2×4)/(144 + 4) = .189; .250 is the uncorrected eta squared.

Question 10 of 10

An observational study comparing three work schedules finds a significant omnibus F. No follow-up comparisons have been run. Which report is justified?
  1. The shortest schedule caused faster task performance.
  2. Every schedule differed from every other schedule.
  3. Mean task times differed among the schedules.
  4. The schedule with the lowest sample mean was superior.
Show answerHide answer
Answer: C
The omnibus rejection supports a difference somewhere among the population mean task times. It does not locate pairs, and an observational grouping does not establish a causal schedule effect. Declaring the lowest sample mean superior adds a pairwise and causal conclusion that the reported analysis has not established.
Set 2: Group means, variation, and the F test10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Groups have sizes 3, 5, and 4 and means 8, 12, and 15. What is the grand mean of all 12 scores?
  1. 11.67
  2. 12.50
  3. 35
  4. 12
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

An ANOVA has total SS = 240 and within-group SS = 156. What is the between-group SS?
  1. 396
  2. 84
  3. 1.54
  4. 156
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A classic ANOVA compares five groups using 45 independent observations. Which degrees of freedom define its F reference distribution?
  1. 5 and 44
  2. 4 and 40
  3. 4 and 44
  4. 40 and 4
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A researcher compares mean recovery time in seconds for three independent groups using different task instructions. What is the factor?
  1. Recovery time
  2. Participant score
  3. Task instruction
  4. Mean recovery time
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Four independent groups are compared with one-way ANOVA. What does the alternative hypothesis claim?
  1. At least one population mean differs.
  2. All four population means differ.
  3. At least one sample mean differs.
  4. All population variances differ.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An ANOVA output gives F = 0.72. What can be concluded about this value?
  1. It is impossible because F must be at least one.
  2. It indicates a negative difference between two means.
  3. It requires a left-tail test for separated means.
  4. It is possible and offers no evidence of separated means.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Three groups each have four observations. Their means are 5, 8, and 11, and their sample variances are 2, 4, and 6. What is the classic F statistic?
  1. 9
  2. 3
  3. 6
  4. 12
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

The same 18 adults complete a task under quiet, music, and conversation conditions. Why is an independent-groups one-way ANOVA unsuitable?
  1. The factor has three levels.
  2. The outcome is measured in seconds.
  3. Each adult contributes related observations.
  4. There are fewer than 20 adults.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A two-sided pooled t test for two groups gives t(18) = −2.4. What F statistic and p-value relationship would the equivalent ANOVA have?
  1. F(1, 18) = 2.40, with the same p-value.
  2. F(1, 18) = 5.76, with half the p-value.
  3. F(18, 1) = 5.76, with twice the p-value.
  4. F(1, 18) = 5.76, with the same p-value.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Three groups have sizes 4, 6, and 8. Their means are 7, 10, and 13, and every group has sample variance 4. What is the classic F statistic?
  1. 12.50
  2. 13.50
  3. 8.50
  4. 25.00
Show answerHide answer

Save this lesson to see this answer.

Set 3: Diagnose the data and use Welch’s test10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Group histograms are approximately normal, but the pooled scores have two peaks. Which distribution is relevant to the classic ANOVA normality assumption?
  1. The pooled score distribution.
  2. The group label distribution.
  3. The distribution of group sizes.
  4. The errors within each group.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A median-centered Levene test gives p = .008, while Welch’s ANOVA gives p = .24. At α = .05, what do these results support?
  1. Different means, without a detected variance difference.
  2. Different variances, without a detected mean difference.
  3. Different means and different variances.
  4. Equal means and equal variances.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

Three independent groups have sizes 30, 18, and 8 with SDs 2, 5, and 9, respectively. Which concern most directly favors Welch over classic ANOVA?
  1. The smallest group has the largest variance.
  2. The largest group has the smallest mean.
  3. The factor has an unequal number of levels.
  4. The total sample size exceeds the group count.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

How are the observations transformed in the original mean-centered Levene test?
  1. Absolute distances from their own group means.
  2. Squared distances from the overall grand mean.
  3. Signed distances from their own group means.
  4. Absolute distances from their own group medians.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

Two groups have n = 12, s² = 9 and n = 20, s² = 25. What is the ratio of the first group’s Welch weight to the second’s?
  1. 3/5
  2. 5/9
  3. 5/3
  4. 9/5
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

A study assigns six intact classes to three teaching methods and measures each student once. Students in a class share a teacher. The individual-score residuals look normal and Levene p = .62. What is the main unresolved problem?
  1. The large Levene p-value indicates unequal variances.
  2. Student scores may be dependent within classes.
  3. Normal residuals require equal class sizes.
  4. Welch automatically accounts for class membership.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Software reports “Welch” with F = 4.18, numerator df = 3, denominator df = 16.72, and p = .022. How should the test be reported?
  1. Welch’s F(3, 17) = 4.18, p = .022.
  2. Welch’s F(16.72, 3) = 4.18, p = .022.
  3. Welch’s F(3, 16.72) = 4.18, p = .011.
  4. Welch’s F(3, 16.72) = 4.18, p = .022.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Three groups have means 10, 12, and 14. Each has n = 5 and sample variance 10. What is Welch’s F statistic, including its correction?
  1. 2.000
  2. 1.333
  3. 1.846
  4. 2.167
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

A variance-test table and a robust means-test table both use the name “Brown–Forsythe.” How can their results be distinguished?
  1. Check whether the null concerns variances or means.
  2. Treat both results as tests of population variances.
  3. Treat both results as tests of population means.
  4. Identify the means test by its larger p-value.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

For three groups, Welch weights are 1, 1, and 2; each sample size is 6. What is the denominator degrees of freedom?
  1. 5.818
  2. 15.000
  3. 11.636
  4. 9.697
Show answerHide answer

Save this lesson to see this answer.

Set 4: Plan comparisons and control their error rate10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

Group sizes are 4, 8, and 4. A contrast has weights (1, −1, 0). Which contrast is orthogonal to it under the pooled model?
  1. (1, 1, −2)
  2. (1, 2, −3)
  3. (2, 1, −3)
  4. (1, −2, 1)
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

A contrast’s individual 95% interval is [−2.8, 0.6] points. What does it support at the two-sided .05 level?
  1. A detected negative difference; equality is ruled out.
  2. Equivalent means; zero lies inside the interval.
  3. A detected difference; most interval values are negative.
  4. No detected difference; equality is still uncertain.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

In group order A, B, C, which weights compare C with the equally weighted average of A and B?
  1. (−0.5, −0.5, 1)
  2. (−1, −1, 1)
  3. (0.5, 0.5, 1)
  4. (−1, 0.5, 0.5)
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Four planned comparisons have raw p-values .009, .017, .031, and .080. With Holm control at .05, how many null hypotheses are rejected?
  1. 0
  2. 2
  3. 1
  4. 3
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A researcher wants every pair among seven groups. How many comparisons are in that family?
  1. 7
  2. 21
  3. 14
  4. 42
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

For balanced groups, contrasts have weights (−2, 1, 1) and (0, 1, −1). Are they orthogonal, and why?
  1. Yes; each contrast has three weights.
  2. No; both contrasts use the second group.
  3. No; the positive weights differ in sum.
  4. Yes; the weight products sum to zero.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A pooled contrast has estimate −6, within-group MS = 8, weights (1, −1, 0), and n = 4 in each group. What is its t statistic?
  1. −1.5
  2. 3
  3. −3
  4. −6
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

Three raw p-values are .012, .013, and .200. What are their Holm-adjusted values in that same order?
  1. (.036, .036, .200)
  2. (.036, .026, .200)
  3. (.036, .039, .600)
  4. (.012, .026, .600)
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Three independent groups each have n = 10. Their means are 13, 17, and 24, and pooled within-group MS = 25. For C minus the average of A and B, what are the estimate and pooled t?
  1. 9 points; t(27) ≈ 3.29.
  2. 18 points; t(27) ≈ 9.30.
  3. 9 points; t(27) ≈ 4.65.
  4. 9 points; t(29) ≈ 4.65.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Three balanced groups receive 2, 4, or 6 training sessions. Which weights test a quadratic pattern across these levels?
  1. (−1, 0, 1)
  2. (1, −2, 1)
  3. (−1, 1, 0)
  4. (1, 1, −1)
Show answerHide answer

Save this lesson to see this answer.

Set 5: Choose follow-ups and read regression codes10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A study compares every treatment only with one shared control, under a common-variance model. Which procedure targets that comparison family?
  1. Tukey’s HSD test
  2. Scheffé’s contrast test
  3. Dunnett’s test
  4. Games–Howell tests
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

Three equal-sized groups have means 18, 23, and 26. Each has n = 12 and within-group MS = 27. The .05 studentized range critical value is 3.5. Which pairs does Tukey detect?
  1. A–B and A–C only.
  2. A–C only.
  3. A–C and B–C only.
  4. All three pairs.
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

A factor has groups A, B, and C. With A as reference, its fitted model is ŷ = 24 − 3D_B + 5D_C. What are the fitted group means in A, B, C order?
  1. 24, −3, 5
  2. 21, 24, 29
  3. 24, 27, 19
  4. 24, 21, 29
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

Group means are 8, 11, and 17, with sample sizes 3, 6, and 9. Under sum-to-zero effect coding, what is the intercept, and how does it compare with the observation-level grand mean?
  1. 12; it is 1.5 below the grand mean.
  2. 13.5; it is 1.5 above the mean of means.
  3. 12; it equals the observation-level grand mean.
  4. 11; it is 2.5 below the grand mean.
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A Welch ANOVA is followed by a request for all pairwise mean comparisons. Group variances and sizes differ substantially. Which follow-up fits this analysis?
  1. Tukey–Kramer
  2. Fisher’s protected LSD
  3. Ordinary pooled t tests
  4. Games–Howell
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

Balanced groups have means 7, 12, and 20. Predictor columns are C₁ = (−1, −1, 2) and C₂ = (1, −1, 0), with an intercept. What are the fitted intercept and slopes?
  1. 13, 3.5, −2.5
  2. 13, 21, −5
  3. 7, 5, 13
  4. 13, 7, −5
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

A four-group model includes an intercept and four group indicators. Why are the coefficients not uniquely estimable?
  1. Four groups require four separate residual variances.
  2. The group means must be equally spaced.
  3. The indicator columns sum to the intercept column.
  4. An intercept cannot appear with any categorical predictor.
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A three-group regression uses code rows (0, 0), (1, 2), and (2, 4), plus an intercept. Can it freely fit all three group means, and why?
  1. Yes; every group has a distinct code row.
  2. No; the second predictor is twice the first.
  3. Yes; two predictors always suffice for three groups.
  4. No; every categorical predictor must be binary.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Four equal-sized groups have within-group MS = 8. A post-hoc contrast has estimate 5 and squared-weight/sample-size sum .25. The .05 critical F for the omnibus df is 3.0. Does Scheffé detect this contrast?
  1. Yes; |t| ≈ 3.54 exceeds 3.00.
  2. No; |t| ≈ 3.54 is below 5.20.
  3. No; |t| ≈ 1.77 is below 3.00.
  4. Yes; |t| ≈ 3.54 exceeds 1.73.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Three balanced groups each have n = 5, means 6, 10, and 14, and sample variance 5. What are the full categorical model’s R² and overall F?
  1. R² = .727; F(2, 14) = 18.67.
  2. R² = .267; F(2, 12) = 4.36.
  3. R² = .727; F(2, 12) = 16.00.
  4. R² = .500; F(2, 12) = 6.00.
Show answerHide answer

Save this lesson to see this answer.

Set 6: Connect the analysis, comparisons, and model10 Practice Questions

Save this lesson to see every answer and practice every set.

Question 1 of 10

A Levene test is nonsignificant in a study with very small groups. What is the appropriate interpretation?
  1. It has established identical population variances.
  2. It has not detected a variance difference.
  3. It has established normally distributed errors.
  4. It has ruled out a difference in group means.
Show answerHide answer

Save this lesson to see this answer.

Question 2 of 10

For groups A, B, and C, sample sizes are 4, 8, and 8; variances are 4, 16, and 4; and means are 10, 14, and 18. For C minus the average of A and B, what are the separate-variance estimate and SE?
  1. 6; SE ≈ 1.118
  2. 6; SE ≈ 1.500
  3. 12; SE ≈ 1.118
  4. 6; SE ≈ 0.866
Show answerHide answer

Save this lesson to see this answer.

Question 3 of 10

An analyst first inspects all group means, chooses the largest difference, and then calls it a “planned contrast” because the weights sum to zero. How should the comparison be treated?
  1. As a planned contrast without multiplicity adjustment.
  2. As an omnibus test requiring no follow-up protection.
  3. As a post-hoc comparison with suitable error control.
  4. As an invalid comparison because it uses weights.
Show answerHide answer

Save this lesson to see this answer.

Question 4 of 10

A three-group model with A as reference has coefficients 8, 3, and 7. After changing the reference to C, what are the new intercept, A slope, and B slope?
  1. 15, −7, 3
  2. 8, −3, −7
  3. 15, 7, 4
  4. 15, −7, −4
Show answerHide answer

Save this lesson to see this answer.

Question 5 of 10

A five-group study plans all pairwise tests. One raw p-value is .006 and another is .004. Under Bonferroni familywise control at .05, which of these two comparisons reject?
  1. Only the comparison with p = .006.
  2. Both comparisons reject.
  3. Only the comparison with p = .004.
  4. Neither comparison rejects.
Show answerHide answer

Save this lesson to see this answer.

Question 6 of 10

An observation is 23 and its group’s fitted mean is 19. What is its residual, and would full-rank recoding of the same factor change it?
  1. −4; recoding keeps it fixed.
  2. 4; recoding would change it.
  3. −4; it changes with recoding.
  4. 4; it would stay the same.
Show answerHide answer

Save this lesson to see this answer.

Question 7 of 10

Four balanced groups have between-group SS = 96 and within-group MS = 4. Two contrasts in a complete mutually orthogonal set account for SS values 40 and 32. What F statistic tests the remaining contrast?
  1. 8
  2. 6
  3. 24
  4. 2
Show answerHide answer

Save this lesson to see this answer.

Question 8 of 10

A Tukey-adjusted interval for mean task time C minus A is [1.2, 5.8] seconds. What is the supported conclusion?
  1. C has a higher mean task time than A.
  2. C has a lower mean task time than A.
  3. A and C have equivalent mean task times.
  4. Every group has a different mean task time.
Show answerHide answer

Save this lesson to see this answer.

Question 9 of 10

Groups have equal sample sizes n = 8, sample variances 4, 16, and 64, and means 12, 20, and 24. What is Welch’s precision-weighted mean, and how does it compare with the ordinary grand mean?
  1. 18.667; it equals the grand mean of 18.667.
  2. 22.667; it is above the grand mean of 18.667.
  3. 16.000; it is below the grand mean of 18.667.
  4. 14.095; it is below the grand mean of 18.667.
Show answerHide answer

Save this lesson to see this answer.

Question 10 of 10

Balanced groups have means 6, 9, and 15. A model uses columns X₁ = (−1, 0, 1) and X₂ = (−1, 1, 0), plus an intercept. What is the slope on X₁?
  1. 9
  2. 5
  3. 3
  4. 4.5
Show answerHide answer

Save this lesson to see this answer.

Stuck on your own question? Homework Help

Key Terms

77 Key Terms, each with its definition

A

Absolute deviation
An absolute deviation is the unsigned distance from a score to a chosen center, used to represent spread in Levene-type tests.
A score of 8 around a group mean of 11 has an absolute deviation of 3.
Adjusted p-value
An adjusted p-value incorporates a multiple-testing procedure so it can be compared directly with the family significance level.
A Bonferroni adjusted p-value of .042 is compared with .05, not with .05 divided by six again.
ANOVA table
An ANOVA table records sums of squares, degrees of freedom, mean squares, and the F test for model and residual variation.
An ANOVA table places the overall F and p-value on the factor’s row, not the total row.
APA-style reporting
APA-style reporting combines a test statistic, its degrees of freedom, p-value, and effect size with readable descriptive statistics.
APA-style reporting retains Welch’s fractional df and writes a very small probability as “p < .001.”

B

Balanced design
A balanced design has the same number of observations in every group, giving each group mean equal sample-size weight.
Five students in each of three methods produce a balanced design with 15 observations in total.
Bartlett’s test
Bartlett’s test assesses equal population variances with good power under normality but strong sensitivity to nonnormal distributions.
Bartlett’s test may become significant with skewed data even when the population variances agree.
Between-group sum of squares
The between-group sum of squares adds squared distances from group means to the grand mean, weighted by group sample sizes.
The between-group sum of squares increases when equally sized groups have more separated means.
Bonferroni correction
The Bonferroni correction divides the family significance level by the number of tests, controlling familywise errors under arbitrary dependence.
A Bonferroni correction for six tests uses .05/6 for each raw p-value.
Brown–Forsythe F* test
The Brown–Forsythe F test* is an unequal-variance test of population means, distinct from the median-centered variance diagnostic.
The Brown–Forsythe F* test may appear beside Welch in a robust tests of means table.

C

Coefficient of determination
The coefficient of determination, R², is the fraction of sample variation captured by the model; it equals eta squared in one-way ANOVA.
The coefficient of determination is .66 when a group-means model captures 70 of 106 total SS.
Confidence interval
A confidence interval is an estimate plus and minus a margin calibrated for a stated repeated-sampling coverage level.
A contrast confidence interval of [−3, 1] points allows zero and differences in either direction.
Conservative test
A conservative test rejects a true null less often than its nominal significance level, usually sacrificing some power.
Classic F can be a conservative test when the larger groups have much larger variances.
Contrast
A contrast is a weighted sum of population means whose weights add to zero, expressing a specific comparison between groups.
A contrast with weights (−.5, −.5, 1) compares the third mean with the average of the first two.
Contrast coding
Contrast coding represents groups with predictors designed to express chosen comparisons; coefficient meaning depends on the full coding matrix.
Balanced orthogonal contrast coding scales each contrast estimate by its squared-weight sum.
Contrast estimate
A contrast estimate applies the comparison’s weights to sample means, giving the observed size and direction of that weighted difference.
The contrast estimate is 4.5 points for 16 minus the average of 11 and 12.
Contrast sum of squares
A contrast sum of squares measures the variation represented by one weighted comparison and carries one numerator degree of freedom.
A full orthogonal contrast set has contrast sums of squares that add to the between-group SS.
Contrast t statistic
A contrast t statistic divides the contrast estimate by its standard error, retaining the direction specified by the weights.
A contrast t statistic of −3 indicates an estimate three standard errors below zero.
Contrast weight
A contrast weight sets a group mean’s direction and contribution in a comparison; a zero weight excludes that mean.
A contrast weight of zero leaves the control mean out of a comparison between two treatment means.

D

Degrees of freedom
The degrees of freedom count independent information remaining after the relevant means or model parameters have been estimated.
For 15 scores in three groups, the within-group degrees of freedom are 15 − 3 = 12.
Denominator degrees of freedom
The denominator degrees of freedom describe uncertainty in the error estimate below the line in F; classic ANOVA uses N − k.
A classic test with four groups and 28 observations has 24 denominator degrees of freedom.
Design matrix
A design matrix records predictor values for observations, including the intercept column and the columns coding group membership.
The design matrix repeats the same coded row for every observation from a given group.
Dummy variable
A dummy variable is an indicator equal to 1 for one factor level and 0 otherwise, allowing categorical membership to enter a regression.
A highlighting dummy variable is 1 for highlighting students and 0 for the other methods.
Dummy variable trap
The dummy variable trap is perfect dependence caused by including all group indicators with an intercept, preventing unique coefficient estimates.
In a three-group model, the dummy variable trap occurs because the three group indicators add to the intercept column.
Dunnett’s test
Dunnett’s test controls comparisons of each treatment mean with one control mean, targeting a narrower family than all pairs.
Dunnett’s test compares three new methods with the same control without comparing the methods to one another.

E

Effect coding
Effect coding represents group effects as deviations summing to zero, making the intercept the unweighted average of group means.
With effect coding, an intercept of 13 and an effect of −2 give that group a mean of 11.
Effect size
An effect size describes the magnitude of a pattern or difference, adding information beyond whether a significance test rejects its null.
An effect size helps assess the importance of a mean difference detected in a very large sample.
Eta squared
Eta squared is the between-group sum of squares divided by total sum of squares, describing the factor’s share of sample variation.
Eta squared is .66 when 70 of the total 106 squared units of variation lie between groups.

F

F distribution
An F distribution is a nonnegative, right-skewed reference distribution for a ratio of independent scaled chi-square quantities.
The F distribution for a classic test of three groups with 15 observations has 2 and 12 df.
F ratio
The F ratio divides the between-group mean square by the within-group mean square, comparing group separation with residual noise.
Mean squares of 35 and 3 give an F ratio of 11.67 when three study methods are compared.
Factor
A factor is a categorical predictor whose levels define the groups compared in an ANOVA, such as three different study methods.
In an experiment comparing study methods, study method is the factor and test score is the numeric outcome.
False discovery rate
The false discovery rate is the expected proportion of rejected hypotheses that are false positives, taking no rejections to contribute zero.
False discovery rate control is often used when a screening study tests hundreds of variables.
Familywise error rate
The familywise error rate is the probability of rejecting at least one true null hypothesis within a defined collection of tests.
A .05 familywise error rate limits the chance of any false rejection across the comparison family.
Fisher’s protected LSD
Fisher’s protected LSD follows a significant omnibus F with pooled pairwise t tests; it protects familywise error for three groups but not generally for four or more.
Fisher’s protected LSD can exceed the chosen familywise error rate when four groups are compared.
Fitted value
A fitted value is the model’s prediction for an observation; a full one-way group-means model predicts its own group’s sample mean.
If the practice-testing group’s mean is 16, each score in that group has fitted value 16 under every complete recoding of the factor.
Fractional degrees of freedom
Fractional degrees of freedom arise from approximate reference distributions that account for uncertainty in separate variance estimates.
Fractional degrees of freedom such as 13.44 are retained when reporting Welch’s test.
Full rank
A design matrix has full rank when its columns are linearly independent, allowing the model’s coefficients to be uniquely estimated.
Distinct group rows do not ensure full rank if one predictor column is twice another.

G

Games–Howell procedure
The Games–Howell procedure adjusts all-pairs mean comparisons while using separate group variances and pair-specific Welch degrees of freedom.
The Games–Howell procedure follows a Welch ANOVA when every pair is of interest.
Grand mean
The grand mean is the mean of all observations, equal to a sample-size-weighted average of the separate group means.
With unequal group sizes, the grand mean gives a larger group more weight than a smaller one.

H

Holm method
The Holm method tests ordered p-values against successively less strict thresholds, stopping rejection at the first failure.
The Holm method stops after .030 fails .025, even if a later p-value is below .05.
Homogeneity of variance
Homogeneity of variance means all groups have the same population variance, the common-noise assumption of classic ANOVA.
Homogeneity of variance is doubtful when similar-sized groups have sharply different observed spreads.

I

Independence
Independence means observations do not provide related errors through repeated measurement, shared clusters, or other dependence.
Independence is doubtful when students share a classroom treatment and influence one another.
Independent-groups design
An independent-groups design assigns each observation to one group and requires independence within and between groups.
Each participant provides one task time in an independent-groups design comparing three layouts.

L

Level
A level is one category of a factor; each level defines a group whose mean is part of the ANOVA comparison.
Rereading is one level of the study-method factor, alongside highlighting and practice testing.
Levene’s test
Levene’s test assesses equal population variances by comparing absolute deviations from each group’s center with ANOVA.
Levene’s test with p = .008 supports a spread difference, without testing the group means.
Liberal test
A liberal test rejects a true null more often than its nominal significance level, producing too many Type I errors.
Classic F can be a liberal test when the smaller groups have much larger population variances.

M

Mean square
A mean square is a sum of squares divided by its own degrees of freedom, placing an ANOVA component on a variance scale.
A between-group sum of squares of 70 with two degrees of freedom gives a mean square of 35.
Median-centered Brown–Forsythe test
The median-centered Brown–Forsythe test is a Levene variant based on absolute deviations from group medians, with better robustness to skew.
The median-centered Brown–Forsythe test answers whether variances differ, not whether means differ.

N

Normality of errors
Normality of errors means outcomes within population groups follow normal distributions around their respective means.
Normality of errors is assessed within groups even if their pooled scores have several peaks.
Numerator degrees of freedom
The numerator degrees of freedom belong to the variance estimate above the line in F; classic one-way ANOVA uses k − 1.
Four groups give three numerator degrees of freedom for the overall ANOVA F test.

O

Omega squared
Omega squared is an effect-size estimate that adjusts the between-group variation for sampling noise to reduce upward bias.
Omega squared is about .59 for between SS 70, total SS 106, and residual mean square 3.
Omnibus test
An omnibus test checks a joint hypothesis about all groups, without identifying which individual comparisons account for a rejection.
A significant omnibus test comparing several study methods supports unequal mean scores somewhere among them.
One-way ANOVA
A one-way ANOVA compares population means of a numeric outcome across the levels of a single categorical factor.
A one-way ANOVA compares mean test scores among three independently assigned study methods.
Orthogonal contrasts
Orthogonal contrasts carry nonoverlapping information about means under the variance model, checked with size-adjusted weight products.
In balanced groups, orthogonal contrasts (−1, −1, 2) and (1, −1, 0) have product sum zero.

P

Partial eta squared
Partial eta squared divides effect SS by effect SS plus error SS; in a one-way ANOVA it equals ordinary eta squared.
Partial eta squared and eta squared match in a three-group one-way model because their denominators match.
Per-comparison error rate
The per-comparison error rate is a single test’s Type I error probability, separate from the risk accumulated over a whole family.
A .05 per-comparison error rate does not keep a large family’s false-positive risk at .05.
Planned contrast
A planned contrast is selected before examining the outcome data, using a research hypothesis or the study design to specify the comparison.
A planned contrast compares a new method with established methods before the scores are inspected.
Polynomial contrast
A polynomial contrast tests a trend shape, such as linear or quadratic, across meaningfully ordered and appropriately spaced factor levels.
A quadratic polynomial contrast can detect a middle-dose peak when endpoint means agree.
Pooled variance
A pooled variance combines group variance estimates; in classic ANOVA, it weights each sample variance by its within-group degrees of freedom.
The pooled variance is 3 when equally sized groups have sample variances 2.5, 3, and 3.5.
Precision weight
A precision weight gives greater influence to a more precisely estimated mean; Welch uses sample size divided by sample variance.
A precision weight of 12/9 exceeds 20/25 despite coming from the smaller sample.
Precision-weighted mean
A precision-weighted mean averages group means using their precision weights, so noisy group means contribute less.
The precision-weighted mean lies close to a low-variance group even when that group is not largest.

Q

Q-Q plot
A Q-Q plot compares observed distribution quantiles with reference quantiles; a near-straight pattern supports a normal error shape.
A residual Q-Q plot can reveal a heavy tail that a pooled histogram hides behind group differences.

R

Reference group
The reference group has zero on all dummy variables; its mean is the intercept and other groups’ slopes are differences from it.
With rereading as the reference group, a practice-testing coefficient of 5 means five points higher.
Residual
A residual is the observed score minus its fitted value; in one-way ANOVA it is the score minus its own group’s mean.
A score of 20 from a group with fitted mean 18 has a residual of 2 under any full-rank coding.
Residuals-versus-fitted plot
A residuals-versus-fitted plot shows errors around predictions, revealing group-specific spreads and unusual observations in a one-way model.
A residuals-versus-fitted plot forms strips at the distinct group means, with widths showing spread.
Right-tail p-value
A right-tail p-value is the null-model probability of a test statistic at least as large as the one observed.
The right-tail p-value for the observed F uses the area beyond that value, without doubling it.

S

Scheffé’s method
Scheffé’s method protects familywise error for all possible mean contrasts, including complex comparisons selected after viewing data.
Scheffé’s method can protect an exploratory comparison of one group with a weighted set of other groups.
Significance level
The significance level is the chosen threshold for rejecting a true null hypothesis under the test’s assumptions.
A significance level of .01 makes a p-value of .018 insufficient for rejection.
Simultaneous confidence intervals
Simultaneous confidence intervals are jointly calibrated so the entire comparison family attains the stated probability of coverage.
Tukey’s simultaneous confidence intervals protect the all-pairs family, unlike separate unadjusted intervals.
Standard error of a contrast
The standard error of a contrast estimates how much the weighted mean comparison would vary across repeated samples.
The standard error of a contrast shrinks when its group means are estimated more precisely.
Statistical significance
Statistical significance means the observed result meets the test’s rejection rule at the chosen significance level.
Statistical significance at .05 does not specify how many points separate two method means.
Summary statistics
Summary statistics describe each group with quantities such as size, mean, and SD, which suffice to build a classic one-way ANOVA table.
Group summary statistics permit an ANOVA calculation even when the individual scores are unavailable.

T

Total sum of squares
The total sum of squares measures squared variation around the grand mean and equals the between-group plus within-group sums.
A total sum of squares of 106 splits into 70 between groups and 36 within groups.
Tukey–Kramer procedure
The Tukey–Kramer procedure adapts Tukey pairwise thresholds to unequal sample sizes while retaining the equal-variance assumption.
The Tukey–Kramer procedure gives a smaller pair a wider margin than a larger pair with the same noise.
Tukey’s HSD
Tukey’s HSD controls the all-pairs comparison family under a common-variance model, using the studentized range distribution.
Tukey’s HSD detects a five-point pairwise difference when the simultaneous threshold is 2.92.

W

Welch–Satterthwaite approximation
The Welch–Satterthwaite approximation supplies degrees of freedom for inference using a sum of separately estimated variance contributions.
The Welch–Satterthwaite approximation pairs with the separate-variance contrast standard error.
Welch’s ANOVA
Welch’s ANOVA compares population means while allowing unequal variances, using precision weights and approximate F degrees of freedom.
Welch’s ANOVA suits independent groups with unequal sizes and markedly different standard deviations.
Within-group sum of squares
The within-group sum of squares adds squared differences between each observation and its own fitted group mean.
Three groups contributing 10, 12, and 14 have a within-group sum of squares of 36.

About this lesson

By StudeliReport a mistake

Make your own Study Materials

Turn your notes, slides and documents into Study Guides, Practice Questions, Flashcards and 6 more tools.

Get Started