Date: Sun, 6 Feb 2005 15:56:45 0300
ReplyTo: Hector Maletta <hmaletta@fibertel.com.ar>
Sender: "SPSSX(r) Discussion" <SPSSXL@LISTSERV.UGA.EDU>
From: Hector Maletta <hmaletta@fibertel.com.ar>
Subject: Re: Simple line graph
InReplyTo: <8AE883D86DBAAF4E9924E984A06927F20ADB6D@mcintire6.comm.virginia.edu>
ContentType: text/plain; charset="usascii"
Tony,
Produce the scatterplot. Then doubleclick on it to edit the graph. In the
editing menu go to Design  Options, then select adjusting a line. You have
a choice of shapes for the line (linear, quadratic, etc).
Regarding the dummy, the regression command does not produce separate lines
in the same plot as far as I know. But you can produce it with the GRAPH
command specifying:
GRAPH
/SCATTERPLOT(BIVAR)=var1 WITH var2 BY dummyvar.
The chart will show points with different colours according to the dummy's
value. Adjusting line will produce the two lines you want.
Hector
> Original Message
> From: SPSSX(r) Discussion [mailto:SPSSXL@LISTSERV.UGA.EDU]
> On Behalf Of Baglioni, Tony
> Sent: Sunday, February 06, 2005 3:27 PM
> To: SPSSXL@LISTSERV.UGA.EDU
> Subject: Simple line graph
>
>
> All,
>
>
>
> I have what I suppose is a simple problem that I cannot
> figure out. First, I am generating an example of a regression
> between two interval level variables for a class. I want to
> obtain a scatter plot of the two variables with the
> regression line included and I cannot figure out how to do
> it. As a followup to this, I want to include a dummy
> variable and have a plot that shows the separate lines for
> each level of the dummy variable.
>
>
>
> Any help is appreciated.
>
>
>
> Tony
>
>
>
> A. J. Baglioni, jr.
>
> McIntire School of Commerce
>
> University of Virginia
>
> ajb2t@virginia.edu
>
> (434) 9244961
>
>
>
