







































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!








































Jamie Lynn Marincic Leanne Hicks Survey, Statistics, and Psychometrics Core Facility (SSP) July 19-20, 2007
S P S S
Statistical Package for the Social Sciences
Outline
Thinking about Data
▪ Variable types ▪ Levels of measurement ▪ Coding survey data
Data Entry
▪ Entering raw data and importing data
Frequencies
▪ Taking a quick look at your data
Data Management
▪ Computing and recoding variables
Measures of Central Tendency
Analyzing Subsets of your Data
Variable Types
Variables which record a response as a set of categories are termed
categorical or qualitative. ▪ e.g., ethnic group, religion, marital status, gender, birth order
Variables which record a response that has a numeric meaning are termednumerical or quantitative. ▪ e.g., scores on tests of intelligence, pounds, seconds, dollars, age
Furthermore, numerical or quantitative variables are either continuous or discrete. ▪ Numerical or quantitative data arediscrete when only a finite number of values is possible (typically whole numbers). Fraction or decimal values are usually not meaningful (e.g., ½ a person, ½ a defect, etc.) ▪ Numerical or quantitative data arecontinuous when they can be measured on a continuum or a scale. Fraction or decimal values are meaningful (e.g., ½ a dollar (i. e., $.50), ½ an inch, etc.).
Levels of Measurement
Nominal scales involve the simple classification of subjects into categories.
These scales lack an inherent order. ▪ e.g., ethnic group, religion, marital status, gender
Ordinal scales involve the simple classification of subjects into categories that have an inherent order. These scales do not have either equal intervals or a true zero point. ▪ e.g., birth order
Interval scales have equal intervals but are measured from an arbitrary point. ▪ e.g., scores on tests of intelligence, achievement, personality
Ratio scales have equal intervals with a true zero point, a point at which there is none of whatever the scale is measuring. ▪ e.g., pounds, seconds, size of group, dollars, age
Coding Survey Data
Variable Type → qualitative/categorical Level of Measurement → nominal
Question assessing respondent religious denomination…
Question assessing respondent dis/agreement…
Variable Type → quantitative/numericaland discrete Level of Measurement → ordinal treated as interval
Coding Survey Data
When creating response options, consider the construct you are measuring (e.g., knowledge, dis/agreement).
▪ Is it possible for a respondent to lack the construct entirely (e.g., knowledge)? ▪ Does the construct have an inherent opposite? (i.e., will the scale be unipolar orbipolar?) ▪ The knowledge scale isunipolar. (0, 1, 2, 3, 4, …) ▪ The agree/disagree scale isbipolar. (…, -3, -2, -1, 0, 1, 2, 3, …)
Based on this information, we can create meaningful numeric codes for our data.
→
Opening SPSS
Find program under Start → Programs
or
Click on desktop icon
Opening SPSS
If you will be working with SPSS a lot, it might be worth your time to flip through this tutorial.
‘Help’ buttons placed throughout the program will take you to the appropriate section of the tutorial.
We will begin by learning how to enter our own data.
Data Entry Nameand Type
Name: Meaningful variable name Use ‘_’ if spaces desired
Type: Variable type
Default is ‘Numeric’, ‘String’ also common Can also specify width of variable (maximum number of characters) if ‘string’ or specify number of decimal places displayed if ‘numeric’
Notice the ‘Help’ button.
Data Entry Labeland Values
Label: ‘String’ label for variable name
e.g., variable name ‘income’ might be labeled ‘annual income for household’ Values: Numeric value assignments for categorical data e.g., gender coded as 0/1 where male=0 and female= Commonly use the label of value ‘1’ as name for dichotomous variables (i.e., two- category nominal variables) e.g., if females coded as ‘1’, then name variable ‘female’
Data Entry Measure
Measure: Level of measurement of variable i.e., nominal, ordinal, scale (interval/ratio) Influences the analyses you conduct
Note: You can copy and paste similar variable attributes.
Questions so far?
Data Entry Data View
Enter data in Data View
Columns are variables/Rows are observations (i.e., respondents) For un-named variables, SPSS uses the default sequence VAR00001, VAR00002, etc. Right click to insert/delete an observation or a variable Notice that the toolbar and menu are the same in both windows
Importing Data from Excel
File → Open → Data
▪ Select file from appropriate location ▪ Be sure to select ‘Files of type: All files (.)’
Importing Data Opening File Options
Select ‘Read variable names’ if variable names appear in first row of Excel spreadsheet
Indicate desired range of spreadsheet to be imported
Click ‘OK’
Once data is imported, be sure to save your new data set.