Structure
The SAS language basically divides data processing and analysis into two kinds of steps.
- Data Steps - Which manipulate data input and creation or deletion of variables.
- Procedure Steps - Which manipulate analysis and output.The short form for each procedure step is Proc
Each line of code in SAS language ends with a ";"
Data Storage Hierarchy Data is stored in this hierarchy -
1) Libraries - Which contain datasets.
Libname Good "C:/Data/";
This creates a reference path to library named Good at storage location "C:/Data/";
2) Datasets -Which contain variables and observations. Observations are rows, and variables are column headers.
Datasets can be temporary (they close when you shut down the SAS Compiling software) or they can be stored to the Operating Disk File System.
data good.dataset1; (Output Dataset Name) set dataset2; (Input Dataset Name) run; (Command after each Data step)
This stores the temporary dataset named "Dataset2" into a permanent location "C:/Data/dataset1.sas7bdat ) because it uses the Reference to good as "C:/Data/"; in previous step.
Read more about this topic: SAS Language
Famous quotes containing the word structure:
“Agnosticism is a perfectly respectable and tenable philosophical position; it is not dogmatic and makes no pronouncements about the ultimate truths of the universe. It remains open to evidence and persuasion; lacking faith, it nevertheless does not deride faith. Atheism, on the other hand, is as unyielding and dogmatic about religious belief as true believers are about heathens. It tries to use reason to demolish a structure that is not built upon reason.”
—Sydney J. Harris (19171986)
“There is no such thing as a language, not if a language is anything like what many philosophers and linguists have supposed. There is therefore no such thing to be learned, mastered, or born with. We must give up the idea of a clearly defined shared structure which language-users acquire and then apply to cases.”
—Donald Davidson (b. 1917)
“... the structure of a page of good prose is, analyzed logically, not something frozen but the vibrating of a bridge, which changes with every step one takes on it.”
—Robert Musil (18801942)