Thanks!
How are you generating the scatter-plot (i.e., legacy version,
interactive graphics version, or new GPL method)?
--
Bruce Weaver
bwe...@lakeheadu.ca
www.angelfire.com/wv/bwhomedir
"When all else fails, RTFM."
We are using the interactive version to generate the scatterplot. We
tried another method but got the same result - no equation.
To obtain the regression linear equation, do the following:
1. Open the output file
2. Double click on the graph
3. Click on the add a reference line icon
4. Check attach label to line
5. Click apply and close
That should do it.
HTH
Ryan
>> We are using the interactive version to generate the scatterplot. We
>> tried another method but got the same result - no equation.- Hide quoted text -
>>
>> - Show quoted text -
>
> To obtain the regression linear equation, do the following:
>
> 1. Open the output file
> 2. Double click on the graph
> 3. Click on the add a reference line icon
> 4. Check attach label to line
> 5. Click apply and close
>
> That should do it.
It would be a "fit line", I think, not a reference line. Also, this is
the procedure for adding a regression line to a scatter-plot that was
created via the GRAPH command (legacy graphs in the GUI). But as far as
I can tell, the OP is using the IGRAPH command (interactive graphics in
the GUI). It allows one to add a regression line via syntax, and also
displays the regression equation. The OP's problem, I think, is that
the *equation* is not appearing.
If the OP is still reading this, please post your IGRAPH syntax. It
might help someone figure out what the problem is. Of course, it might
just be another v16 bug. Have you installed the available patches?
--
Bruce Weaver
bwe...@lakeheadu.ca
www.angelfire.com/wv/bwhomedir
Bruce is correct. I made an error. The reference line to which I was
referring is called the "reference line from the equation," which is
not the same as the "fit line." I'm sorry for the error.
----------
In the event the OP does not return, it's worth noting that I am
experiencing the same difficulty the OP reported. I obtained the
regression equation using the following syntax from spss 15:
IGRAPH /VIEWNAME='Scatterplot' /X1 = VAR(VAR00001) TYPE = SCALE /Y =
VAR(VAR00002) TYPE = SCALE /COORDINATE = VERTICAL /FITLINE METHOD =
REGRESSION LINEAR LINE = TOTAL SPIKE=OFF /X1LENGTH=3.0 /YLENGTH=3.0
/X2LENGTH=3.0 /CHARTLOOK='NONE' /SCATTER COINCIDENT = NONE.
EXE.
but the equation does not appear next to the graph when you run the
same syntax in version 16.
Even if the OP does not return, I would be very interested in hearing
if there is a solution.
Ryan
> In the event the OP does not return, it's worth noting that I am
> experiencing the same difficulty the OP reported. I obtained the
> regression equation using the following syntax from spss 15:
>
> IGRAPH /VIEWNAME='Scatterplot' /X1 = VAR(VAR00001) TYPE = SCALE /Y =
> VAR(VAR00002) TYPE = SCALE /COORDINATE = VERTICAL /FITLINE METHOD =
> REGRESSION LINEAR LINE = TOTAL SPIKE=OFF /X1LENGTH=3.0 /YLENGTH=3.0
> /X2LENGTH=3.0 /CHARTLOOK='NONE' /SCATTER COINCIDENT = NONE.
> EXE.
>
> but the equation does not appear next to the graph when you run the
> same syntax in version 16.
>
> Even if the OP does not return, I would be very interested in hearing
> if there is a solution.
>
> Ryan
I'm now back on a PC with SPSS v16, and can confirm that I too am not
seeing the regression equation in the scatter-plot produced by the
following syntax. Nor can I find any obvious method of making it
appear via the Chart Editor.
GET
FILE='C:\Program Files\SPSS\Samples\1991 U.S. General Social
Survey.sav'.
IGRAPH
/VIEWNAME='Scatterplot'
/X1=VAR(speduc) TYPE=SCALE
/Y=VAR(educ) TYPE=SCALE
/COORDINATE=VERTICAL
/FITLINE METHOD=REGRESSION LINEAR LINE=TOTAL SPIKE=OFF
/YLENGTH=5.2
/X1LENGTH=6.5
/CHARTLOOK='NONE'
/SCATTER COINCIDENT=NONE.
--
Bruce Weaver
bwe...@lakeheadu.ca
www.angelfire.com/wv/bwhomedir
Bruce, I think the answer is that this feature is no longer available.
The good news is that you could change the equation of the reference
line to be the same as the equation for the fit line, and the equation
will appear next to the graph. -Ryan
Thanks! Marisa
Thanks again, Marisa