c3 - Example C3 SAS Program goptions reset=all; goptions...

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

View Full Document Right Arrow Icon
Example C3 SAS Program goptions reset =all; goptions hsize = 7.5 in vsize = 5.5 in rotate =landscape targetdevice =pscolor; data chicks; input wtgain @@; label wtgain = 'Weight gain (in gms) after 8-weeks' ; datalines ; 3.7 4.2 4.4 4.4 4.3 4.2 4.4 4.8 4.9 4.4 4.2 3.8 4.2 4.4 4.6 3.9 4.1 4.5 4.8 3.9 4.7 4.2 4.2 4.8 4.5 3.6 4.1 4.3 3.9 4.2 4.0 4.2 4.0 4.5 4.4 4.1 4.0 4.0 3.8 4.6 4.9 3.8 4.3 4.3 3.9 3.8 4.7 3.9 4.0 4.2 4.3 4.7 4.1 4.0 4.6 4.4 4.6 4.4 4.9 4.4 4.0 3.9 4.5 4.3 3.8 4.1 4.3 4.2 4.5 4.4 4.2 4.7 3.8 4.5 4.0 4.2 4.1 4.0 4.7 4.1 4.7 4.1 4.8 4.1 4.3 4.7 4.2 4.1 4.4 4.8 4.1 4.9 4.3 4.4 4.4 4.3 4.6 4.5 4.6 4.0 ; run ; title1 c=blue 'Weight Gain of Chicks' ; title2 c=blue 'Histogram with 13 intervals' ; axis1 label =( c =steelblue h = 1 ' Weight Gain ' ); axis2 order = 0 to 15 by 1 label =( c =steelblue h = 1 a = 90 'Frequency' ) ; pattern1 c=magenta v=l4; proc gchart data =chicks; vbar wtgain/ midpoints = 3.7 to 4.9 by .1 maxis =axis1 raxis =axis2 ; 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 5 data chicks; 6
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 / 3

c3 - Example C3 SAS Program goptions reset=all; goptions...

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