SAS Studio 10 Linear Regression With Assumptions
SAS Studio 10 Linear Regression With Assumptions
(11/22/2024)
Sources
Steve Nolan, Ron Freeze, Elizabeth Keiffer, Michael Gibbs, Jorge Moreda
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 – Linear Regression
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:
Are net sales significantly different between people who pay with different methods of payment
(RazorCard, MasterCard, MasterCard, Visa, and Other)?
Step 1: Tasks
In order to access the Linear Regression 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 Linear Models folder
5. Double click Linear Regression
Step 5: Results
Once the task has executed, you will have your Linear Regression 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.
26. Click on these three dots and,
27. Click on Open in a browser tab
28. Click on Results
29. Alternatively, you can click on the Maximize preview icon
Under Results, notice that you have different folders where you can find
subfolders within.
30. Expand all the folders
31. Click on the files inside
You will notice that as you click on these files, the tables and plots on the right
window will change.
When clicking on any of these sections, SAS Studio will take you to the
table/graph to which that section references in the right.
For the analysis we will be looking at the Full Model folder files that and the
Diagnostic Plots.
Full Model:
5
Diagnostic Plots: