infile statement

infile statement - 'C:\Documents and Settings\DAVID...

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

View Full Document Right Arrow Icon
* David Toledo EST 504 Assignment 3: Reading in Data and Other Useful Options Related to Data Sets; data wtloss; infile 'C:\Documents and Settings\DAVID TOLEDO\My Documents\Class stuff\SAS\wtloss1.txt' firstobs = 3 ; input diet$ excercise$ loss; run ; proc print data = wtloss; title1 'using txt extension (tab delimited)' ; run ; Obs diet excercise loss 1 pe 0 14 pe 0 13. . 2 pe 1 20 pe 1 22. . 3 pe 2 27. pe 2 26 . 4 cf 0 9 cf 0 7.5 . 5 cf 1 13 cf 1 10. . 6 cf 2 25 cf 2 26 . 7 hp 0 9 hp 0 10 . 8 hp 1 14. hp 1 17. . 9 hp 2 27 hp 2 21 . data wtlossb; infile
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: 'C:\Documents and Settings\DAVID TOLEDO\My Documents\Class stuff\SAS\wtloss1.prn' firstobs = 3 ; input diet$ excercise$ loss; run ; proc print data = wtlossb; title1 'using prn extension (space delimited)' ; run ; Obs diet excercise loss 1 pe 0 14.0 2 pe 0 13.5 3 pe 0 14.5 4 pe 1 20.0 5 pe 1 22.5 6 pe 1 20.5 7 pe 2 27.5 8 pe 2 26.0 9 pe 2 29.0 10 cf 0 9.0 11 cf 0 7.5 12 cf 0 6.0 13 cf 1 13.0 . . ....
View Full Document

This note was uploaded on 04/09/2008 for the course STAT 503 taught by Professor Steiner during the Spring '05 term at New Mexico.

Page1 / 2

infile statement - 'C:\Documents and Settings\DAVID...

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

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