STAT 430 Lecture 3: Program Structure

60 views4 pages

Document Summary

The sas programming involves first creating/reading the data sets into the memory and then doing the analysis on this data. We need to understand the flow in which a program is written to achieve this. The below diagram shows the steps to be written in the given sequence to create a sas. Every sas program must have all these steps to complete reading the input data, analysing the data and giving the output of the analysis. Also the run statement at the end of each step is required to complete the execution of that step. This step involves loading the required data set into sas memory and identifying the variables (also called columns) of the data set. It also captures the records (also called observations or subjects). The syntax for data statement is as below. The below example shows a simple case of naming the data set, defining the variables, creating new variables and entering the data.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related textbook solutions

Related Documents