lesson04 - Lesson 4 Overview Descriptive Procedures...

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

View Full Document Right Arrow Icon

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

View Full DocumentRight Arrow Icon

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

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

Unformatted text preview: Lesson 4 Overview Descriptive Procedures Procedures FREQ, CORR, REG, SGPLOT Comment and Option Statements Program 4 in course notes Cody & Smith (Chapter 3:G; 5:A-F) LSB 4:11; 8:2-6,12-15 DATA weight; INFILE C:\SAS_Files\tomhs.dat' ; INPUT @ 1 ptid $10. @ 12 clinic $1. @ 27 age 2. @ 30 sex 1. @ 58 height 4. @ 85 weight 5. @ 140 cholbl 3. ; bmi = (weight* 703.0768 )/(height*height); RUN ; Program 4 PROC FREQ DATA =weight; TABLES clinic sex ; TITLE 'Frequency Distribution of Clinical Center and Gender' ; RUN ; Frequency Distribution of Clinical Center and Gender The FREQ Procedure Cumulative Cumulative clinic Frequency Percent Frequency Percent A 18 18.00 18 18.00 B 29 29.00 47 47.00 C 36 36.00 83 83.00 D 17 17.00 100 100.00 Cumulative Cumulative sex Frequency Percent Frequency Percent 1 73 73.00 73 73.00 2 27 27.00 100 100.00 PROC FREQ DATA =weight; TABLES clinic/ NOCUM ; TITLE 'Frequency Distribution of Clinical Center ' ; TITLE2 '(No Cumulative Percentages) ' ; RUN ; Frequency Distribution of Clinical Center (No Cumulative Percentages) The FREQ Procedure...
View Full Document

Page1 / 20

lesson04 - Lesson 4 Overview Descriptive Procedures...

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

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