Study guide

7.10 Chi-Square Goodness-of-Fit and Tests of Independence

ASQ Certified Six Sigma Black Belt CSSBB

Track your progress as you read

Finished sections get a check mark.

1 Chapter 1: Introduction & CSSBB Exam Strategy

1.1 CSSBB Exam Format, Scoring, and Testing Windows 1.2 Eligibility, Project Affidavits, Application, and Recertification 1.3 Open-Book Strategy, Reference Materials, and a 16-Week Study Plan

2 Chapter 2: Organization-Wide Planning and Deployment

2.1 Fundamentals of Six Sigma and Lean Methodologies 2.2 Selecting the Right Methodology: DMAIC, DFSS, and Lean 2.3 Business Systems, Processes, and Stakeholder Relationships 2.4 Strategic Planning and Deployment of Six Sigma Initiatives 2.5 Six Sigma Roles and Responsibilities 2.6 Organizational Barriers and Common Causes of Six Sigma Failure 2.7 Change Management: Stakeholder Analysis, Readiness, and Communication

3 Chapter 3: Organizational Process Management and Measures

3.1 Impact of Six Sigma Projects on Customers, Suppliers, and Stakeholders 3.2 Benchmarking Types and Performance Goal Setting 3.3 Performance Measures: Balanced Scorecard, KPIs, KBIs, OKRs, and Line of Sight 3.4 Leading and Lagging Indicators and Performance Dashboards 3.5 Financial Measures: Revenue Growth, Margin, NPV, ROI, and Cost-Benefit Analysis 3.6 Cost of Poor Quality and Hard versus Soft Savings

4 Chapter 4: Team Management

4.1 Team Types and Constraints 4.2 Team Roles, Responsibilities, and Member Selection 4.3 Team Success Factors and Ground Rules 4.4 Motivational Techniques and Overcoming Demotivators 4.5 Stages of Team Development and Conflict Resolution 4.6 Team Communication Plans 4.7 Team Leadership Models: Direct, Coach, Support, and Delegate 4.8 Group Behaviors, Conflict Resolution, and Meeting Management 4.9 Facilitation Techniques and Team Decision-Making Methods 4.10 Team Training: Needs Assessment, Delivery, and Evaluation

5 Chapter 5: Define Phase

5.1 Customer Identification and Segmentation 5.2 Customer Data Collection: Methods, Validity, and Reliability 5.3 Customer Requirements: CTX, CTQ Trees, and Operational Definitions 5.4 The Kano Model and Quality Function Deployment 5.5 SIPOC and Process Mapping 5.6 Business Case Justification 5.7 The Project Charter and the Problem Statement 5.8 Project Scope and Boundaries 5.9 SMART Goals and Project Performance Measurements 5.10 Project Charter Reviews and Toll-Gate Governance 5.11 Project Management Tools: Gantt Charts, Toll-Gate Reviews, WBS, and RACI 5.12 Analytical Tools Used Throughout the DMAIC Cycle

6 Chapter 6: Measure Phase

6.1 Process Flow Metrics and the Hidden Factory 6.2 Process Analysis Tools and Value Stream Mapping 6.3 Types of Data and Measurement Scales 6.4 Sampling Concepts, Methods, and Sample Size for Estimation 6.5 Data Collection Plans and Common Pitfalls 6.6 Gage R&R for Variable Measurement Systems 6.7 Attribute Agreement Analysis and Audit MSA 6.8 Measurement Systems Across the Organization, and Metrology 6.9 Population Parameters, Sample Statistics, and Valid Statistical Conclusions 6.10 Descriptive Statistics: Central Tendency, Dispersion, and Shape 6.11 Graphical Methods for Exploratory Data Analysis 6.12 Probability Concepts, Common Distributions, and the Central Limit Theorem 6.13 Additional Distributions: Hypergeometric, Exponential, Lognormal, Weibull, and Bivariate 6.14 Process Capability and Performance Indices 6.15 Capability Studies, Attributes Capability, Yield Metrics, and Long-Term Capability

7 Chapter 7: Analyze Phase

7.1 The Correlation Coefficient, Its Confidence Interval, and Causation 7.2 Linear Regression and Residual Analysis 7.3 Multivariate Tools: Factor Analysis, Discriminant Analysis, and MANOVA 7.4 Hypothesis Testing Terminology, Errors, and Single-Sample Tests 7.5 Statistical Versus Practical Significance 7.6 Sample Size for Hypothesis Tests 7.7 Point Estimates, Confidence, Prediction, and Tolerance Intervals 7.8 Tests for Means, Variances, and Proportions 7.9 Analysis of Variance 7.10 Chi-Square Goodness-of-Fit and Tests of Independence 7.11 Types of Risk and Failure Mode and Effects Analysis 7.12 Gap Analysis and Root Cause Analysis 7.13 Waste Analysis: The Seven Classic Wastes and Resource Under-Utilization

8 Chapter 8: Improve Phase

8.1 Design of Experiments: Objectives, Terminology, and Effects 8.2 DOE Design Principles: Randomization, Blocking, Replication, and Resolution 8.3 Planning and Evaluating Designed Experiments 8.4 One-Factor Experiments: Completely Randomized, Randomized Block, and Latin Square Designs 8.5 Full Factorial Experiments and Design Selection 8.6 Two-Level Fractional Factorial Experiments and Confounding 8.7 Response Surface Methodology and Optimization 8.8 Waste Elimination: Pull Systems, Kanban, 5S, and Poka-Yoke 8.9 Cycle-Time Reduction: Continuous Flow, SMED, and Heijunka 8.10 Kaizen, Kaizen Blitz, Theory of Constraints, and OEE 8.11 Implementation Planning, Piloting, and Solution Selection

9 Chapter 9: Control Phase

9.1 SPC Objectives, Variable Selection, and Rational Subgrouping 9.2 Control Charts for Variables Data 9.3 Control Charts for Attributes Data 9.4 Short-Run SPC and Moving Average Charts 9.5 Control Chart Analysis: Common Cause, Special Cause, and Run Rules 9.6 Total Productive Maintenance and Visual Controls 9.7 Measurement System Reanalysis 9.8 Control Plan Development and Process Owner Handoff 9.9 Lessons Learned, Documentation, and Training for Sustainment 9.10 Ongoing Evaluation of the Improved Process

10 Chapter 10: Design for Six Sigma (DFSS)

10.1 DFSS Frameworks: DMADV, DMADOV, and Design Transfer 10.2 Design for X (DFX) 10.3 Robust Design, Parameter Design, and Verification 10.4 Tolerance Design and Statistical Tolerancing

7.10 Chi-Square Goodness-of-Fit and Tests of Independence

Key Takeaways Explain This Topic AI

The chi-square statistic is the sum over cells of observed minus expected, squared, divided by expected.

Goodness-of-fit degrees of freedom are the number of categories minus one, minus one for each parameter estimated from the data.

For a contingency table, expected cell count is the row total times the column total divided by the grand total, with degrees of freedom of (r-1)(c-1).

The test requires expected counts of at least 5 in most cells; sparse tables must be collapsed or tested with Fisher's exact test.

Chi-square is always a right-tailed test, and it detects association without indicating direction or causation.

Last updated: August 2026

The common statistic

All chi-square count tests use the same statistic: χ 2 = ∑ all cells ( O i − E i ) 2 E i \chi^2 = \sum_{\text{all cells}} \frac{(O_i - E_i)^2}{E_i} χ 2 = all cells ∑ ​ E i ​ ( O i ​ − E i ​ ) 2 ​

  • where O O O is the observed count and E E E the expected count under the null hypothesis. Large values mean
  • observed counts are far from expectation, so the test is always right-tailed regardless of the

direction of any difference.

Three applications appear in the Body of Knowledge and on the exam.

Test Null hypothesis Degrees of freedom

Goodness of fit The data follow the specified distribution k − 1 − m k - 1 - m k − 1 − m ( m m m = parameters estimated)

  • Independence The two categorical variables are independent ( r − 1 ) ( c − 1 ) (r-1)(c-1) ( r − 1 ) ( c − 1 )
  • Homogeneity Several populations share the same distribution ( r − 1 ) ( c − 1 ) (r-1)(c-1) ( r − 1 ) ( c − 1 )
  • Independence and homogeneity use identical arithmetic and differ only in how the data was sampled: one
  • sample cross-classified two ways gives independence; several fixed-size samples from different

populations gives homogeneity.

Goodness of fit

Tests whether observed frequencies match those expected from a hypothesized distribution.

Worked example. A team believes defects are equally likely across four shifts. Observed counts over

a month: 52, 38, 61, 49, total 200. Under equal likelihood each expected count is 200 / 4 = 50 200/4 = 50 200/4 = 50 .

  • Shift O O O E E E O − E O - E O − E ( O − E ) 2 / E (O-E)^2/E ( O − E ) 2 / E
  • 1 52 50 2 0.08
  • 2 38 50 -12 2.88
  • 3 61 50 11 2.42
  • 4 49 50 -1 0.02
  • Total 200 200 0 5.40

Degrees of freedom: k − 1 = 3 k - 1 = 3 k − 1 = 3 (no parameters were estimated, because the equal-proportions hypothesis

was specified in advance). χ 0.05 , 3 2 = 7.815 \chi^2_{0.05,3} = 7.815 χ 0.05 , 3 2 ​ = 7.815 . Since 5.40 < 7.815 5.40 < 7.815 5.40 < 7.815 , do not reject: the data are

consistent with defects being uniformly distributed across shifts.

  • Note the practical reading. Shift 3 has 61 defects against 49 on shift 4, a difference that looks
  • substantial, but with these counts it is within what random variation produces. Acting on the apparent

shift-3 problem would be chasing noise.

Degrees of freedom when parameters are estimated

Each parameter estimated from the same data costs one degree of freedom:

  • Distribution tested Parameters estimated df
  • Uniform with specified proportions 0 k − 1 k - 1 k − 1
  • Poisson with λ \lambda λ estimated from the data 1 k − 2 k - 2 k − 2
  • Normal with μ \mu μ and σ \sigma σ estimated from the data 2 k − 3 k - 3 k − 3
  • Forgetting this correction inflates the degrees of freedom, understates the critical value, and makes

rejection too easy.

  • Chi-square versus other normality tests
  • For testing normality specifically, the chi-square goodness-of-fit test is available but weak: it

requires binning continuous data, and the result depends on the arbitrary bin choice. The Anderson-Darling , Shapiro-Wilk , and Kolmogorov-Smirnov tests work on the raw data and have

substantially more power. Chi-square goodness of fit is the right tool for genuinely categorical data

and for count distributions such as the Poisson.

Test of independence

Tests whether two categorical variables are associated.

Worked example. Defect type by supplier:

  • Dimensional Surface Assembly Row total
  • Supplier A 30 20 10 60
  • Supplier B 20 40 20 80
  • Supplier C 10 20 30 60
  • Column total 60 80 60 200

Expected count for each cell: E i j = ( row total i ) ( column total j ) grand total E_{ij} = \frac{(\text{row total}_i)(\text{column total}_j)}{\text{grand total}} E ij ​ = grand total ( row total i ​ ) ( column total j ​ ) ​

E 11 = ( 60 ) ( 60 ) / 200 = 18 E_{11} = (60)(60)/200 = 18 E 11 ​ = ( 60 ) ( 60 ) /200 = 18 , E 12 = ( 60 ) ( 80 ) / 200 = 24 E_{12} = (60)(80)/200 = 24 E 12 ​ = ( 60 ) ( 80 ) /200 = 24 , E 13 = 18 E_{13} = 18 E 13 ​ = 18 , and so on.

  • Dimensional Surface Assembly
  • Supplier A 18 24 18
  • Supplier B 24 32 24

Supplier C 18 24 18 χ 2 = ( 30 − 18 ) 2 18 + ( 20 − 24 ) 2 24 + ( 10 − 18 ) 2 18 + ( 20 − 24 ) 2 24 + ( 40 − 32 ) 2 32 + ( 20 − 24 ) 2 24 + ( 10 − 18 ) 2 18 + ( 20 − 24 ) 2 24 + ( 30 − 18 ) 2 18 \chi^2 = \frac{(30-18)^2}{18} + \frac{(20-24)^2}{24} + \frac{(10-18)^2}{18} + \frac{(20-24)^2}{24} + \frac{(40-32)^2}{32} + \frac{(20-24)^2}{24} + \frac{(10-18)^2}{18} + \frac{(20-24)^2}{24} + \frac{(30-18)^2}{18} χ 2 = 18 ( 30 − 18 ) 2 ​ + 24 ( 20 − 24 ) 2 ​ + 18 ( 10 − 18 ) 2 ​ + 24 ( 20 − 24 ) 2 ​ + 32 ( 40 − 32 ) 2 ​ + 24 ( 20 − 24 ) 2 ​ + 18 ( 10 − 18 ) 2 ​ + 24 ( 20 − 24 ) 2 ​ + 18 ( 30 − 18 ) 2 ​ = 8.00 + 0.67 + 3.56 + 0.67 + 2.00 + 0.67 + 3.56 + 0.67 + 8.00 = 27.78 = 8.00 + 0.67 + 3.56 + 0.67 + 2.00 + 0.67 + 3.56 + 0.67 + 8.00 = 27.78 = 8.00 + 0.67 + 3.56 + 0.67 + 2.00 + 0.67 + 3.56 + 0.67 + 8.00 = 27.78

Degrees of freedom = ( 3 − 1 ) ( 3 − 1 ) = 4 = (3-1)(3-1) = 4 = ( 3 − 1 ) ( 3 − 1 ) = 4 , and χ 0.05 , 4 2 = 9.488 \chi^2_{0.05,4} = 9.488 χ 0.05 , 4 2 ​ = 9.488 . Since 27.78 > 9.488 27.78 > 9.488 27.78 > 9.488 , reject

independence: defect type is associated with supplier.

  • Reading the cell contributions is where the practical value lies. The largest contributions come
  • from Supplier A / dimensional (8.00) and Supplier C / assembly (8.00), so those are the specific

supplier-defect combinations driving the association and the ones to investigate.

Assumptions and limits

  • Requirement Detail
  • Independent observations Each unit contributes to exactly one cell

Counts, not percentages The test must be run on raw frequencies; running it on percentages gives a meaningless statistic

  • Expected count at least 5 Conventionally in at least 80% of cells, with no expected count below 1
  • Mutually exclusive, exhaustive categories Every observation is classified exactly once
  • When expected counts are too small, either collapse adjacent categories into meaningful groups or
  • use Fisher's exact test , which computes the exact probability without a large-sample approximation

and is the standard choice for 2x2 tables with small counts.

  • Interpretation cautions
  • Association is not causation. A significant result says defect type and supplier are related; it
  • does not say the supplier causes the defect. Both could depend on the material grade each supplier

happens to be assigned.

A significant result does not identify which cells matter. Inspect the individual ( O − E ) 2 / E (O-E)^2/E ( O − E ) 2 / E contributions, or standardized residuals ( O − E ) / E (O-E)/\sqrt{E} ( O − E ) / E ​ , to find them.

Large samples make trivial associations significant. Chi-square grows in proportion to sample

size, so pair the test with an effect size measure such as Cramer's V : V = χ 2 n ⋅ min ⁡ ( r − 1 , c − 1 ) V = \sqrt{\frac{\chi^2}{n \cdot \min(r-1,\, c-1)}} V = n ⋅ min ( r − 1 , c − 1 ) χ 2 ​ ​

For the example, V = 27.78 / ( 200 × 2 ) = 0.0695 = 0.264 V = \sqrt{27.78 / (200 \times 2)} = \sqrt{0.0695} = 0.264 V = 27.78/ ( 200 × 2 ) ​ = 0.0695 ​ = 0.264 , a moderate association.