You are on page 1of 44

SPSS

SPSS

SPSS
SPSS Inc. SPSSX

SPSS SPSS/PC+ DOS (Disk Operating
System)

Microsoft Windows SPSS
Windows SPSS for Windows 6.0
Windows 3.11 Windows 95, 98 Windows NT Windows 2000
Windows XP SPSS for Windows 7 8 9 10...




SPSS
Microsoft Windows
SPSS/PC+ DOS SPSS for Windows

- SPSS for Windows


SPSS for Windows version 11.5 SPSS
SPSS for Windows version 11.5 Windows 98
Windows
- SPSS for Windows version 11.5
WindowsXP Windows
- SPSS Windows

1
SPSS

SPSS
SPSS
1. SPSS Base SPSS
SPSS
2. SPSS Professional , Cluster,
Discriminant, Factor, Multiditmentional scaling, Proximity Reliability
3. SPSS Advanced Nonlinear regression,
Multivariate analysis of variance, Probit analysis, Kaplan-Meier Survival analysis
4. SPSS Tables
5. SPSS Trends
6. SPSS Categories tabular analysis of categorical data Optimal
scaling Correspondence analysis
7. SPSS Conjoint Conjoint analysis
8. SPSS Exact Tests
9. SPSS Missing Values Analysis Missing
Add-on SPSS
10. LISREL simultaneous equation models
11. Sample Power
12. Data Entry

1-5 6

2
SPSS

SPSS
SPSS SPSS
SPSS Programs Windows SPSS

1. Start
2. All Program
3. SPSS for Windows
4. SPSS 11.5 for Windows

SPSS
Dialog SPSS

Note Dialog
Dont show this dialog in the
future SPSS Dialog

3
SPSS

Dialog

{ Run the tutorial SPSS tutorial


SPSS (
CD tutorial SPSS )
{ Type in data
{ Run an existing query
SPSS SPSS

{ Create new query using Database Wizard
SPSS
SPSS
MS Access
{ Open an existing data source
File data SPSS
{ Open another type of file
File SPSS

Type in data OK (
Cancel) SPSS Data Editor

4
SPSS

SPSS Data Editor


SPSS Data Editor
SPSS
Untitled

Menu bar
Control botton
Windows Title
Tools bar

Data sheet

var

1, 2, 3, ..

Scroll bar

Data Sheet (Working area)


Status bar

Variable View Sheet

SPSS
Windows
Windows title
Control botton
Menu bar
Tools bar
Status bar
Scroll bar

5
SPSS

Working area Data View


Data Sheet Worksheet Microsoft Excel

Working area Variable View


SPSS
SPSS Data Editor SPSS
7
1. SPSS Data Editor

Data sheet
Work sheet Microsoft Excel

6
SPSS

2. SPSS Viewer

3. Pivot Table Editor
Output Navigator
4. Chart Editor
5. Text Output Editor Output Navigator

6. Syntax Editor

7. Script Editor script
Command Syntax

SPSS SPSS


( )
SPSS
1. ( ) (
)
2.
3.
4.

( 2 3 4 SPSS Data Editor SPSS)
5.
6.
7.

7
SPSS

SPSS

SPSS SPSS
Lotus,
Microsoft Excel, Microsoft Access, Multiplan, dBASE, SQL,
ASCII (Text file) SPSS/PC+
SPSS SPSS Data Editor



SPSS

SPSS

1.

2.



3. (Categories data)

1 2
1 2 3


4.
SPSS

8
SPSS

SPSS


1
1

.............

1
1. 1.
2.
2. .........
............. . ........... .
............. mmHg. /
BMI
3. 1. 2.
3. 4.
5.
4. 1.
2.
......



SPSS


() 2 ( 99 )
3 ( 99 )

9
SPSS



1 2 1

SPSS

1.
2. () SPSS ( SPSS
version 10._

)
3. (Numeric) (Text or String) (Date)
4.
5.
6. Missing ()


Missing
1. gender Numeric 1 1 =
2 =
2. age Numeric 3
weight Numeric 3
height Numeric 3
bp Text 7
BMI bmi Numeric 5 2

3. status Numeric 1 1 = 2 = 9
3 = 4 =
5 =
4. famstat Numeric 1 1 =
2 =
.......

10
SPSS

SPSS
SPSS Type in data Dialog
( Dialog ) SPSS SPSS Data Editor
Untitled SPSS for Windows Data
Editor


()

1

Data Editor SPSS


Data Editor SPSS (
) 1 1 case
Data sheet cell
()
var
1

Menu Bar SPSS Data Editor


SPSS Data Editor 10

File /

SPSS
Edit
SPSS
View Toolbar Toolbar

11
SPSS

Data

Transform


Analyze
Graph
Utility
Page Title
Windows
Help Tutorial Internet
Website SPSS

SPSS
var00001, var00002,

SPSS
8


( ! ? * ) . _


ALL OR AND TO WITH BY
NE EQ LE LT GT GE

Note SPSS for Windows version 10._



12
SPSS

SPSS
SPSS 8
Numeric
Comma ,
Dot . ,
Scientific Notation

Date
Dollar $

Custom currency 5
CCA, CCB, CCC, CCD CCE
String (Text)



SPSS

1
SPSS Data Editor
Sheet Variable View
SPSS Variable View

13
SPSS



1. Name
(1)
2. Type
(2)
3. Label

4. Values

5. Missing
6. Columns
7. Align
8. Measure

2

1

3


( Data Save )
Dialog Save Data As

14
SPSS

()
1 25
2 30
3 10
4 5
5 7

SPSS 4
()

/

ID 1
GENDER 1 1 = male ()
2 = female ()
STAY 2
()
SERVICE 1 1 = surgery () 9
2 = medical
()


SPSS

15
SPSS

SPSS Data Editor Sheet Variable View


ID
1. Name id

2. Type ... Numeric Dialog Variable Type



ID Numeric 1 (Width: 1
Decimal Places: 0)

3. Label
ID Label

4. Values ()
5. Missing ()

16
SPSS

6. Columns
8 Columns


3
7. ( ) Align
Right
Right

8. Measure
Scale
Scale
( SPSS 3 Scale Nominal , Ordinal
Interval Ratio Scale)

gender
gender ID
gender
gender
... None Value Dialog Value
Labels

17
SPSS

Value:
Value Label:
1 Value:
1 Value Label: Male
Add Value Labels

stay
stay ID
service
service ID gender
(Missing)

service ... None Missing
Missing Values

18
SPSS

SERVICE 9 missing
Dialog Missing Values Discrete missing
values 9

OK Missing

Missing Value

missing
Missing Values
missing value missing value
3
No missing values missing values
Discrete missing values
3
Ranges plus one optional discrete missing values
missing missing
10-50 99

Note SPSS Missing


Dialog Missing Values No missing values
Missing values

19
SPSS

ID service

Sheet Data View


Sheet

5
1
Active cell id
id 1 1
Data Sheet
Enter Data Sheet Active
cell

20
SPSS

 ( Data
Save ) Dialog Save Data As
Drive
Save in: ( Drive A: )

File name ( EX1 )
(
SPSS Save as type:
.sav)
Save

21
SPSS

SPSS

SPSS

File Open ( SPSS)

Dialog Open File

1 1.
Look in: click
2 Drive/Folder

4
3

2. Folder/
3. File name:
4. Open ( Cancel)

Note Dialog Open File


Folder Folder tree Drive
Folder

22
SPSS

Data Editor
Data Editor 2
-
- Value label

SPSS

Data Editor

Data Editor



Value label

23
SPSS

Data Editor

1. Active cell ()
2. Edit Find ( Ctrl + F)

Dialog Search For Data


3. Find
what 3

4. Find Next
5. Active cell
Find Next
6.
4

24
SPSS

Data Editor
cell Data Sheet SPSS
Microsoft Excel
Active cell cell


Enter



Active cell
Data Insert Cases 1
Active cell

25
SPSS

Data Editor
Data Editor 3

cell
Active cell cell
Delete cell
cell block cell
Delete

block cell
cell block


block

Click

Delete SPSS

block cell
block

Click

26
SPSS



block

Click

Delete SPSS

block

27
SPSS

SPSS 2
block ( block
)
File Print (
Ctrl + P ) Dialog Printer:

All
block Selection
Copies:

Setup Dialog

OK

28
SPSS

SPSS




-
-

- 1 2 3 4 - 5
4321-0
- ()

-
15
10
-
20



SPSS
Data Transform
SPSS
(Sorting)
(Recode)
(Compute)
(Count)

29
SPSS

( sleep )

Data
Sort Cases Dialog Sort Cases

2.

1 .

3.

Key ( 1 SPSS

) Click
Sort by
2 Ascending () Descending (
)
OK SPSS Data
Editor

Note 2
-

-

30
SPSS

(Recode)
( Employee data )
SPSS 2
1. (Recode Into Same Variables)
2. (Recode Into Different Variables)
(Recode Into Same
Variables) recode

1. (Recode Into
Same Variables)


Transform
Recode Into Same Variables Dialog
Recode


Variables:

( Recode Variables

Recode

Recode
)
Old and New Values
Dialog
Dialog 2

Old Value

New Value

31
SPSS

()
SPSS 7
{ Value:
{ System-missing
{ System- or user-missing

{ Range 3
through
Lowest through
through highest
{ All other values

New value
2
{ Value:
{ System-missing
Add Old value New value
Add

Recode
salbegin
Employee data

Note Add
Old value Change
Remove

Continue Dialog Recode OK


Rocode

32
SPSS


Recode If

If Dialog If Cases

{ Include if case satifies condition:


Include if case satifies condition
Logical expression
educ > 10 Recode educ
10

-
- Operation
-
Continue Dialog Recode

33
SPSS

2.
(Recode Into Different Variables)


Transform
Recode Into Different Variables Dialog
Recode
Variables:



Input Variables


Recode

Output Variable Name: ( Label Label


)
Change Input Variable -> Output Variable
( Recode )


Label:

Old and New Values


Dialog Recode into Same Variables

34
SPSS

()
SPSS 7
{ Value:
{ System-missing
{ System- or user-missing

{ Range 3
through
Lowest through
through highest
{ All other values

New value
2
{ Value:
{ System-missing
Add Old value New value
Add

Note

Add

Old value
Change


Remove

Continue Dialog
OK

35
SPSS

(Compute)
( sleep )


3 3

SPSS

(Compute)
Transform
Compute... Dialog Compute Variable







Operation

Target Variable:
Label Type&Label (
)

36
SPSS

Numeric Expression
Operation

Recode

OK Compute

SPSS

(
) If Dialog Compute Dialog

37
SPSS

Recode
Compute
( Missing)

slscore sleep1 sleep15


sleep

38
SPSS

(Count)
( sleep )

1

Transform
Count Dialog


Target Variable
Target Label ( )

Variables:
Define Values

Dialog

39
SPSS


{ Value:
{ System-missing
{ System- or user-missing

{ Range 3
through
Lowest through
through highest
Add Value to Count:
Continue Dialog Count
OK

factor5
( b22c1-b22c10 3) sleep

40
SPSS


(cases or records)
350

Data
Split File
Dialog Split
File

1.
{ Compare groups
2.

Groups
Based on (
1 Categorie
Variable)
3. OK

Note : Compare groups Organize output by groups


Compare groups
Organize output by group

41
SPSS

File is already sorted


Split File

Data -- Split File

{ Analyze all cases, do not create groups


OK

42
SPSS




Data
Select Cases... Dialog Select Cases

Select
{ All cases ( All cases)
{ If condition is satisfied (
salbegin < 15000)
- If... Dialog

43
SPSS

{ Random sample of cases


- Sample... Dialog







{ Based on time or case range (


key )
-
Range... Dialog

{ Use filter variable: Filter Missing



Unselected Cases Are
2
{ Filtered SPSS

{ Deleted
OK


Data
Select Cases...
Dialog Select Cases
Select
{ All cases
OK

44

You might also like