-
Copy the following program and paste it into the Program Editor window (or issue the command
copy sashelp.oltutor..source ).
proc gchart data=clinic.insure;
vbar company / sumvar=total
patternid=midpoint;
where total>570;
run;
-
Submit the program and view the output.
-
Without recalling the program, submit these statements and view the additional
charts:
-
an HBAR statement requesting only the statistic PERCENT for the chart
variable
Company , with PERCENT labeled Percent of
Total
-
a VBAR statement requesting the statistic CFREQ outside the bars for the
chart variable
Company
-
a RUN statement.
- View the output. Then submit a statement to end the GCHART procedure.
Return here and select Next.
|