Software Installation and Sample Dataset

This is a beginner’s guide to learning SAS programming. You can learn all the basic functions and programming using SAS from the start. I assume you have installed SAS programming on your Windows / OS X / Linux. If not, you can find out more about how to download and install SAS software for free – SAS University Edition.

If you are new to SAS and required sample data to practice, you can get it from SAS website:

  1. Go to https://support.sas.com/publishing/cert/sampdata.txt
  2. Save it in text file so you can access it from your folder later onScreen Shot 2017-12-10 at 4.13.22 PM
  3. Or you can just copy and paste one of the sample dataset to use & run it on the programming window.
  4. data _null_;
  5. input ID $ 1-4 Name $ 6-19 Gender $ 20 Age 26-27
  6. Salary 32-37;
  7. format Salary 7.2;
  8. datalines;
    
    0001 Jason,W   M  33  8000.00
    
    0002 Alex,B    M  29  2000.00
    
    0003 William,G M  30  3000.00
    
    0004 Cathy,G   F  36  5000.00
    
    0005 Sally,H   F  34  4500.00
    
    ; 
    
    run;
Advertisements


Categories: SAS Learning

Tags: , , ,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s

%d bloggers like this: