You are on page 1of 171

SPSS

www.insectology.ir



.
:
.
.
12 SPSS
.
... .

.
:
... .


.
) (Data
) (Variable .
.
.




.


) ( ) (Independent Variable
) (
) (Dependent Variable .


)
(
...



.
.
:
:
* ) (Continuous Variables

* )(Discreet Variables

... .

. 165cm
165cm ... cm
165/2436
.
...
.

.


.
... .
.


4
3 .

) (
.
:
) :(Scale
...
) :(Ordinal

...
) :(Nominal :
)



.
.
.

) (

)(X2

...

...

...


)(


)
(
.


.

.
.




) (Sampling


.

) % (1

.

) (
.
.


.


.

.

.
.
) :(Mean

) :(Median 50
50 .
15 50 15 50

50
50 .
) :(Mode ) ( .
.
.
) :(Variance )(



)( .
) :(Standard deviation
2
3/2 5/5

.
) :( Q1 25 75
156cm
25 156cm 75 156cm
.
) :( Q 3 75 25
172cm
%75 172cm 25
172cm.
) :(Range ) (Max ) (Min
.
) :(Percentile i i 100-i
23 .
23 77
.




) (
.


SPSS.14

-1-2 : SPSS
.

.

-1-1-2 :spss
: Dataview
. :

.


.

Vaviable View
.
: Viewer
.
:



.
Chart Editor .
: Syntax

.

Syntax
.
: Script
Script
SPSS . :

Script

.
SPSS Dataview

SPSS .
SPSS 13
.
Dataview
.
.

-2-1-2 : spss
: Vaviable View Data

View
. :


...
.
: Chart Editor Viewer
Viewer .
:

Viewer Output
Chart Editor
.
: Draft Viwer Viewer
.


.
-2-2 PSS
: SSPSS

SPSS
. SPSS
.
Dataview
.
1 ) File (:



.


.

2 ) Edit(:

Dataview
SPSS
.
.
.
3 ) View(:

... .


.
...
.

4 ) Data(:



.







.
5 ) Transform(:


Data .

) (String ) (Numeric

.
.
6 ) Analysis(:
SPSS



.

.

7 ) Graphs(:

.


.

8 ) Utilities(:




Script .
9 ) Windows(:

.
10 ) Help (:
SPSS
SPSS
.
Spss


.
Data View


. SPSS
Help .
Help 10
.
.

) T( :
opicsTopics

SPSS
Topics

SPSS .
Topics Base System
Contents
.
Data File
... .


.
.
.

Index Topics

. d d
Data Editor Disply
Data Editor Topics Found .
Data Editor Printing Disply
SPSS .

Search Topics
.
) T (:
utorialTutorial


.


.

Tutorial Reading Data


Next
.
Slide Next
.
:C
ase StudiesCase

Tutorial
Tutorial
... Case Studies

.
Regression Models Option

SPSS
Next Slide

.


.
: SStatistical
- tatistical Coach



.
? What Do You Want To Do Next
More Example .

- : Command Syntax Refrence

SPSS
PDF SPSSbase.pdf Syntax
.


.
- : SPSS Home Page


SPSS.Com
.
- : About

SPSS14.0 For Windows


SPSS
.

:R
egister ProductRegister


SPSS
.

SPSS Help
.
Analysis Compare Means Means Help


Topics

.

(1-3


.
.


.

.
(2-3 : Data View



Var Variable
.


30
.
-1
-2
-3
-4
-5
) (.

. . 1
.
1
Var00001
Sex .

) B A (C
.
5 Var00001 Var00005 .
5 .
30 .

2 24 Var00001 = 2 24
14 29 Var00003 29 .
10/000
Var00001 Var10000
.
Var00001 30
Var00002 Var00003
Var00004 Var00005
.

) ( ...
Variable View
Data View .
Variable View Variable View Ctrl

+ t Data View Variable View


Data View Data View Ctrl + t Variable

View.

Variable View .
10 Variable View .
Data View
.

Variable View
:
1 ) Name (:

Variable View
Var00001
Sex Gender
.

. 8
.
Data View
.
2 ) Type (:


.
Type Variable Type .

) Numeric( :
1 2
B A C 3
Width Decimal Place

. 8 2.

) Camma( :
370 246 1

) Dot( :
1.246.370

) Scientific notation ( : 10
1.26E+8 126000000 1.26
1.2 10 o = 1.2E + 00 .
) Date( :
.

dd.mm.yy
) (dd )( mm yy
12.04.99 1999.

) Dollar( : .

.

$###.## Data

453/04 View ) ( 453.04$


$### 450$ Data View .

) Custom Currency(:

.
.
) String(:
)
( Characters 255
. A B C
String . A B C
1 2 3 String Numeric

.


1 2 1
2 Variable View .
3 ) Width( : Data View

.
8 .
4 ) Decimal ( :
Numeric 2 Decimal
2 1272/341 (Data

) View 1272/34 .
5 ) Lable( :
8 256
.

.
.
6 ) Values( :
.
Values Value Lables
.
. 1
Values Value Lable Add
2 Value Value Lable
Add Value Lables .


SPSS
. Lable Name
Values Lable .
7 ) Missing ( :
.
12 15 .

Missing
System Missing .
12 System Missing .

999

Variable View Missing
999 User

Missing .
User Missing
.
User Missing Missing
3 .

: No Missing Value
.
: Discrete Missing Value 3
3 .
: Range Plus One Optional Discrete Missing Value
.
High:14 Low:12 Discrete Value:17 12 14
17 .
) Columns -8( :
Data View 15
Data View .
9 ) Align( : ) Data View (Cell
) (Right ) (Left ) (Center.
10 ) Measure ( : Variable View


) (Scale ) (Nominal )(Ordinal

.

Nominal
) (Scale
) (Nominal A B C
) (Ordinal.

33 :File

.
:
- ) :(File

File Open .
SPSS :
1 *.sav
Data View .
File Open Data
Open File Data

View . Cars.sav 3
Open
files\spsseval\cars Data View .

C:\program

2 *.sps
Syntax File Open .
3 *.spo .
File Open
Output .

4 Script *.sbs
FileOpenScript Script
.

- ) (New


Output Syntax Data Script
file New
.
.

Draft Output

.

Script New Open File
File
.
) :(Open Database
) :
1 .
File>Read Text Data

2 ) Text (*.txt Type of Files .


3 Demo.txt :
C:\Programfiles\SPSSEVAL\Tutorial\sample file\demo.txt
Open.

Text Import Wizard

4 .
No .
5 Next .
6 Delimited
.
7 yes .
8 Next .

9 The First Case 2


.
10 Next .
11 Data Preview
SPSS .

12 Tab .
13 Next .
SPSS
.

14 Finish
Data View .

- ) : (Open Database

Foxpro Access Excel ...


Data View File
:
File>Open Database

SPSS .
.
Excel Office
Excel
Copy Paste
Excel Excel Copy Excel Paste

SPSS Data View .


demo.xls :
C:\Programfiles\SPSSEVAL\Tutorial\sample_files\demo.xls
Copy Paste Data View.
- ) :(Save


.
) :(Save as
.
- ) :( Mark File Read Only

File>Mark File Read Write


.
-

) :( Display Data File Information


...
Working File
External File
Display Data Info
Open
.

) :( Cache Data
.
.

- ) :( Stop Processor


.
:(P
) rint PreviewPrint


.
) rint:(P
Print

Print
SPSS .
:(R
) ecently Used DataRecently

*.sav
Data View
Open .

) :(Recently Used Files


(Script .
:(E
)spss xitExit

Exit SPSS
SPSS .
-4-3 : Edit


SPSS
.
-) :( Undo


.
.
- )Undo : (Redo

Undo .
Undo .
- ) :(Cut

Data View
.
.

.
- ) :(Copy

Data View
. .
-

) : (Paste

Cut Copy
. Cut
Paste
Copy Paste
.
- ) :(Clear

.
Clear Del

Data View
Clear Del

Data View Clear Del
.

:(F
) indFind

.
Find What
Find Next
.

Match Case Value Lable


.
- )

:(Insert Variable

Data view

.
)) :(Insert cases Data view

.
.
)SSPSS : (Options
- PSS

SPSS .

English

Charts
Pivot Tables Table look
OK .
-5-3 : View



.
- ) :( Statue Bar

SPSS
.
SPSS Processor is ready
9
.
:(T
) oolbarsToolbars


.
SPSS
Toolbars Show Toolbars
.

New Toolbar
Toolbar Properties
Display on the following windows
.
Customize Customize Toolbar Items
Customize Toolbar
OK
.
Large Buttons Show Toolbars
.

- ) :( Fonts

Data View .
:


.
- ) :( Grid Lines

9 .


.
:(V
) alue LabelsValue

9 Variable View
.
9 Value Label Value Label

1 2 .
- ) :( Variables

Variable View
t

Ctrl +

-6-3 : Utilities
.

...
. .
- ) :( Variables


Data View :


.
:(D
) ata File CommentsData


Ok

.

Display Comment in Output .


:(D
) efine SetsDefine



Define Sets
.

Set Name Set1


Variable in Set Add Set .
Set1 .
.
:(U
) se SetsUse

Use Sets SPSS


ALL VARIABLES

NEW

VARIABLES .
Set1 ok
SPSS set1
.

Frequances .

set1
Set in use
.
- Script ) :( Run Script

Script Data View


.
:(M
) enu EditorMenu


Apply to Insert Menu

Item Insert .
-7-3 : Windows

. Minimize All

windows SPSS
SPSS ) (9 .
Split Data View

.

Remove Split Window


Data View .


SPSS

1 :
41


.

. SPSS
.
Cars.sav File>Open>Data Data View

:
C:\Program files\spssval\Tutorial\sample_files\demo.xls
C

C .
cars 406
:

:mpq .
:Engine .
:Horse .

:Weight .
:Accel .
:Year .
:Origin )=1=2 =3 (.
:Cylindr .
Variable View
.

SPSS
Analysis DescriptiveStatistic

Descriptive Frequances
Expolre 3




.

2 :

. 2


3

3 8.


.
.
Frequency Descriptive

Statistics Analysis .
42 1 :Frequencies

.
.
:

) (Cars.sav .
) Variable (S .
Display Frequencies Tables
. Statistics
.

Percentile Values

Quartiles .
Cut Point For
. n=5 .
100
%
5

20%

. .
) Percentile(s .
Click
Add .
Change .
Add .
Click Remove
.
Central Tendency
. )
( . : )(Mean
) (Median ) (Mode ). (SUM
Dispersion .
) (Std.deviation
) (Variance ) (Range ) (Minimum ) (Maximum
).(S.E.mean
Distribution
) (Skewness ) (Kurtosis .

.
Values are Group Midpoints .
.
Charts
. Click
.

Chart Type .
None.
) Bar chart(s ) Pie Chart (s
) Histogram(s
.
With

Normal Curve .
.
Axis Label Display .
) (Frequancies
) (Percentages.
Format.
. Click .

Order By .
) (Values
) (Counts.
) (Ascending ) (Desending .
) (22=4
.
Multiple Variables Compare Variables


Organize Output by Variables
.
Suppres tables with more than n Categories

Maximum number of categories:

.
Format
.
422 Frequencies :

Cars.sav Frequencies .
. .
] Country of Origin [Origin

] [ Frequencies

.
Origin ) Variable(S .
.
Statistics Quartiles Mode Median
Std.deviation Range .
.
Continue Frequencies .
Charts Bar Charts
Frequencies . Continue .

Frequencies Click OK Frequencies
.

Statistics Statistics
. 0/798 1
2.
Origin .
) (Valid ) (Missing
) (System Missing )(Total

.
) (Frequency
. 252
404
1 Miss 1 .

2 )
( 406.
) (Percent
62/1 0/5
.

) 404(
. 404 18/1
.
) (Cumulative Percent .
) (Ordinal
.
Origin

.
] [Origin ] [Country of Origin
.
3 :Descriptives
43

Descriptive Statistics . Frequancies

.
.
:
Analyze>Descriptive Statistics>Descriptives

Cars

) Variable(s .
Horse Engine mpg Weight
) Variable(s .
Save Standardize Values as Variables
. Z
X
X

= Z

. Z


.
Reset
Paste
Syntax .
Options
. .

) (Mean ) (Sum
Dispersion
.
Distribution Frequencies
.
Display Order
. Ascending Means
Descending Means .

Alphabetic
Variable List
) Variable(s .
431 Descriptives :

Horse Engine mpq Weight


) Variable(s

Standardized Values as Variable

Save Descriptives Options


Maximum Variance Std.Deviation SUM Mean Means

S.E

Dispersion Kurtoris Ascending Means

Display Order Continue OK .


:

.
.

] [Std.Error Mean

] [Std.Error Kurtosis .
Ascending Means Display Order

mpg
Weight .

.

4 :Explore
44
) (
.


.
.
) (Steam&Leaf
.
:
Analyze>Descriptire Statistics>Explore

.
Dependent List
Factor List .

Label Caes by
.
Display
) (Statistics ) (Plots ) (Both
.
Statistics .

Descriptives
%5 Confidence

Interval for Mean .


M-Estimatores M
. .
.
Outliers .
.
5 5
. Percentiles ) ( )
( .
Grouped Frequency tables
.
Plots .
:

Box Plots . Factor

Levels Together
Dependents Together
None .
Descriptive
Steam-And-Leaf
Histogram .

Normality Plots With Tests .
Levence
Spread VS.Level With Levene Test .
None .
Power Estimation )
( ) ( .
Transformed Power .
Power Untransformed
.
Options :

Exclude Cases Listwise


.

Exclude Cases Pairwise


.
Report Values
Exclude Cases Listwise
.
441 Explore


Dependent list
Factor list.
Statistics Outliers M-Estimators
Continue .
Plots Boxplots Factor Levels together Descriptive

Histogram Normality Plots With Tests Untrannsformed


Continue OK.
:

Case Processing Summary


) ( .

Descriptive 95
%5 ) 2/5 2/5
(

.

5
.

Test of Homogenity of Variance



Sig

)
( . Sig>
Sig<
) Sig> (=0/05
.

.
.

Box Plot .
.
25 75
. .

. 27
) O ( 22
) * (

) +3 (-3.
SPSS .
Analyze

.



1 :
51


..
Data Transform
.
52 ata
(:
Data
) D(:



... .
.
- ) :( Define Dates

Case Ave Hours Days

First Case is Day 1 Hour 0


HOUR- DAY- DATE-
) (
DAY- 24 2 HOUR- 0 23
.
:(SSortcases
- ) ortcases

Data View
. .

.
Click Click
 Sort by .
Sort by . Sort Order
.
Ascending Descending .
Cars Weight
Sort by Ascending

.
:(T
) ransposeTranspose

Data
. :


) Variable(s
)
( Name Variable

Case-LbL . 3 X1 X2 X3
.
X4

X3

X2

X1

Name

100

17/5

10

200

12/4

30

200

13/7

40

Case-LbL .
- )

:( Marge Files


Marge File Data . Add
Cases Add

Variables .
:

- ) :( Add Cases

Add Cases .
.
Save as .
:


Exam2.sav Exam .
Add Cases
.

.



.
) Un Paired Variables (
.
]*[
] [+ ) ( .

Click Pair .
Rename .


. OK
Data View .
.
: (A
) dd VariablesAdd


Add Variables . Add Variable
Marge Files Analyze
Continue . :

Excluded Variables

) ( .
New Active Dataset
.
Key Variables .
.
Match Cases .
Click Both File
External File Working Data
.
Click Rename
. OK Data View

.

New Active Dataset

:(SSplit
- ) plit File


. Descriptive


Split

. Split :

.
Analyze all Cases
Compare Groups Groups Based On:


.
Organize Output By Groups: Groups

Based On: .
.
Sort the File
File is Already Sorted .
Split File OK

Split .
Split
Analyze all Cases OK .

:(SSelect
- ) elect Cases

SPSS
Data
. Select Cases
:

Cars.sav .

.
All Cases
.
If Condifion is Satisfied If

. If
:

Engine
Engine>300 300
300 Data View
Analyze .
Continue OK .
Random Sample of Cases
. Sample Click

.
1 99
Approximatly .
:
100 300 100
300 .
Based on Time or Case range Range
Click :

10 First Cases 50 Last

Cases 10 50 41
.
Use Filter Variable
. 0 .
0
.
Unselected Case Are
. Filtered Data View


.
Deleted
.
If Condition is Satisfied
Engine>300 If Filtered Data View
:

Engine 300
/ Filter_$
1 0

.
Frequency Analyze
.
:(W
) eight CasesWeight


. Data :

Do Not Weight Cases

Weight Cases by
.
X3
40 ) ( 30 ) ( ...
Data View 40 30

:

(:
53 ransform
) T(:
Transform

... .
.
:(C
) omputeCompute


compute Transform .
:

) Target Variable ( .
) Type & Label (
.

. Type & Label
:

Label Label .

. Use Expresion as Label

Type
) (Numeric ) (String
Continue Click.
Numeric Expression
.
Function Group .
.
S = [A1 + A12
]) 2 ln( A 3
Numeric Expression:
[ Click A1  ) ** A2 +
( A3 lN(?) 0 12 [ Target Variable S
Numeric Expression:
]) [ A1 + A2 * *12 * LN ( A3

.
If . Click
If :

A4
2 A4 2
Include if Case Satisfies Condition
A4>2 Continue Click

Compute . OK Compute .
Data View S .
A4>2
If .


.
- )

:(C
ount
Count

Count
Transform . :

Target Variable
.
Target Label .
Numeric Variable
. :
.
) Define Values If

Define Values :

Value
Add Values to Count .
System-Missing . Add
Values to Count .
System or User-Missing

Values to Count .
Range
.
Rang Lowest Though
.
Range Though Highest
.
Add
Values to Count .
3 5 7 A2 A1

S :

Count
If .
.
:(R
) ecodeRecode


Transform .
1 4
1 2
1
3 4 2
.
0
20 .
1
2
1 2
.
"Into Same

" Variable " "Into different variable


.
:(IInto
) nto Same Variable

Into Same Variable Recode


Transform :

.
Numeric Variables
Exam . If
Compute
Count.
) Old and New Values (
) (NewValues ) (Old Values .
. Old Value
:.

) Value () System Missing (


) System-or user-Missing (
) (Count ) All Other Values (


.
Old Value
New Value
Value ) Missing-System ( .
Value Add

. OldNew
.
Exam
Numeric Variable Old and New Values
. Range Old Value
10 1 Range 0 10
Value New Value 1 Add .
10/5 13 2 13 3 Continue
OK Click.
2 1 3
.
3 1 2
3 :

:IInto
) nto Different Variables

.
:

Old and New Values If


.

Input Variable Output Variable
Output Name Lable


Change Input VariableOutput
Variable . Old and

New Values .
Name Data View
.
:(A
) uto RecodeAuto

SPSS
) (String .
.
) String( ) Numeric(
. Transform
:

String Variable Ne Name


New Name
Add New Name .
Lowest Value Recode Starting From
Highest Value .
Exam
String B A C VariableNew

Name Add New Name


Lowest Value OK .
1 :

A 1
1 B 1 2 C
1 3 .

. 1
1 A .



1 :
61
)
( ) ( .
) (Row Variable
) (Column Variable .

) (R

R o .
H o : R = o
H1 : R o . H o
H o
.

2 ) :( Crasstabs
62

Analyze Descriptive

Statistics Crosstabs :

.
) Row (s ) Column (s .

OK . .



.

2
Statistics Chi-Square Continue
OK .

Chi-Square Tests
Pearson Chi-Square Value df

) Row (s
) Column (s )Asymp.sig(2-sided
.

Sig
0 1 H o : R = o .
H o : R = o
H o : R = o
) Row (s ) Column (s .
sig 0 1 ) (
) (sig> H o .
sig 0 1 ) (
) (sig H o
.

.
Exam ) (

] . [.

.

Statistics Chi-Square Correlation Continue OK

. :

Chi-Square :
Pearson Chi-Square
Continuity Correlation
Fisher's Exact test Likeli hood Ratio
Liner-by-liner Association


Pearson Chi-Square
) (df 1 . (Fisher Exact
) Test )(H o : R = o

]) [Exact sig(2-sided 0/001


=0/05 sig< H o : R = o
.
Symetric Measures R
. 1 R 1 R > o
R < o

.
25 Pearson' R
Spearman Correlation
.
.
Pearson'R
R=0/659 R > o
]= 1 = [2 ]=1=2 [
1 ) (1 2
] [2 .
) Row (s ) Column (s
:

) Row (s )Column (s

4 .
Display Clustered bar Charts Row
) (s ) Column (s Suppress tables

.
Chi-Square Test Symetric Measure

Chi-Square Correlations Statistics .


Layer
) Row (s ) column (s
.


sig=0/05
sig=0/005 ) . df=1 Fisher Exat Test

(.
R=0/537 R=0/854

.


5
1 5 . H o : R = o
H1 : R o .
Statistics Chi-Square Correlation Chi-

Square Test Symetric Measure Continue OK.


:

Case Processing .

Crosstabulation *
.

Chi-Square Test H o : R = o
. sig=0.014 Pearson Chi-Square
= 0/05 sig< H o : R = o
. .

Symmetric Measure H o : R = o R

R > o R < o Pearson 'R R=0/528



)= 1 = (2 2
.

. .

3 :
63
Nominal Statistics
:
) Contingency Coefficient (.
) Phi and Cramers V (.
) Lambda .(

.
) Uncertainty Coefficient (.

:

4 :
64
Ordinal Statistics
:
) Gamma (.
.Samers'd
) Kendall's tau-b b(.
) Kendall's Tau-C C(.

.

2 1 3

:



.
Nominal by Interral
)
( ) ( .
Risk Kappa Mc Nemar
.
Cochran's and Mantel-Heanszel Statistics 1 Test

Common Odds Ratio Equal


) (

) ( sig

1
%95
t :

5
65
Cells .
Cells :

Counts .
Observed Expected
.
Percentages
) (Row ) (Column
) (Total .
Residuals . Unstandardaized
R=Observed Expected .
Standardized

Observed Expected
Expected

Adj.Standardized ) (R .

Format .

Row Order .
Ascending Descending
.



1
71
SPSS .
Analyze
Charts
Frequency
.
Graph

.
:
) Bar Charts (.
) Line Charts (.
) Area Charts (.
) Pie Charts (.
) High-Low Charts (.
) Control Charts (.
) Pareto Charts (.
) Box Plot (.
) Error Bar (.
) Scatter Plot (.

) Histogram (.
) Normal P-P Plots (
(.
) Normal Q-Q Plots
(.
) Sequance Charts (.
) Time Series (.
.
2
72

Bar Graphs
:

) (Simple ) (Clusterd
) (Stacked Data in Charts Are
X .
Summaries for groups of cases
X . ) (
...
.
Summaries of separate Variables X

.
X

Y.
Values of Individual Cases X
Y .
21
721

Bar Charts Simple


Data in Chart Are Summaries For Group of Cases
Define .

.
Bar Represent y :
) Nof Cases (.
) % Of Cases (.
) Cum.N (.
) Cum.% (.
Other Statistic Variable y
.

Variable ) Mean( Change
Statistics Category Axis OK


. Change Statistic
y .

Bar Represent % Of Cases


Category Axis :

.
Panel By Rows Columns .
.
Tiles :

Title
Subtitle Foot Note.
Options
.
Display Group Defined by Missing values
.
Display Error Bars Level

Use Chart Specification From File



.
....
22
722

Bar Charts Cluster


Data In Chart Are Summarise For Groups of Cases
Define . :

y Bar Represent .
Category Axis X
Define Cluster By
.
)
( . :


.
.
723

Bar Charts Stacked


Data in Chart Are Summaries For Groups of Cases
Define . :

y Bar Represent .
Category Axis x . Define

Stacks By .

.

OK :


.
Options Titles Template
.
3
73

Line Graphs
:

Line Charts ) (Simple


) (Multiple ) (Drop-Line Data In

Charts Are X .
x .

31 :
731

Line Charts Simple Data in

Chart Are Summaries For Groups For Cases


Define :

. Line

Represents y
.
Category Axis x .

Category Axis

Other Statistic Line

Represent Variable
Change Statistic Mean of Values Continue OK

. :

Options Titles Template


.
32
732


.
Line Charts Multiple
Data in Chart Are Define
:

Line Reprecent y .
Category Axis x
Define Lines by
OK .
.

50
C 42
A .
4
74

Area Graphs
:

) (Simple
) (Stacked X
.
741

Area Charts Simple


Data in Chart Are Summaries For Groups Of Cases
Define :

Area Simple Line Simple

Line Chart .
Area Represent Category Axis
OK . :


.
5
75

Pie Graphs :

.
.

51
751

Define Slices by


Slices Represent . Define Slices by

Slies Represent % Of Cases OK


:

52
752

Pie Charts Summaries of Separate Variables

Define :

Slices

Represent .
. 9 1
%90 %10 .
:

.
6 :
76


Chart Editor .

... .
Chart Editor
Click Chart Editor :

Chart Editor Click


. Excel

.
Click
Properties :

Properties ) (Fill&Border
) (Bar Options ) (Chart Size
) (Depth&Angle ) (Categories

.

Chart Editor
:.
...
Show Data Labels Elements
Custom Label Position . Apply
Chart Editor .

Chart Editor
) (Viewer Chart Editor



1 :
81

.
.
:
).(One Sample T.test
).(Independent Samples T.test
)(Paired-Samples T.test

.
2 ):(Means
82
SPSS Means Compare

Means Analyze
. Means .


. Exam

Dependent List Independent List

OK . :

) (N ) (Mean
) (Std.Deviation
.
Options :

Statistics

Cell Statistics


.
Anovatable And eta Statics For First Layer

Eta
. Test Of Linearity
.
.
-3-8 T )(One Sample T.test



.
1000
.

1000
T
.
:
.

12 .
H o : = 12 < 12 .
One Sample T.test Compare Means
Analyze :

Test Variable

Test Value .

110
. Test

Variable 110 Test Value OK .


:

One Sample Statistics


.
One-Sample T.test
H o : = 110 H1 : 110 .
H o : = 110
.
: t t
H o .
: sig ) ( sig> H o sig H o .
sig = 0/000
.
: One Sample T.test %95 ) 110 ( .
Lower Upper %95
110 =110 H o .
Lower Upper
H o .
%95

Options .
H o : = 110 > 110 < 110


.
: Mean Different One-Sample T.test ) ( 110
110 > 0 > 110
110< 0 < 110
.
> 110 .
: .
) (%95 110
> 110
110
< 110.
%95
110 > 0 > 110 .
12
. One-Sample T.test :

o : = 12 1 : 12 . sig
0/004 ) = 0/05 (

12
12

> 12 < 12
Mean Difference 1/32 12 < 0
< 12 .
Lower Upper %95
12 < 0 M < 12 .

.
4 T )(Independen-Samples T-Test
84

T



.
T H o : 1 = 2
H1 : 1 2 1 2
.


.

... .

.
T
.
T Independent Samples T.Test
Compare Means Analyze :

) Test Test Variable (s


Grouping Variable

. Define Groups Click :


Group 1
Group 2 Continue OK
) Test Variable (s
Grouping Variable Define

Groups .
.
) Test Variable (s Grouping

Variable 1
Define Groups Group 1 1 Group 2 2 .
1 2
Continue OK . :

Group Statistics
. Independent Sample Test
H o : 1 = 2 H1 : 1 2 1 2

.
T

. H o : 1 = 2 o : 12 = 22
o : 12 = 22 1 : 12 22 .
F ) (sig
sig> H o sig H o
H o : 1 = 2

H1 : 1 2 .
= 0/05 sig = 0/001
12 22
H o : 1 = 2 (Equal Variance Not

) Assumed .
T
H o : 1 = 2 sig 0/000 1 2 H o
. 1 > 2 2 > 1 Mean
Difference 1 2 1 2 > 0

1 > 2
.



T . )Test Variable (s
Grouping Variable Define

Groups Group 1 ) 1 ( Group 2 ) 2 (


. :

o : 12 = 22 Sig = 0/748
) (=0/05 H o
Equal Variabances Assumed H o : 1 = 2 H1 : 1 2

.
sig=0/843 sig>

H o : 1 = 2
.




.

.
Grouping Variable Define

Groups Cut Point .


Grouping Variable
.

5 T )(Paired-Sample T Test
85


.

.



.

.
Paird-Sample T Test Compare Means
Click Analyze :


2 Paired Variables
OK . :

Paired Sample T.Test


H o : 1 = 2 H1 : 1 2 .
sig=0/002 (=%5) H o

Mean 1 2 > 0 :
1 > 2 ) ( 2
) ( 1
.



1 :
91







.

.
:((One-Way
92 )One-Way ANOVA ..


.
3

4
.
K

H o : 1 = 2 = ... = k
] [ 1 :

.
H o

H o
.
B A C
H o : A = B = ... = C .


.
One-Way ANOVA Compare

Means Analyze :


cars.sav . Dependent List
Factor .
) (Origin
) (horse . Horse Dependent List Origin
Factor OK Click . :

ANOVA
H o : A = U = j
A U
j
.
H o
H o .
H o sig .
SPSS H o

) (sig
H o sig
. sig H o sig> H o

. =0/05 sig = 0/000

H o
.



Post Hoc
:


) (Equal Variances Assumed

)(Equal Variances Not Assumed


.


TUKEY Tuke's-b
Duncan Bonferroni Dunnett
Scheffe Sidak Gabriel LSD Duncan
.
LSD Duncan
Continue OK . ANOVA :

Multiple Comparisons LSD


. America

European Japanes European


Japanes .
. sig
A E j A U A j Mean

Diffrence A U > 0 A J > 0 A > U A > j


U j .
sig=0/831 sig> =%5 U = j

A > U = j

.

Homogeneous Subsets

Duncan Subset for

Alpha . .
1 2
A > E = j

=%5 .
Significance Level
Post Hoc .
Contrasts :

Polynomial
.

Cofficients .
.
Options :

Descriptive
Fixed and Random Effects
Descriptive %95 ) (Fixed
) (Random . Homogeneity of

Variance test

:

sig = 0/000 H o : A2 = U2 = 2j
Post Hoc Equal Variance Not Assumed

.
Brown-Forsthe Welch
.
:

sig
sig>
.... .
sig=0/000 .
:((Univariate
83 )Univariate ANOVA


.
Univariate General Linear Model
Analyze :


.

Dependent Variable
) Fixed Factor (s ) Random Factor (s
Covariate.
)
(
.
Click OK .

Between-Subjects Factors


.
Tests of Between Subjects Effects ANOVA
. Corrected Model

.
H o :
H i .


sig sig=0/000 sig H o
R 2
0/852 .
Intercept H o : A = o H1 : A o sig

. A
.

H o :

H1

sig=0/442 =0/05
.

sig=0/000
.

.
*
sig=%38 =%5
.
Model
. :

Specify Model ) Full Factorial


( ) Custom (
.

Factors & Covariates ) (F
) (R .
) Build Term(s . Click
 Click
Model . .

Sum Of Squares 1 5.

Include intercept in Model A


Test of Between-

Subjects Effects .
Contrasts :


. Factor Change

Contrast .
Contrast . Click
Change .
Deriation Simple
.
:



sig=0/000 .

Plots :

.
x Horizontal Axis
separate Lines Add
:


A B C
.
Post Hoc :


.
Save :


. Standard Error
SEP-1 .
Options :

Estimated Marginal Means


Display Means For
.
Display

.
Significence Level 0/05
.



1
101

.



.
.
r -1 1 r = o
X Y.
r > o X Y
X Y
r +1
X Y.
r < o X Y
X Y
r -1 X Y

.

.
2
102

.
X Y
.
Bivariate Correlate
Analyze :

Cars .

Variables .
Correlation Coefficients .
)( .

.
Kendall's Tau-b
+1 -1 .
Spearman
.
Spearman


.
Cars

Variables.
Test Of Significance .
Two-Tailed ) (

Ho : r = o
H1 : r o

. One-Tailed
Ho : r > o
H1 : r o

.
Flag Significance Correlations
=0/05 =0/01 . Options
.
:

Statistics Means and standard Deviations


Variables .
Cross-Product Derivations and Covariances
.
Pearson .
Missing Values . Exclude

Case Pair wise


.
X Y

.
21 Bivariate
1021

Origin Hourse Engine Sylinder Cars


Variables .

Correlation Coefficients

Pearson Test of Significance

Two-Tailed .
Flag Significant Correlations .
:

Correlations

) (N .
1

.
sig H o : rxy = o
H1 : rxy o .
sig=0/00
. H o sig sig=0/000
.
** **
X Y = 0/01

Engine Hourse 0/897 =0/01



) Engine ( ) Hourse
( .
Origine Hourse
-0/459
.
=1] Origin=2 =3 [ Origin
) Hourse (

.
Pearson

Spearman .
) 30(
Spearman
.
Exam :


Spearman
1
2

.
(Independent

) Sample T.test.
3 )(partial Correlations
103


.

.
) (Weight
) (Engine
) (Cylinder

. Partial
Correlate Analyze :

.
Variables
Controlling for .
Test of Significance Display

Actual Significance Level sig


.
Options :

Bivariate

Zero-Order

Correlations Statistics .
)( .
31 Partial
1031

Hourse Engine Weight Variables


Origin Sylinder
Controlling for :

Correlations Engine

) () Hourse ( ) Weight (
) Origin ( ) Sylinder (
. 0/63 sig=0/000
Engine Houre r=0/568 sig=0/000 Engine Weight
Engine Hourse Weight

.
Hourse Weight 0/48 sig=0/000
.

Origin Sylinder

.
Zero-Order Correlation Statistics Options


) Bivariate ( Partial
. :



1 :
121



.


.


.
.

.
Non Parametric Tests Analyze
.

.
:

:Chi-Square
.
.
Binomial ) P (
.
Runs
.
1-Sample K-S
.
2 Independent Samples
.
K Independent Samples
.
2 Related Samples
.
K Related Samples
.
2 Chi-Square
122



Chi-Square .

H o : PA = PB = PC
. Chi-Square
H o
. Chi-Square :

.
Test Variable List

. Expected Range
Get From Data
Use Specified Range
Lower Upper . Expected

Values .
H o All Categories Equal
Values .
Add

Click
Value Change
.
Click
Remove .

Auto Recode
Test Variable List H o : PA = PB = PC
Expected Values All Categories Equal .
:


.
Test Statistics H o

.
H o
) (Asymp.sig sig sig>
%1- H o sig H o
=0/05 sig> H o
.
Options
. :

Descriptive Statistics
Quartiles
)( Descriptive Statistics

.
Missing Values Exclude

Cases test-by-test
Exclude Cases Listwise
.
Excact :


Mont Carlo Exact
) (sig

.
3 Binomial
123


)(
. .

Exam
Test Variable List
P 0 1 Test Proportion.
Define Dichotomy
Get From Data
Cut Point .
Cut Point

.

Binomial Test Variable

List Test Proportion 0/5 .



H o : P = 0/ 5
H1 : P 0 / 5

. :

Binomial Test
H o ) (Asymp.sig =0/05

sig> H o

.
Options Exact Chi-Square .
4 Runs
124


.
.
Runs


H o :

H1 :

Cut Point
) (Median
) (Mode ) (Mean ) (Custom
. .

Test Variable List

Cut Point

.
Test Variable List
Cut

Point Mean :

Run Test Test Value


.
Z

sig> H o sig H o
H1 .
=0/05 sig=0/363 H o
=0/05 .
Options Exact Chi-Square.
5 One-Sample K-S
125


) (K-S .

. One Sample K-S :

Test Variable List


Test Distribution

Test Variable List ) (Normal )(Uniform


) (Poisson ) (Exponenetial .
:
H o :
H1 :

Test Variable List


Test Distribution Normal OK
. :

z .
) (Asymp.sig )
0/05 ( .
sig>
.
Options Exact Chi-Square .
6 2 Independent Samples
126


.
T

T
:

T Test Variable List


Grouping Variable
Define Groups
:


Test Variable List
Grouping Variable Define Groups
Group 1 Group 2 Test Type

:
)(Mann-Whitaey U
)(Kolmogrov-Smirnov Z
Moses Exterme Reactions
wald-Wolfowitz Runs

Test Statistics
sig=0/000



) (Differences ) (Positive ) (Negative
| |Positive|<|Negative 1 > 2 .
| |Positive|>|Negative 1 < 2
.
Options Exact .
7 K Independent Samples
127




.
:

Test Variable List


Grouping Variable . Define

Range :


Minimum Maximum .

) (String Auto Recode

Transform
.
H o H1 :
H o : 1 = 2 = ... = k
H1 :

Test Type :
Kruskal-Wallis H
Median
Jon Ckheere-Terpstra

.
.

.
H o : A = B = . C
H1 :

Test Variable List


Grouping Variable
Define Rane 1 3 Minimum Maximum

Test Type
Kruskal-Wallis H :

Ranks
.
Test Statistics
. Asymp sig=0/03 . 0/05
= sig H o
.
2 Independent Samples
Rank
C > B > A .
Options Exact Chi-Square .
8 2 Related Samples
128

t
2 Related Samples .
.
:

t
Test Pair(s) List . Test Type
:
Wilcoxon
Sign
Mc Nemar
Marginal Homogenity

.

. 2
.


. Test

Pair(s) Test Test Type Wilcoxon


:

Test Statistics z sig=0/000

H o

Ranks .
) (16/11 ) (7

. negative Ranks
.
>
.
Options Exact Chi-Square .
9 K Related Samples
129

K Related Samples )(
. :

Test Variables .
Test Type :
Fridman
Kendall's W

Cochran's Q

.

) .
( Test Variables Test Type
Fridman . :

) (sig=0/001
=0/05 2 Related

Sample
.
.
Statistics .

Descriptive
Quartiles

)(
.
Exact Chi-Square .

2
exam

1
SPSS 14
-1 SPSS 14

spss .
CD (1 SPSS 14 CD-ROM .
(2 1 Autorun Installshield Wizard

. Setup SPSS
Installshield Wizard .
Installshield Wizard Next .

(3 2 . I

accept the terms in the license agreement Next .

(4 3 14 SPSS
Next .

(5 4 . ) User

( Name ) (Organization Next .

(6 5 .
Change
. Next .

License Code Update .

(7 6 . Install
SPSS 14 .

(8 Finish
. .

-2 SPSS

SPSS Icon SPSS Desktop


Double-click .

Start SPSS .

SPSS .
SPSS

SPSS Run The Tutorial


. SPSS Type In Data
. SPSS
an exiting query Run .
Minitab ,EpiINFO, FOXPRO ,EXEL ,dBASE ,SAS ...
Creat query using new database wizard
) (dara veiw SPSS
. SPSS
Open an exiting data source .
SPSS ][1 Open another type file
. future Dont show this dialog in the
SPSS )
(.

SPSS SPSS Data Editor


SPSS

is ready Processor .

You might also like