O'Reilly logo

SAS Statistics by Example by EdD Ron Cody

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6  Inferential Statistics – Two-Sample Tests

Introduction

Conducting a Two-Sample t-test

Testing the Assumptions for a t-test

Customizing the Output from ODS Statistical Graphics

Conducting a Paired t-test

Assumption Violations

Conclusions

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: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required