Professional Documents
Culture Documents
Topic 2 - Introduction To SPSS
Topic 2 - Introduction To SPSS
TO SPSS
WISDOM MGOMEZULU
mgomezuluwisdom@yahoo.com
Outline
• Introduction to SPSS
• Temperate designing for data entry
• Data entry
• Data cleaning
• Basic statistical analysis such as descriptive, hypothesis tests, modelling, etc
Data view:
o Rows are cases
o Columns are variables
Variable view:
o Rows define the variables
• Name, Type, Width, Decimals, Label, Missing, etc.
Scale – age, weight, income
Nominal – categories that cannot be ranked (ID number)
Ordinal – categories that can be ranked (level of
satisfaction)
Opening SPSS
SPSS GUI-Variable view
Data view
SPSS MENUS
Gives you access to various functions in SPSS
File menu -lets u open, save, print, export data, close and access
recently used files
Edit-cut, copy, etc
View-to customize SPSS desktop: hide/show tool bar, status bar, etc
Data menu-data manipulation: sort cases, merge files, split file, etc
Transform-compute new variables & make changes to existing ones
Analyze-lets us perform all the statistical analysis
Graph- to make plots from the data
Utilities-Gives information about the variables and files
Add-ons-tells us other prog of SPSS family
Windows and help
Types of variables &
measurement
Types of variables
Quantitative -numeric in nature
Qualitative-non numeric
Levels of measurements
Nominal-categorical e.g. gender, Religion, race, occupation, etc
Ordinal : This is data ordered sequence. For example,
agreement (strongly agree, disagree) satisfaction (total
satisfaction, satisfied, dissatisfied), etc
Interval or Ratio: -numbers go from low to high in equal
intervals. Height and weight- examples.
Designing Template
Variable view
Rows define the variables
Name, Type, Width, Decimals, Label, values, Missing, Columns, Align, Measure, etc
Defining and naming variables
Data can be of various types:
Numeric*-variable whose values are numbers
U cannot perform any statistical analysis if u define it as string
String*-text format
Date
Comma
Currency, etc
Naming variables
Avoid use of space-unrecognised character
Designing Template
Variable names are usually short forms e.g. hhage for “age of the household
head”, etc
You can use under-score e.g. hh_edulevl for “education level of the household
head”
A blank space and special SPSS characters like, +, /, -, *, !, ’, and ? can not be
used
Decimals-affect the display of the data in data view. Take note of sensitive
variables
Gender for example: enter 1 for male in the box labeled “value” and
specify its name (male) in the box labeled “value label”
This will activate the “add button” click the add button and repeat
the steps to specify for female
The buttons “change” and “remove” are used when u have made
mistakes
Note: The variable gender is qualitative but bcoz u have assigned the
Value labels-dialogue box
Designing template
Custom tables
Modeling
Reading SPSS output and interpretation
Descriptive analysis
Data Analysis-descriptive
Data Analysis
Cross tabulation
To describe the relationship between variables-nominal
Analyse-descriptives-crosstabulation
Chi-square analysis and interpretation
Advanced data handling in SPSS
Sorting cases
Finding values, variables, cases
Merging files
Splitting files
Selecting cases
Recording values
Transforming variables
Computing new variables
Statistical Modelling
Linear regression, logit and probit models
Analyse-regression-linear/probit/logit
Dependent variables, independent variables
Diagnostic tests
T-TEST
There are tree types of T-test
1. Independent-samples t test (two-sample t test).
2. Paired-samples t test (dependent t test).
3. One-sample t test.
Independent-samples t test (two-sample t test).