b12 - Example B12 SAS PROGRAM options...

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

View Full Document Right Arrow Icon
Example B12 SAS PROGRAM options formchar= "|----|+|---+=|-/\<>*" ; libname mylib 'C:\Documents and Settings\mervyn\My Documents\Classwork\stat479\' ; proc format ; value ing 1 = 'Low' 2 = 'Middle' 3 = 'High' ; run ; proc chart data =mylib.fueldat; vbar fuel; vbar fuel/ midpoints = 300 to 1000 by 100 type = percent ;; vbar incomgrp/ discrete sumvar =fuel; vbar incomgrp/ discrete sumvar =fuel type = mean subgroup =taxgrp; vbar incomgrp/ discrete sumvar =fuel type = mean group =taxgrp; format incomgrp ing. ; title 'Illustrating HBAR statement in PROC CHART' ; 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 3 options formchar="|----|+|---+=|-/\<>*"; 4 libname mylib 'C:\Documents and Settings\mervyn\My Documents\Classwork\stat479\'; NOTE: Libref MYLIB was successfully assigned as follows: Engine: V9 Physical Name: C:\Documents and Settings\mervyn\My Documents\Classwork\stat479 5 6 proc format; 7 value ing 1 = 'Low' 8 2 = 'Middle' 9 3 = 'High'; NOTE: Format ING has been output. 10 run; NOTE: PROCEDURE FORMAT used (Total process time): real time 0.12 seconds cpu time 0.00 seconds 11 proc chart data=mylib.fueldat; 12 vbar fuel; 13 vbar fuel/midpoints =300 to 1000 by 100 type=percent;; 14 vbar incomgrp/discrete sumvar=fuel; 15 vbar incomgrp/discrete sumvar=fuel type=mean subgroup=taxgrp;
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 7

b12 - Example B12 SAS PROGRAM options...

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