11-12-2015 04:44 PM
I have a dataset with aggregated date and I would like to create a VBAR to show the distribution of the variables. I thought using the weight option would work, but it doesnt. For example, in the example below all the frequencies stand at "1", instead of using the count variable which should be somewhere between 1 and 5.
What is going on? I'm using SAS 9.3 on a windows machine.
create table class as
select distinct age, count(*) as count
group by age;
proc sgplot data=class;
vbar age / weight=count;
11-13-2015 03:52 AM
Need further help from the community? Please ask a new question.