chrisricard.com
Archive aisle lined with shelves of case boxes and card-catalog drawers

Introduction to OLS With SAS

August 26, 2026 · 491 KB

A three-page American University workshop handout introducing linear regression in SAS, from importing data and exploring variables to running and testing an ordinary least squares model.

Overview

This short handout from the Research Support Group at American University's CTRL accompanied a 30-minute workshop on running linear regression in the statistics package SAS. It aims to show users how to produce and interpret results, plot and analyse errors and judge how well a model fits.

The handout briefly introduces the SAS interface, including the Editor, Explorer and Output windows, and explains the difference between procedures and data steps. It then walks through a worked example using a data set on nations:

  • Importing a CSV file with the import wizard or proc import
  • Exploring variables with proc freq, proc univariate and proc means
  • Calculating correlations with proc corr
  • Running a regression with proc reg, testing variables for significance and plotting one variable against another

Each step comes with sample code and a plain explanation, making it a practical starting point for new SAS users.

Page 1 of Introduction to OLS With SAS
Page 1 · click to open the full PDF
Open full PDF (491 KB) ↗

More from Technology Computing Systems

See all 71 in Technology Computing Systems →