FAQ/regline - CBU statistics Wiki

Revision 8 as of 2009-07-10 10:29:06

Clear message
location: FAQ / regline

Putting a regression line on a scatterplot

Putting a regression line on a scatterplot in SPSS can be done using the interactive graph in SPSS. The syntax below draws a regression line using reading score to predict writing score. Fuller details are given [http://www.ats.ucla.edu/stat/spss/faq/scatter here]

IGRAPH
 /X1 = VAR(READ)
 /Y = VAR(WRITE)
 /FITLINE METHOD = REGRESSION LINEAR LINE = TOTAL
 /SCATTER.