Académique Documents
Professionnel Documents
Culture Documents
METHODS IN PSYCHOLOGY
(LAB SECTION)
INSTRUCTOR: ZEBING WU
EMAIL: ZW287@HUNTER.CUNY.EDU
OUTLINE
• Self-Introduction
• Lab Rules
• Go over Syllabus
• Intro to Statistics and SPSS
• Data type, Data entering in Excel and SPSS
• Complete Lab 1 Worksheet on your own or in group
INTRODUCING YOUR SELF
• Name
• One thing special about yourself, letting us remember you
LAB RULES
• Goals of Lab
• Class Policies
• Attendance
• Evaluation
• College Policies
• Resources
• Schedule
STATISTICS
• Data View: part of the data editor where you enter and view
the numbers
• Variable View: part of the data editor where variables are
defined and specified
• Output: SPSS window that shows the results of analyses
• Syntax: commands or codes written to run analyses
• Other General Statistical Packages: SAS, Stata, R, MATLAB, etc.
OUTPUT
The purpose of syntax is to keep record and save your time to redo all steps all over
again. In addition, you could revise the syntax accordingly if you work on similar
problems.
We can also write comments in the syntax to remind us what we are doing, step by
step.
Create: File—New—Syntax; Use existing one: File—Open—Syntax
Two ways: Write directly in the syntax window if you know the syntax, or copy from
the SPSS window using the “paste” button when you want to complete an operation
to the syntax window if don’t know the syntax,
SAVE DATA, SYNTAX, AND OUTPUT
• Data entry in Excel and SPSS: By Column or By Row; Copy and Paste, or import
• Name: naming the variable, some general rules, e.g., no space, no replicate, case insensitive, $, #, and @
can be used within variable names. Reserved keywords cannot be used as variable names, including ALL,
AND, BY, EQ, GE, GT, LE, LT, NE, NOT, OR, TO, and WITH.
• Type: the types of data, two mostly used are numerical and string. E.g., Student ID should be string, since
there is no meaning for it to be numerical. Gender or other categorical variables can be string as well,
but we usually use numerical to code it since we may want to operate on it.
• Label: the box where you can put notes about the variables to help understand the variables
• Value: the box where you can code the data or variable
• Measure: levels of measurement for this variable, could nominal, ordinal, and scale which include both
interval and ratio.
LAB ASSIGNMENT ON YOUR OWN OR IN GROUP