LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (December 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 10 Dec 2008 09:38:57 -0500
Reply-To:     Statmanz <statmanz@earthlink.net>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         Statmanz <statmanz@earthlink.net>
Subject:      Re: Graphing Likert Questions
Comments: To: ViAnn Beadle <vab88011@gmail.com>
In-Reply-To:  <001101c95ad3$f1646e60$d42d4b20$@com>
Content-Type: text/plain; charset="us-ascii"

That's it

Thanks ViAnn

W

-----Original Message----- From: ViAnn Beadle [mailto:vab88011@gmail.com] Sent: Wednesday, December 10, 2008 9:31 AM To: 'Statmanz'; SPSSX-L@LISTSERV.UGA.EDU Subject: RE: Graphing Likert Questions

Start with the multiple line gallery item. Make sure your six likert scales are numeric and not categorical (if they are you can change their level of measurement within chart builder by right clicking on them). Drag your six variables to y to create an summary variable and an index variable. Turn on the groups checkbox in the groups/point id panel and drop gender into the target zone. The syntax will look something like this (using employee data.sav) which plots beginning and end salary by gender:

GGRAPH /GRAPHDATASET NAME="graphdataset" VARIABLES=MEAN(salary) MEAN(salbegin) gender MISSING=LISTWISE REPORTMISSING=NO TRANSFORM=VARSTOCASES(SUMMARY="#SUMMARY" INDEX="#INDEX") /GRAPHSPEC SOURCE=INLINE. BEGIN GPL SOURCE: s=userSource(id("graphdataset")) DATA: SUMMARY=col(source(s), name("#SUMMARY")) DATA: INDEX=col(source(s), name("#INDEX"), unit.category()) DATA: gender=col(source(s), name("gender"), unit.category()) GUIDE: axis(dim(1), label("Gender")) GUIDE: axis(dim(2), label("Mean")) GUIDE: legend(aesthetic(aesthetic.color.interior), label("Gender")) SCALE: cat(dim(1), include("0", "1")) SCALE: linear(dim(2), include(0)) SCALE: cat(aesthetic(aesthetic.color.interior), include("f", "m")) ELEMENT: line(position(INDEX*SUMMARY), color.interior(gender), missing.wings()) END GPL.

If you want line styles to differ by pattern or width you'll have to change the color.interior function and aesthetic to shape.

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Statmanz Sent: Wednesday, December 10, 2008 7:08 AM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Graphing Likert Questions

Can the GPL be modified (perhaps directly via the Graphic GUI in V17 but can't figure it out) so that if one needs to plot (line chart) showing the means of several (say 6) Likert questions "split" by a categorical variable, e.g., gender, in one chart versus paneled? The Likert questions showing on the x-axis, means on the y-axis clustered, for lack of a better word, by gender (not paneled). If can, an example of the syntax would be helpful.

Tks, WMB Statistical Services

============ mailto: info.statman@earthlink.net http:\\home.earthlink.net\~info.statman ============

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page