SAS Studio 05 Two Sample Tests - 06.28
SAS Studio 05 Two Sample Tests - 06.28
(11/22/2024)
Sources
Steve Nolan, Ron Freeze, Elizabeth Keiffer, Michael Gibbs, Jorge Moreda, Shubhashree Sahoo
Enterprise Systems, Sam M. Walton College of Business, University of Arkansas, Fayetteville
SAS® Studio. Release 5.2
SAS® VIYA® release V.03.05
Copyright © 2018 For educational uses only - adapted from sources with permission. No part of this
publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means,
electronic, mechanical, photocopying, or otherwise, without the prior written permission from the
author/presenter.
Use Case – One Sample T-Test
Razorback Stores is a local department store serving a metropolitan area. As a department store, they
offer a wide variety of items and services and track sales through a point of sale system. Over the past
several months, Razorback Stores performed a marketing campaign designed to promote and incentivize
a loyalty program.
As a recent hire, your boss has asked you to analyze the following:
Is there a difference between the type of customer (Regular – Promotional) and the amount of
money (Net Sales) they spend in the store?
Step 1: Tasks
In order to access the t-Tests task within SAS Studio:
1. Click on the Tasks icon located on the left-panel
2. Expand the SAS Tasks folder
3. Expand the Statistics folder
4. Expand the Descriptive folder
5. Find t Tests and double click on it
Step 5: Results
Once the task has executed, you will have your t-Test results view in the right most pane.
In order to better visualize the results, locate the three dots at the very right
end of the screen under the current date and time.
21. Click on these three dots and,
22. Click on Open in a browser tab
23. Click on Results
We see following tables and charts:
Statistics Table:
T-Tests Table:
Using this information (e.g. T-value, P-value, and Q-Q Plot of our variable), we can accept or reject our
null hypothesis.
You can also click on the Maximize preview icon to see a clear view of
Results