Start free

Statistics & ResearchIntermediateIntermediate stage18 hoursPro

SAS Programming

SAS for banking, insurance, pharma and clinical trials: DATA step, PROC SQL, macros and SAS Viya.

Start the free previewLabs run in your browser. No installs.

What you will be able to do

  • Write DATA step programs
  • Use core PROCs
  • Write macros
  • Prepare for Base Programming certification

Tools

  • SAS 9.4
  • SAS Viya
  • SAS Studio
  • PROC SQL

Syllabus — 3 modules

  1. DATA step

    The DATA step reads, transforms and writes datasets row by row through the program data vector.

    Libraries and datasets · SET, MERGE, BY · IF/THEN, DO loops · RETAIN and FIRST./LAST. · Formats and informats

  2. PROCs

    Procedures summarise, report and model.

    PROC MEANS, FREQ, SORT, PRINT · PROC SQL · PROC REG, LOGISTIC · PROC REPORT and ODS

  3. Macros and Viya

    Macros generate code; SAS Viya runs SAS in the cloud with Python and R integration.

    Macro variables and %macro · CALL SYMPUTX · SAS Viya and CAS · Clinical: CDISC SDTM/ADaM overview · SAS Certified Specialist: Base Programming

How you are assessed

Every module ends with a check question. The final exam has 15 theory questions and 3 hands-on tasks solved in the tool this course teaches; pass at 70% for a certificate anyone can verify online.

Where it sits in the Statistics & Research track

  1. IBM SPSS Statistics Beginner → Intermediate
  2. Survey Design & Research Methods Intermediate
  3. SAS Programming (this course) Intermediate
  4. Stata Intermediate
  5. MATLAB & Julia for Data Intermediate
  6. Time Series & Forecasting Intermediate → Advanced
  7. Experimentation & Causal Inference Intermediate → Advanced
  8. Advanced Statistics & Experimental Design Advanced
  9. Econometrics Advanced

Part of these career paths

Start learning

Questions and answers

How long does the SAS Programming course take?
About 18 hours across 3 modules, at your own pace. At five hours a week most learners finish in 4 weeks.
Is SAS Programming free?
The first module is a free preview. The full course is part of Pro, or a friend's invite can unlock its whole track for up to three months using referral points.
Do I get a certificate for SAS Programming?
Yes. Pass the final exam (15 theory questions and 3 hands-on tasks in 40 minutes, pass mark 70%) and you get a certificate with an ID that anyone can verify online.
What should I know before starting SAS Programming?
It follows Survey Design & Research Methods in the Statistics & Research track. If Statistics & Research is new to you, start with IBM SPSS Statistics.
What will I be able to do after SAS Programming?
Write DATA step programs; Use core PROCs; Write macros.