Dear listers,
Again, Ive run into a GPL problem. Maybe you can help out:
I would like to add several regression equation, e.g. group-wise by GENDER
or even subject-wise, e.g. by ID including the display of the generated
regression equation. Any ideas whether SPSS could do that?
Thank you very much,
TinyTina
GGRAPH
/GRAPHDATASET
NAME="Employeedata"
VARIABLES=all
MISSING=LISTWISE
REPORTMISSING=NO
/GRAPHSPEC SOURCE=INLINE.
BEGIN GPL
SOURCE: s = userSource(id("Employeedata"))
DATA: salbegin=col(source(s), name("salbegin"))
DATA: salary=col(source(s), name("salary"))
DATA: gender=col(source(s), name("gender"))
GUIDE: axis(dim(2), label("Current Salary"))
GUIDE: axis(dim(1), label("Beginning Salary"))
ELEMENT: point(position(salbegin*salary))
ELEMENT: line(position(smooth.linear(salbegin*salary)))
ELEMENT: line(position(smooth.quadratic(salbegin*salary)))
ELEMENT: line(position(smooth.cubic(salbegin*salary)))
END GPL.
=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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