a5 - NOTE: The data set WORK.FOUR has 4 observations and 2...

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

View Full Document Right Arrow Icon
EXAMPLE A5 SAS Program data four; input x1-x3; x3= 3*x3-x1**2; x4=sqrt(x2); drop x1 x2; datalines; 3 4 5 -2 9 3 . 16 8 -3 1 4 ; run; proc print data=four; title 'Flow of operations in a data step'; run;
Background image of page 1

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

View Full DocumentRight Arrow Icon
SAS Log 1 options ls=80 nodate pageno=1; 2 data four; 3 input x1-x3; 4 x3= 3*x3-x1**2; 5 x4=sqrt(x2); 6 drop x1 x2; 7 datalines; NOTE: Missing values were generated as a result of performing an operation on missing values. Each place is given by: (Number of times) at (Line):(Column). 1 at 4:9 1 at 4:12
Background image of page 2
Background image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: NOTE: The data set WORK.FOUR has 4 observations and 2 variables. NOTE: DATA statement used (Total process time): real time 0.13 seconds cpu time 0.02 seconds 12 ; 13 run; 14 proc print data=four; 15 title 'Flow of operations in a data step'; 16 run; NOTE: There were 4 observations read from the data set WORK.FOUR. NOTE: PROCEDURE PRINT used (Total process time): real time 0.08 seconds cpu time 0.01 seconds SAS Output Flow of operations in a data step 1 Obs x3 x4 1 6 2 2 5 3 3 . 4 4 3 1...
View Full Document

This note was uploaded on 02/18/2012 for the course STAT 479 taught by Professor Staff during the Winter '08 term at Iowa State.

Page1 / 3

a5 - NOTE: The data set WORK.FOUR has 4 observations and 2...

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