LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (November 2008)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 10 Nov 2008 16:00:35 -0700
Reply-To:     ViAnn Beadle <vab88011@gmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         ViAnn Beadle <vab88011@gmail.com>
Subject:      Re: Graphing and Chartbuilder question
Comments: To: Gene Maguin <emaguin@buffalo.edu>
In-Reply-To:  <4E0A6BFF90194A1B959637ABDC048399@ssw.buffalo.edu>
Content-Type: text/plain; charset="us-ascii"

The Chart Builder UI doesn't provide a quick way to do a regression line, for that you have to modify the GPL. But first, you have a much bigger problem if your month variable is defined as a string. So your first problem is to get your X axis variable to be a number or date. You could even make your x axis use a variable computed from but you wouldn't get the month names there. Are you willing to do this chart using syntax in place of Chart Builder?

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Gene Maguin Sent: Monday, November 10, 2008 2:53 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Graphing and Chartbuilder question

I don't ever do much graphing so I'm really unfamiliar with graphing in 16 and, especially with chartbuilder. Plus, I confess to being lazy today. Our IT guy asked me to help with some data presentation. I've aggregated the data to months for 2007 and 2008 and now have in mind a graph showing 2007 as one line and 2008 as another line. I'd then like to put a best fit straight line through the 2007 points and a second best fit line through the 2008 points.

I'd bet that all could be done through chartbuilder, which is my next rambling question.

My data look like

Year month AAA 2007 Jan 213 ... 2007 Dec 233 2008 Jan 224 ... 2008 Dec 241

After stumbling around for a while, I got a chart that plots the value of AAA by month by year. But it has some problems. I want x axis to be in file order because $casenum=1 is Jan, $casenum=2 is Feb, etc. How do I do that? Seems like that ought to be an ordinary option.

Next, how do I put the regression lines on? I might not have looked well enough but there didn't seem to be anything about regression lines on the chart builder thing. How do I do that?

Thanks, Gene Maguin

But, it's not really what I want. First, my x-axis variable is month

===================== 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