Looking for differences in the population means between two samples with a 2-Sample t-test

For this recipe, we will use a 2-Sample t-test to compare two groups of data. The null hypothesis for the 2-Sample t-test is that the population means are the same.

Here, we will look at comparing the pulse rate of a group of students that exercised against a group that didn't.

Getting ready

The data is in the Minitab Pulse.mtw worksheet. The file can be found in the Minitab Sample Data folder.

How to do it…

The following steps will compare the mean pulse rate of two groups of students:

  1. To open the worksheet, go to the Stat menu and select Open Worksheet….
  2. Click on the Look in Minitab Sample Data folder button.
  3. Open the Pulse.mtw worksheet.
  4. Go to the Stat menu and select Basic Statistics, then click on 2-Sample t….
  5. In Samples, enter the Pulse2 column.
  6. In Sample IDs:, enter Ran.
  7. Select the Graphs… button and check the option for Boxplots of data.
  8. Click on OK twice.

How it works…

The 2-Sample t-test here uses the sample column for all the pulse measurements; the subscripts are then used to identify if a result was from the group that ran (1) or the group that didn't run (2). Alternatively, the two groups could have been in separate columns or we could have just entered the summarized results of sample size, mean, and standard deviations.

In Minitab v17, we can choose between samples in one column, different columns, or summarized data from the drop-down box at the top of the dialog.

There is also an option to run the test assuming equal variances; we use Welch's t-test for unequal variances by default.

There's more…

The 2 variance test under Basic Statistics can be used to test the assumption of equal variance.

See also

  • The Using the Power and Sample Size tool for a 2-Sample t-test recipe
  • The Using the Assistant menu to run the 2-Sample t-test recipe
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.222.168.163