Statistics add-in software for statistical analysis in Excel
  • Statistical Reference Guide
  • Contingency tables
  • Inferences about independence

Tests for independence

Tests for the independence of 2 categorical variables and their properties and assumptions.

Test Purpose
Pearson X² Test if the variables are independent.  

Uses the score statistic and computes an asymptotic p-value.

Likelihood ratio G² Test if the variables are independent.  

Uses the likelihood ratio statistic and computes an asymptotic p-value.   Pearson X² usually converges to the chi-squared distribution more quickly than G². The likelihood ratio test is often used in statistical modeling as the G² statistic is easier to compare between different models.

Related concepts
Independence hypothesis test
Hypothesis testing
Exact and asymptotic p-values
Continuity correction
Related tasks
Testing independence
Available in Analyse-it Editions
Standard edition
Method Validation edition
Quality Control & Improvement edition
Ultimate edition

  •  What is Analyse-it?
  •  What's new?
  •  Administrator's Guide
  •  User's Guide
  •  Statistical Reference Guide
  •  Distribution
  •  Compare groups
  •  Compare pairs
  •  Contingency tables
  •  Contingency table
  •  Creating a contingency table
  •  Creating a contingency table (related data)
  •  Grouped frequency plot
  •  Effect size
  •  Estimators
  •  Estimating the odds ratio
  •  Estimating the odds ratio (related data)
  •  Relative risk
  •  Inferences about equality of proportions
  •  Inferences about independence
  •  Independence hypothesis test
  •  Continuity correction
  •  Tests for independence
  •  Testing independence
  •  Mosaic plot
  •  Creating a mosaic plot
  •  Study design
  •  Correlation and association
  •  Principal component analysis (PCA)
  •  Factor analysis (FA)
  •  Item reliability
  •  Fit model
  •  Method comparison / Agreement
  •  Measurement systems analysis (MSA)
  •  Reference interval
  •  Diagnostic performance
  •  Survival/Reliability
  •  Control charts
  •  Process capability
  •  Pareto analysis
  •  Study Designs
  •  Bibliography



Version 6.15
Published 18-Apr-2023
statistics software, statistical software for Excel
  • Products
  • Store 
  • Support
  • Blog
  • About us
  • Download trial
  •  Search
  •  Sign in
  •  Contact us
Analyse-it editions
  • Standard edition
  • Medical edition
  • Method Validation edition
  • Quality Control & Improvement edition
  • Ultimate edition

  • Blog  
  • About us
  • Contact us  
  • Privacy policy


Copyright 2026 Analyse-it Software, Ltd, Leeds, United Kingdom .
We use essential cookies to run the site, and optional analytics to improve the experience for visitors. For more information see our Privacy policy.