@sdevenny wrote:
Hello
I know this is probably a simple fix, but I cannot get the program to work. I need to make a VBAR graph based off a table sort of like this.
Data work.whatever;
INFILE DATALINES DELIMITER = ',';
INPUT StateCd :$11.
ColPercent;
DATALINES;
Iowa,0.51
Mississippi,0.0
Utah,0.59
;
I need the graph to show StateCd as the x-axis and the values of ColPercent as the y-axis, but no matter how I try to code it, I always wind up with each bar showing the frequency (1) and not the value of the variable. How do I get the Iowa bar to show as 0.51 etc?
Show some of the code you attempted.
Probably missing Response=variable
Has the instructor for your class mentioned how to access the SAS documentation in any flavor?
... View more