CDC Home

Hypothesis Testing Purpose

The t-test  and chi-square statistics are used to test statistical hypotheses about population parameters.  This module will demonstrate the use of these statistics in NHANES data analysis.

Task 1: Use the t-test Statistic

The t-test is used to test the null hypothesis that the means or proportions of two population subgroups are equal OR that the difference between two means or proportions equals zero when the estimates are based on a small probability sample. When using a simple random sample, small is defined as less than 30.

Task 2: Generate Confidence Intervals

A confidence interval (CI) gives a range of plausible values of a population parameter, such as a population mean, geometric mean, or percent.  CIs yield a measure of the variability of the point estimate of the parameter obtained by taking a probability sample of the population. NHANES surveys have numerous (continuous) variables on demographic and health characteristics of the U.S. non-institutionalized population, such as a age, serum total cholesterol, and body mass index.

Task 3: Perform Chi-Square Test

The chi-square test is used to test the association between two variables cross-classified in a two-way table and the homogeneity of their association.