Statistical Analysis System, aka Statistical Analysis System, is an actively used programming language created in 1976. The SAS language is a computer programming language used for statistical analysis, created by Anthony James Barr at North Carolina State University. It can read in data from common spreadsheets and databases and output the results of statistical analyses in tables, graphs, and as RTF, HTML and PDF documents. The SAS language runs under compilers that can be used on Microsoft Windows, Linux, and various other UNIX and mainframe computers. Read more on Wikipedia...

43Years Old 354,702Users 3,567Jobs

Example code from the Hello World Collection:

/* Hello world in SAS */

* Writes as output title;
TITLE "Hello World!";
* writes to the log;
data _null_;
    PUT "Hello world!";
run;

Example code from Linguist:

/* Example DATA step code for linguist */

libname source 'C:\path\to\file'

data work.working_copy;
	set source.original_file.sas7bdat;
run;

data work.working_copy;
	set work.working_copy;
	if Purge = 1 then delete;
run;

data work.working_copy;
	set work.working_copy;
	if ImportantVariable = . then MissingFlag = 1;
run;

Last updated August 25th, 2019