Introduction to SAS

Introduction to SAS - Spring 2008 C.J. Anderson...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
Spring 2008 C.J. Anderson Introduction to SAS: General Go to course web-site and click on There are 5 main working environments (windows) in SAS: Explorer window : Lets you view data in SAS data sets or go to output for specific commands. Editor window : This is where you enter SAS commands (programs). Log window : Commands entered and run are repeated here along with warning and error messages can be found in the log window. Also, when you create a data set, information about the data set is printed (e.g., number of observations, variables, etc). Output window : A plain text window with the results of your analyses. Results window : If you have the option set to produce HTML output, a “nice” looking output can be found here. When you open SAS you will see: 1
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Some basic SAS syntax Just like sentences end with periods, “.”, all SAS commands must end with a semicolon “;” It is good practice to put comments in your SAS programs. Comments begin with an asterisk “*” and end with a semicolon “;”. For example. * Homework 1, problem 2; SAS variable names: o 1 to 32 characters in length o They must begin with a letter (A-Z). Note that SAS does is not case sensitive; that is, it read “A” and “a” as the same. o
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

Introduction to SAS - Spring 2008 C.J. Anderson...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online