HW2 - Meeryu Chung HW2 September 14, 2011 2.1 DATA PROB1_1;...

Info iconThis preview shows pages 1–2. 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
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Meeryu Chung HW2 September 14, 2011 2.1 DATA PROB1_1; INPUT ID AGE GENDER $ GPA CSCORE; DATALINES ; 1 18 M 3.7 650 2 18 F 2.0 490 3 19 F 3.3 580 4 23 M 2.8 530 5 21 M 3.5 640 ; PROC FREQ DATA =PROB1_1; TABLES GENDER; RUN ; The SAS System 13:01 Wednesday, September 14, 2011 1 The FREQ Procedure Cumulative Cumulative GENDER Frequency Percent Frequency Percent F 2 40.00 2 40.00 M 3 60.00 5 100.00 2.2 DATA CLINIC; INPUT @1 ID $ 3. @4 GENDER $ 1. @5 RACE $ 1. @6 HR 3. @9 SBP 3. @12 DBP 3. @15 N_PROC 2.; AVE_BP = DBP + ( 1 / 3 )*(SBP-DBP); DATALINES ; 001MW08013008010 002FW08811007205 003MB05018810002 004FB 10806801 005MW06812208204 006FB101 07404 007FW07810406603 008MW04811207006 009FB07719011009 010FB06616410610 ; PROC MEANS DATA =CLINIC MAXDEC=2 MEAN STD NMISS MEDIAN CLM ; VAR SBP DBP AVE_BP; RUN ; The MEANS Procedure N Lower 95% Upper 95% Variable Mean Std Dev Miss Median...
View Full Document

Page1 / 7

HW2 - Meeryu Chung HW2 September 14, 2011 2.1 DATA PROB1_1;...

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