Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Creating scatterplots

From: SPSS Statistics Essential Training (2011)

Video: Creating scatterplots

In the last movie we talked about how to chart the relationship between two categorical variables with clustered bar charts. On the other hand, if you have two scale variables, also called quantitative variables or measured variables, then your best choice is almost always a scatter plot. Scatter plots are familiar to most people. There's an x axis across the bottom and a y axis up this side, and each person or case gets a dot to show the combination of their two scores, like height and weight or high school and college GPA. In general you want to put your predictor variable on the bottom, on the x axis, and your outcome variable or the thing you're trying to predict on the y axis, and SPSS makes the whole process very simple.

Creating scatterplots

In the last movie we talked about how to chart the relationship between two categorical variables with clustered bar charts. On the other hand, if you have two scale variables, also called quantitative variables or measured variables, then your best choice is almost always a scatter plot. Scatter plots are familiar to most people. There's an x axis across the bottom and a y axis up this side, and each person or case gets a dot to show the combination of their two scores, like height and weight or high school and college GPA. In general you want to put your predictor variable on the bottom, on the x axis, and your outcome variable or the thing you're trying to predict on the y axis, and SPSS makes the whole process very simple.

You can create a scatter plot with the Chart Builder in just a few steps. And for this example I'm going to be using the same Google searches information in Searches.sav. I am going to come up to Graphs, to Chart Builder and then in the Gallery I will choose Scatter, and just use a Simple Scatter plot. I will drag that up to the canvas. And then in this particular example, I'm going to take interest in SPSS as a relative interest as a search term and put it on the x axis, and then I am going to take one that may seem a little peculiar, but the search term, Totally Lost, and put that on the y axis.

I'm also going to make it possible for me to identify points by clicking on the Point ID label. That brings up a box in the canvas. and I can come up here and I can take the state code and drag that in and that should be enough for right now. I'll click OK and here's my general scatter plot. And what you see is first off a lot of fuzz, because I have dots and I have the state labels. I am going to take care of those in just a second. But it's clear that there's a very strong linear uphill trend, that places that show greater relative interest in SPSS as a search term in Google also for reasons that may not be totally clear show greater use of the search term Totally Lost as they go through.

Now, I am going to clean up this chart in a few ways. I am going to try to go through it relatively quickly and give you an idea of what's possible. To edit the chart you need to double- click on it, and what I am going to do is I am going to turn off all of the state labels by going to Elements and Hide Data Labels. I will bring back just one or two of them for illustration later. There's a few things I want to show you how to clean up. For instance, you can change almost anything by clicking on it. I have selected the data points here and I can make them instead of black circles, I can make them red dots by clicking red for the Border and then red for the Fill.

If I want to change the colors of lines, I can do that as well. I can also change the axis down here from 3 decimal places by clicking on Number Format and changing that to 0, clicking Apply, and doing the same thing over here, changing that to 0 and clicking Apply. Now what I am going to do is I am going to add a linear regression line. This is also the basis of an inferential procedure, linear aggression, that we'll be coming to a little bit later, but right now it's a very simple thing to do. I just come up to the Button bar and click on this one that says Add a Fit Line at Total, and that's a regression line that goes all the way through.

It also adds a little bit of information right here that I don't need right now, so I am going to select that and press Delete. And then I've got a very clear, strong, upward trend, higher relative interest in SPSS as a search term, also higher use of the word Totally Lost as a search term. The one last thing I'm going to do is I'm going to add an identifier to the point that's in the top right. We saw what it was earlier, but I am going to add an identifier for just it. By coming over to the left of this button bar, clicking on the little target, which is the Data Label Mode, I click on that, and then I come back over and click on that data point I want to identify, and we see there that it's Washington D.C., and that's probably enough for this particular chart.

I want you to be aware that there are many other options. For instance, I can add vertical and horizontal reference lines. I can also change the kind of regression line I have through. For instance, this is called a linear regression line, but if you're interested in growth, like changes in stock prices over time, you might want to use a Quadratic or something called a Cubic. If you want to see if it's a straight line at all, you can find what's called a Smoother, in this case it's called Loess Smoother through the regression line, and I encourage you to try these alternatives, and it's actually possible to overlay one on top of the other. But for now I am going to leave this with a straight regressioline as it shows the linear patterns most clearly.

So I am going to close that and close that. So the Scatter plot can give really good insight into the relationship between two scale variables and the options that SPS gives for lines through the data can help you explore how well your data matched the assumptions of standard linear regression. In the next movie we'll look at a special kind of scatter plot called the Time Series Plot or Time Plot, where the variable on the bottom is, not surprisingly, time.

Show transcript

This video is part of

Image for SPSS Statistics Essential Training (2011)
SPSS Statistics Essential Training (2011)

52 video lessons · 20059 viewers

Barton Poulson
Author

 
Expand all | Collapse all
  1. 2m 58s
    1. Welcome
      1m 5s
    2. Using the exercise files
      40s
    3. Using a different version of the software
      1m 13s
  2. 19m 0s
    1. Taking a first look at the interface
      11m 49s
    2. Reading data from a spreadsheet
      7m 11s
  3. 21m 54s
    1. Creating bar charts for categorical variables
      7m 18s
    2. Creating pie charts for categorical variables
      2m 54s
    3. Creating histograms for quantitative variables
      5m 45s
    4. Creating box plots for quantitative variables
      5m 57s
  4. 33m 10s
    1. Recoding variables
      5m 33s
    2. Recoding with visual binning
      5m 33s
    3. Recoding by ranking cases
      5m 26s
    4. Computing new variables
      5m 37s
    5. Combining or excluding outliers
      5m 21s
    6. Transforming outliers
      5m 40s
  5. 28m 12s
    1. Selecting cases
      6m 44s
    2. Using the Split File command
      5m 12s
    3. Merging files
      5m 33s
    4. Using the Multiple Response command
      10m 43s
  6. 22m 14s
    1. Calculating frequencies
      8m 43s
    2. Calculating descriptives
      5m 31s
    3. Using the Explore command
      8m 0s
  7. 16m 3s
    1. Calculating inferential statistics for a single proportion
      6m 6s
    2. Calculating inferential statistics for a single mean
      5m 39s
    3. Calculating inferential statistics for a single categorical variable
      4m 18s
  8. 30m 43s
    1. Creating clustered bar charts
      7m 10s
    2. Creating scatterplots
      5m 8s
    3. Creating time series
      3m 24s
    4. Creating simple bar charts of group means
      4m 17s
    5. Creating population pyramids
      3m 0s
    6. Creating simple boxplots for groups
      3m 3s
    7. Creating side-by-side boxplots
      4m 41s
  9. 45m 28s
    1. Calculating correlations
      8m 17s
    2. Computing a bivariate regression
      6m 27s
    3. Creating crosstabs for categorical variables
      6m 34s
    4. Comparing means with the Means procedure
      6m 33s
    5. Comparing means with the t-test
      6m 4s
    6. Comparing means with a one-way ANOVA
      6m 30s
    7. Comparing paired means
      5m 3s
  10. 24m 30s
    1. Creating clustered bar charts for frequencies
      6m 34s
    2. Creating clustered bar charts for means
      3m 45s
    3. Creating scatterplots by group
      4m 13s
    4. Creating 3-D scatterplots
      4m 25s
    5. Creating scatterplot matrices
      5m 33s
  11. 30m 57s
    1. Using Automatic Linear Models
      11m 52s
    2. Calculating multiple regression
      9m 3s
    3. Comparing means with a two-factor ANOVA
      10m 2s
  12. 29m 29s
    1. Formatting descriptive statistics
      6m 1s
    2. Formatting correlations
      7m 49s
    3. Formatting regression
      10m 19s
    4. Exporting charts and tables
      5m 20s
  13. 51s
    1. What's next
      51s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now "Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed SPSS Statistics Essential Training (2011).

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.