SAS OnlineTutor HomeFAQ PageSuggested Learning PathsContents+Searchback||next

Creating Bar and Pie Charts
Summarizing a Variable within Categories


Question:

In the PROC GCHART step below, which statement or statements contain an error?
proc gchart data=clinic.insure;
   hbar company / sumvar=pctinsured
        type=cfreq;
   vbar total / type=mean;
   pie company / sumvar=total;
run;
  the HBAR and VBAR statements only
  the VBAR and PIE statements only
  the HBAR statement only
  none of the above


  back||next

 

Copyright © 2002 SAS Institute Inc., Cary, NC, USA. All rights reserved.

Terms of Use & Legal Information | Privacy Statement