Bar Chart Question...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Bar Chart Question...

Kheper
Hello everyone,

I'm Kheper. First, please excuse any violations in listserve protocol as this is the first time I've ever used a listserve . Protocol guidance is welcome.

I have a data file that contains 4 variables that indicate frequency of consumption. The four variables are french fries, chips, soda and candy. Each variable is coded 0= 0 times per week , 1=1-2 times per week, 3= 3-4 times per week, and 4=5+ times per week.

I'm trying to create a single bar chart that contains the frequency distribution for consumption for each of the 4 variables. How do I do this in SPSS version 18. I can create a bar chart that has the mean of all four variables, but I want the frequency distribution instead.

Any assistance would be most appreciated. If additional clarity is needed, please let me know.

Thanks Kheper.
Reply | Threaded
Open this post in threaded view
|

Re: Bar Chart Question...

ViAnn Beadle

How many bars are in this chart? Describe what you want to see on the x-axis.

 

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Kheper
Sent: Wednesday, September 21, 2011 1:35 AM
To: [hidden email]
Subject: Bar Chart Question...

 

Hello everyone,

I'm Kheper. First, please excuse any violations in listserve protocol as this is the first time I've ever used a listserve . Protocol guidance is welcome.

I have a data file that contains 4 variables that indicate frequency of consumption. The four variables are french fries, chips, soda and candy. Each variable is coded 0= 0 times per week , 1=1-2 times per week, 3= 3-4 times per week, and 4=5+ times per week.

I'm trying to create a single bar chart that contains the frequency distribution for consumption for each of the 4 variables. How do I do this in SPSS version 18. I can create a bar chart that has the mean of all four variables, but I want the frequency distribution instead.

Any assistance would be most appreciated. If additional clarity is needed, please let me know.

Thanks Kheper.

Reply | Threaded
Open this post in threaded view
|

Re: Bar Chart Question...

John F Hall
In reply to this post by Kheper

Try something like:

 

graph

  /BAR (GROUPED) = PCT BY <how often>   BY <foodstuff>.

 

. . . in which you insert your own text for the bits in <chevrons>.  If you use the GUI the syntax produced is absolutely horrendous.

 

 

John F Hall

 

[hidden email]

www.surveyresearch.weebly.com

 

 

 

 

From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of Kheper
Sent: 21 September 2011 09:35
To: [hidden email]
Subject: Bar Chart Question...

 

Hello everyone,

I'm Kheper. First, please excuse any violations in listserve protocol as this is the first time I've ever used a listserve . Protocol guidance is welcome.

I have a data file that contains 4 variables that indicate frequency of consumption. The four variables are french fries, chips, soda and candy. Each variable is coded 0= 0 times per week , 1=1-2 times per week, 3= 3-4 times per week, and 4=5+ times per week.

I'm trying to create a single bar chart that contains the frequency distribution for consumption for each of the 4 variables. How do I do this in SPSS version 18. I can create a bar chart that has the mean of all four variables, but I want the frequency distribution instead.

Any assistance would be most appreciated. If additional clarity is needed, please let me know.

Thanks Kheper.