Skip to Main Content
An Introduction to SAS University Edition
book

An Introduction to SAS University Edition

by Ron Cody
February 2018
Beginner content levelBeginner
366 pages
7h 2m
English
SAS Institute
Content preview from An Introduction to SAS University Edition

Appendix: Solutions to the Odd-Numbered Problems

Solution 8-1;

data Quick_Survey;

   infile '/folders/myfolders/Quick.txt';

   informat Subj $3.

            Gender $1.

            DOB mmddyy10.

            Income_Group $1.;

    input Subj

         Gender

         DOB

         Height

         Weight

         Income_Group;

   format DOB mmddyy10.;

run;

title "Listing of Data Set QUICK_SURVEY";

proc print data=Quick_Survey;

   id Subj;

run;

*Solution 8-3;

title "Frequencies";

proc freq data=Quick_Survey order=freq;

   tables Gender Income_Group / nocum;

run;

Solution 8-5;

data Quick_Survey;

   infile '/folders/myfolders/Quick.csv' dsd;

      informat Subj $3.

            Gender $1.

            DOB mmddyy10.

            Income_Group $1.;

    input ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Essential Statistics Using SAS University Edition

Essential Statistics Using SAS University Edition

Geoff Der, Brian S. Everitt
Elementary Statistics Using SAS

Elementary Statistics Using SAS

Sandra D. Schlotzhauer

Publisher Resources

ISBN: 9781629600079