Survey research and design in psychology/Tutorials/Introduction to SPSS

From Wikiversity

Jump to: navigation, search

Introduction to SPSS

The aim of this section is to (re)-familiarise you with the SPSS software environment and to highlight some of the features of SPSS which will be particularly useful during this unit.

Attention yellow.svg For this tutorial, download and open this excel data file using SPSS. We will then manipulate this file during the tutorial using SPSS.

Contents

[edit] Windows / file types

Three main types of windows and file types in SPSS:

[edit] Data (.sav)

  1. Views
    • Data view
    • Variable view
  2. Changing variable properties

[edit] Output (.spo)

  1. Chart Editor - Chart manipulation
    • Table manipulation

[edit] Syntax (.sps)

  1. Pasting
  2. Writing
  3. Executing
  4. Notating

[edit] Data manipulation

  1. Inserting
  2. Deleting
  3. Sorting
  4. Recoding

[edit] Editing SPSS defaults

  1. Edit - Options, e.g.,
    • Pivot Tables - TableLook
  2. Help
    • Index
    • Tutorials

[edit] Importing data from MS Excel

  1. Data file: World95.xls
  2. Pasting
  3. Importing
  4. Exporting

[edit] Chart manipulation

Edit to APA format, e.g.,

  1. Remove default background and box
  2. Appropriate labels/legend
  3. Descriptive axis titles
  4. Times New Roman 12pt font
  5. remove missing values / out of range scores, etc.
  6. Provide a title below the chart (in the word processing file) 
  7. Is the maximum (relevant) information conveyed in the most efficient and understandable way?
  8. Note that graphs can also be prepared in Excel, MS Word (Insert - Object - Microsoft Graph Chart, or many other packages.

[edit] Table manipulation

Edit to APA format, e.g.,

  1. Edit either in SPSS output or copy into a word processor
  2. Note that sometimes its easier to creating a new table in a spreadsheet or word processing program
  3. Remove default gridlines except horizontal lines above and below the header row and at the bottom of the table
  4. Meaningful row and column labels
  5. Use correct statistical symbols
  6. Times New Roman 12pt font
  7. Provide a the title above the table
  8. Is the maximum (relevant) information conveyed in the most efficient and understandable way?

[edit] Copying output to MS Word

  1. r. click on an SPSS Output Table or Graph
  2. "Copy"; treats the item as elements (which can be edited after pasting) - best option for Tables
  3. "Copy objects"; treats the item as a picture (not editable) - it will look as (almost) exactly as it does in the SPSS output - best option for Charts.
  4. In an MS Word document ctrl-v (to paste) (or choose Edit - Paste)
  5. Centre the figure / table
  6. Edit to APA format
  7. See also Francis (2004), p. 212.

[edit] Working with SPSS syntax

  1. SPSS syntax files are simply text files which allows you to store, modify, and then re-run specific commands. 
  2. Syntax is particularly useful when you are working over multiple sessions on a series of related analyses. For example, if you did 10 hours of analysis on your lab report data and then found a mistake in the data, you would have to redo all the analyses. If you had stored the syntax commands, you would simply fix the data, open the syntax file, highlight the commands and execute them.
  3. You can use the pull-down menus to create syntax. Instead of clicking on "OK"; to execute the command, click on "Paste". This will dump the command syntax into a (.sps) text file.  The file can then be saved. To run the command, put the cursor on the command (or highlight it) and click on the "Run" (play) button.
  4. Alternatively, you can directly type SPSS commands into the syntax screen, but this takes a lot to learn.
  5. It is recommended that you annotate syntax files with lines which start an asterisk (*) and finish with a full-stop (.). That way you will be more easily be able to come back to the syntax file later on. e.g., * THIS IS AN SPSS COMMENT - it starts with an asterisk and finishes with a full-stop.
  6. See also Allen and Bennett (Ch 17)

[edit] See also