IBM Support

How can I add a fit line to a scatterplot directly, without chart editor?

Question & Answer


Question

I would like to produce a scatterplot for 2 variables with a linear regression fit line, i.e. a line of predicted values of Y across the domain of X. I have designated a split file variable with a large number of values, so there will be many scatterplots produced by one command. I don't want to edit each chart in a chart editor to add the fit line. Can I directly request the fit line from the scatterplot dialogs or subcommands for any of the graph procedures in SPSS Statistics?

[{"Product":{"code":"SSLVMB","label":"IBM SPSS Statistics"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF033","label":"Windows"}],"Version":"18.0","Edition":"","Line of Business":{"code":"LOB76","label":"Data Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Historical Number

87369

Document Information

More support for:
IBM SPSS Statistics

Software version:
18.0

Operating system(s):
Windows

Document number:
424357

Modified date:
16 April 2020

UID

swg21485480

Manage My Notification Subscriptions