Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

SPSS FAQ How can I create a scatterplot with a regression line in SPSS?

0
Posted

SPSS FAQ How can I create a scatterplot with a regression line in SPSS?

0

There are at least two ways to make a scatterplot with a regression line in SPSS. One way is to use the graph command, and another way is to use the ggraph command. Both are illustrated below. Let’s read in an example dataset, hsb2, which contains data from the High School and Beyond study. get file ‘c:\hsb2.sav’. Let’s do a scatterplot of the variables write with read. Note that after running the code below, you need to double click on the graph, which will open up the chart editor window. Select “chart” from the menu at the top and then “options” (which is the first item in the menu). On the right of the dialogue box is a check box called “Total” under the heading “Fit Line”. Click on the box to put in the check, or click on “Fit Options” to select a different type of fit method, such as lowess, quadratic or cubic. Close the chart editor so that the changes to take effect on your graph.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123