Diff for "FAQ/regline" - CBU statistics Wiki
location: Diff for "FAQ/regline"
Differences between revisions 4 and 7 (spanning 3 versions)
Revision 4 as of 2007-01-25 15:50:22
Size: 354
Editor: PeterWatson
Comment:
Revision 7 as of 2009-07-10 10:28:57
Size: 436
Editor: PeterWatson
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
Putting a regression line on a scatterplot in SPSS needs to be done slightly differently using version 12.0 and above. A step by step guide to doing this may be found by choosing 'Chart Editing' and then going to page 14 of the pdf document found at http://www.calstatela.edu/its/docs/pdf/lspss12.pdf 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.
}}}

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.

None: FAQ/regline (last edited 2013-03-08 10:17:36 by localhost)