Skip to ContentGo to accessibility pageKeyboard shortcuts menu
OpenStax Logo

Formula Review

StatisticsFormula Review

11.1 Facts About the Chi-Square Distribution

χ2 = (Z1)2 + (Z2)2 + . . . (Zdf)2 chi-square distribution random variable

μχ2 = df chi-square distribution population mean

σ χ 2 = 2( df ) σ χ 2 = 2( df ) chi-square distribution population standard deviation

11.2 Goodness-of-Fit Test

k (OE) 2 E k (OE) 2 E goodness-of-fit test statistic where

O: observed values
E: expected values

k: number of different data cells or categories

df = k − 1 degrees of freedom

11.3 Test of Independence

Test of Independence
  • The number of degrees of freedom is equal to (number of columns–1)(number of rows–1).
  • The test statistic is Σ (ij) (OE) 2 E Σ (ij) (OE) 2 E where O = observed values, E = expected values, i = the number of rows in the table, and j = the number of columns in the table.
  • If the null hypothesis is true, the expected number E = (row total)(column total) total surveyed E= (row total)(column total) total surveyed .

11.4 Test for Homogeneity

ij (OE) 2 E ij (OE) 2 E Homogeneity test statistic where O = observed values
E = expected values
i = number of rows in data contingency table
j = number of columns in data contingency table

df = (i −1)(j −1) degrees of freedom

11.6 Test of a Single Variance

χ 2 = χ 2 = (n1) s 2 σ 2 (n1) s 2 σ 2 Test of a single variance statistic where
n: sample size
s: sample standard deviation
σ: population standard deviation

df = n – 1 degrees of freedom

Test of a Single Variance
  • Use the test to determine variation.
  • The degrees of freedom is the number of samples – 1.
  • The test statistic is (n1) s 2 σ 2 (n1) s 2 σ 2 , where n = the total number of data, s2 = sample variance, and σ2 = population variance.
  • The test may be left-, right-, or two-tailed.
Order a print copy

As an Amazon Associate we earn from qualifying purchases.


This book may not be used in the training of large language models or otherwise be ingested into large language models or generative AI offerings without OpenStax's permission.

Want to cite, share, or modify this book? This book uses the Creative Commons Attribution License and you must attribute Texas Education Agency (TEA). The original material is available at: . Changes were made to the original material, including updates to art, structure, and other content updates.

Attribution information
  • If you are redistributing all or part of this book in a print format, then you must include on every physical page the following attribution:
    Access for free at
  • If you are redistributing all or part of this book in a digital format, then you must include on every digital page view the following attribution:
    Access for free at
Citation information

© Jan 23, 2024 Texas Education Agency (TEA). The OpenStax name, OpenStax logo, OpenStax book covers, OpenStax CNX name, and OpenStax CNX logo are not subject to the Creative Commons license and may not be reproduced without the prior and express written consent of Rice University.