Analysis of variance
Analysis of variance is a statistical technique for assessing whether group means differ by partitioning observed variability among specified factors and residual error.
Statistics Slam Dunk
A one-way ANOVA tests whether the mean of a numeric response differs across levels of one categorical predictor.
- How it is used
- Tests whether NBA regular-season wins differ across categorized points-allowed or points-scored levels.
- How deep it goes
- Walks through factor creation, boxplots, `aov()` fitting, p-value interpretation, diagnostic plots, and AIC comparison.
- Examples
- Uses 300 NBA team-season records, grouping standardized points allowed and scored into four categories against standardized wins.
- What you can do after
- Evaluate/understand whether mean wins differ across three or more categories using base R ANOVA output and diagnostics.
Read how Statistics Slam Dunk explains analysis of variance →
Effective Data Analysis
ANOVA is a statistical method for testing whether means differ across multiple groups or conditions.
- How it is used
- Tests whether mean outcomes differ across groups, including conditions in a product A/B/C test.
- How deep it goes
- Defines ANOVA, distinguishes multiple groups and factors, and examines assumption failures without working through an ANOVA calculation.
- Examples
- Uses a three-version app test with bimodal outcomes and an exercise comparing three non-normal assessment-score distributions.
- What you can do after
- Evaluate/understand it by checking whether group distributions support ANOVA before using its result to guide a recommendation.
Read how Effective Data Analysis explains analysis of variance →
Causal AI
Analysis of variance is a statistical technique for testing whether the means of multiple groups differ.
- How it is used
- Tests whether a categorical variable changes an outcome while checking functional independence constraints.
- How deep it goes
- Provides a worked visualization, regression specification, F-test, and p-value interpretation, without deriving ANOVA mathematically.
- Examples
- Compares h(L, C, T) across low, medium, and high cost, treatment, and location levels.
- What you can do after
- Diagnose independence by fitting statsmodels models, reading ANOVA p-values, and comparing them with a rejection threshold.
Related concepts
- aov() functionimplemented by · The aov() function is a base R function that fits analysis-of-variance models.
- f-testuses · An F-test is a statistical hypothesis test using an F-distributed ratio of variance estimates to compare variances or assess group differences and model effects.
- t-testcontrasts with · A t-test is a statistical hypothesis test that uses a t-distributed statistic to assess a mean or difference in means under specified assumptions.
- statsmodelsuses · statsmodels is an open-source Python library for statistical modeling, estimation, inference, hypothesis testing, and statistical data analysis.
- experimentationuses · Experimentation is the deliberate testing of an idea, intervention, or alternative by observing outcomes to gather evidence or compare effects.
- statistical modelingkind of · Statistical modeling is the use of mathematical or probabilistic models to represent patterns, relationships, or variability in data for description, inference, or prediction.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.


