i want to make one bar charts with multiple variables in x axis with the bar shows the frequencies

Moderators: statman, Analyst Techy, andris, Fierce, GerineL, Smash

rainascarlette
Posts: 1
Joined: Sun Jan 17, 2016 1:18 am

i want to make one bar charts with multiple variables in x axis with the bar shows the frequencies

Postby rainascarlette » Sun Jan 17, 2016 1:33 am

Hi there!
In SPSS, I want to create a bar chart that includes 4 variables on x axis
How to do it? Is it possible?

Mine is version 23

First, I have a set of nominal and dicothomous variables (yes/no) which is 0=No 1=Yes:
(1) Diabetic pill
(2) Insulin
(3) Hypertension pill
(4) Cholesterol pill

In SPSS data, (1)-(4) is in separate column.

What I want: I want to create one bar chart with all four variables in it. The four bars should show frequencies, i.e. the height of each bar indicates the total number of "Yes" and "No" for variables (1)-(4).

Please help me. I've search through google and other forum i just dont understand how to code it on syntax editor. Even in chart builder, it wont let me put more than 1 variable in x axis.

Sincerely,
Raina.

Who is online

Users browsing this forum: No registered users and 1 guest

cron