1 - 1 Introduction To SPSS
1 - 1 Introduction To SPSS
1
2
SPSS/ Windows
The user for SPSS/Windows is built by three
primary and distinct windows:
the Data Editor window
3
SPSS/Windows
It is important to know in which window one
is working because each window supports a
specific function.
4
SPSS/Windows
The type of window
1. Data Editor, 2. Syntax Editor, 3. Viewer
Window Name
5
1. Data editor window
–It is the view where we see our data
6
SPSS/Windows
Data editor view
Column
A single Variable’s value
across all study subjects
Rows
(Single study subject’s
information)
9
Displaying values
• You can display the values of your categorical variables
– as the numeric codes entered (eg 1’s and 2’s for gender),
or
10
luggage label button
11
SPSS/Windows
b. Variable view
Here you simply observe
• It is important to create
new variables in SPSS
• It is by writing name of
variable, type of
variable, its label and
its value
12
SPSS/Windows
b. Variable view
Here you simply observe
1. Names of variables
2. Type of variables
3. Width/ Decimals
13
Cont….
• Name of variables
– Name of variables are usually codes
– Example
Agegroup vs age group
education vs educationalstatus
educational status
14
SPSS/Windows
b. Variable view
Here you simply observe
1. Names of variables
2. Type of variables
3. Width/ Decimals
15
2. Type of variables
Cont…
• There are different types of variables
• It is displayed when clicked upper
right corner of type column
1. Names of variables
2. Type of variables
3. Width/ Decimals
17
Cont…
3. Width/ Decimals
• The width and decimal are used to allow number of
characteristic of a value of a single variable
3.14159265
19
SPSS/Windows
b. Variable view
Here you simply observe
1. Names of variables
2. Type of variables
3. Width/ Decimals
20
4. Label of the variables
Cont….
• Label of a variable is detailed description of
the variable name
– You can specify the details of the variable
21
SPSS/Windows
b. Variable view
Here you simply observe
1. Names of variables
2. Type of variables
3. Width/ Decimals
22
5. Labels of values of variable
Cont…
• This is description of values of variables of qualitative
variables coded as quantitative (categorical)
23
Defining the value labels
• Click the cell in the values column as shown below
• For the value, and the label, you can put up to 60
characters.
• After defining the values click add and then click OK.
Click
24
Labeling value
• Write the value first
25
2. The Viewer window
It is displayed after any data manipulation
26
SPSS/Windows
The Viewer window
displays all
–Statistical results,
–Tables, and
–Charts
–Commands…… etc.
27
The Viewer window
28
3. The Syntax Editor
It is the window in which SPSS commands can be typed and
submitted for processing.
29
SPSS/Windows
ntax ater
a sy e d l
u ce duc
od epro
a
r
n p be r • A syntax file is formed by two
e c n
h e t ca
r
g tha
ways;
in
ck m
Cli ogra
Pr 1. Manual writing (for
programmers)
Program with
a command
32
SPSS/Windows
• Once a syntax is written, we are able to excute it.
SPSS Viewer
34
SPSS/Windows
The second important feature is its use of
Pull-down menu items and tool bars.
Pull-down
Menu Items
35
SPSS/Windows
The tool bar provide a quick, easy method of
accessing commonly required tasks.
Tool Bar
36
SPSS/Windows
The pull-menu and tool bar items change from one type of window
to another.
37
Different Windows,
Different pull down Menu
Items
38
Different Windows,
Different Tool bars
39
SPSS/Windows
Pull-down items important for discussion
when a person wants to use SPSS
Pull-down
Menu Items
41
Opening an existing data file
• Your data may already have been entered and
saved as a data file
– in SPSS having ‘*.sav’ extension or
– a different package
• such as EPI info, Excel, SAS, Stata or dBase etc.
44
Data exporting/ transfering
• Usually different softwares have a way of reading
data differently
46
StatTransfer V6
• It is a STATA software version 6 that converts one
form to other form of statistical software
47
StatTransfer V6
Input/ output file discribing
type of sofware
48
Procedure 2. Select type of stistical software
you want to convert
51