To HomePage

One and Two-sample Tests of Hypothesis

General Comparisons Between One and Two-sample Tests

  1. One-sample Test   Test this null hypothesis: the population mean for the treatment group is not significantly different from known or standard value c. This is stated succintly as
     

    The alternative hypothesis: the population mean is not equal to c or,
     

    Example:   The speed of light in a vacuum c is a well-known constant of nature. (In fact it is the same everywhere in the universe.) Measurements of the speed of light in water are taken. Test the null hypothesis that the speed of light in water is not significantly different than the speed of light in a vacuum.
     
  2. Paired Two-sample Test   Use a paired sample test when there is a natural one-to-one pairing between the subjects in two treatment groups. In this case, the difference scores di = x2i - x1i can be computed and a one-sample test performed using the null hypothesis that the mean of the difference is not significantly different than zero:
     

    The alternative hypothesis is
     

    Example:   A sample of houses is chosen. For each house, a section is painted with a new paint and a section is painted with a standard paint. For each house, measure the difference between the lifetime of the new paint minus the lifetime of the standard paint. Test the null hypothesis that differences are not significantly different than zero.
     
  3. Independent Two-sample Test   Use the independent two-sample test when there is not a natural one-to-one pairing between the subjects in two treatment groups. The null hypothesis that the population means of the two groups are not significantly different:
     

    The alternative hypothesis is
     

    Example:   A gasoline additive is supposed to reduce the amount of carbon monoxide in automobile exhaust. A sample of automobiles are chosen. Half of them are given the additive; half of them are not. Test the null hypothesis that the amount of CO in the exhaust is not significantly different for the cars with the additive than it is for the cars without the additive.

 

General Comparisons Between z and t-tests

 

Descriptions of Tests for One or Two Samples with Examples