# Example of Display Descriptive Statistics

A quality control engineer needs to ensure that the caps on shampoo bottles are fastened correctly. If the caps are fastened too loosely, they may fall off during shipping. If they are fastened too tightly, they may be too difficult to remove. The target torque value for fastening the caps is 18. The engineer collects a random sample of 68 bottles and tests the amount of torque that is needed to remove the caps.

As part of the initial investigation, the engineer analyzes the descriptive statistics of the torque measurements to assess the distribution of the data from each machine.

1. Open the sample data, CapTorque.MTW.
2. Choose Stat > Basic Statistics > Display Descriptive Statistics.
3. In Variables, enter Torque.
4. In By variables (optional), enter Machine.
5. Click the Graphs button, and then select Histogram of data, Individual value plot, and Boxplot of data.
6. Click OK in each dialog box.

## Interpret the results

The mean torque value for Machine 1 is closer to the target of 18 than the mean torque value for Machine 2. The mean torque required to remove caps from Machine 1 is 18.667, and the mean torque required to remove caps from Machine 2 is 24.19. The distribution of data from Machine 1 also is less variable. The standard deviation is 4.395 for Machine 1 and is 7.12 for Machine 2.

The graphs also show that there is a difference in the mean torque values for the two machines. To determine whether a significant difference in population means exists, the engineer could do a 2-sample t-test.

## Statistics

VariableMachineNN*MeanSE MeanStDevMinimumQ1MedianQ3Maximum
Torque136018.66670.7324674.394801015.251721.7530
232024.18751.258397.118521417.5243137