Chapter 6 Inferential Statistics – Two-Sample Tests
Conducting a Two-Sample t-test
Testing the Assumptions for a t-test
Customizing the Output from ODS Statistical Graphics
Introduction
This chapter covers most of the popular two-sample tests, for paired and unpaired samples. If the assumptions for these tests are not met, SAS provides several non-parametric tests that are covered in Chapter 12.
Conducting a Two-Sample t-test
Let’s start with a simple two-sample, unpaired t-test. For this example, you will compare the systolic blood pressure (SBP) and diastolic blood pressure (DBP) between the males and females (Gender) in the blood_pressure data set.
Here is the program: ...