View on GitHub

psych596

Graduate Statistical Methods for Psychology

Activity #4 - Data visualization in SPSS

updated Sep 29 2022


Learning Objectives


Tips for using Virtual Computing

  1. It is convenient to use Rutgers Box to store your files on the cloud. If you have activated the Box service for your netID (use the "Service Activation" link on , you will see a "Box" folder on your Virtual Computing Desktop and it will appear in Windows Explorer as a folder where you can save files. This way the work you save will still be in your Box folder when you close your connection to the Virtual Computing Desktop.
  2. If you have problems with windows or menus extending off the screen, try
    • auto-hiding the taskbar (right-click on the Virtual Desktop taskbar, "taskbar settings", "Automatically hide the taskbar in desktop mode")
    • increasing resolution on your home display
  3. From the virtual desktop, open a web browser and log in to Canvas so that you can go to the lab activity guide links from within the Virtual Desktop (this way you can download the files you need within your Virtual Desktop session)

Step 1 - Get organized and download the data file for this activity

1.1 Set up a typical project work flow consisting of a project folder ("data-visual") containing

  1. "data" folder to store raw data files for this activity
    - Download the data file mentalrotation.csv for today and put it in the "data" folder

  2. "spss" folder to store all spss files for this activity

  3. "r_docs" folder to store your lab notes in R markdown

  4. when you get to the RStudio activity, you can create an Rproj project file for this folder

Step 2 - import the data into SPSS

Start SPSS and import the mentalrotation.csv data file:

Description of the data file

Step 3 - plot means for each Angle condition

Note: This procedure is just one approach to create the graph in SPSS. There may be other, better ways (for this and other graphs) and you are welcome to use your preferred approach.

Error bars

Show the means in a line plot

Step 4 - group the bar plot by "DesiredResponse"

Now see if you can chart the same information using a line plot instead of a bar plot


Step 5 - visualize a relationship between 2 variables

Now make a scatter plot of accuracy against response time

Scatter plot of response time by accuracy, grouped by DesiredResponse


That's all for the SPSS activity - save your notes and move on to the R/RStudio activity when you are ready