Upload
elaine-powell
View
214
Download
0
Tags:
Embed Size (px)
Citation preview
Developed By Information Technology Services
University Of Saskatchewan
Jan 2010 IT Services—U of S 2
SPSS Introductory Course Topics
• Windows XP Review (/Vista/7)
• SPSS Version 17.0 Introduction
• SPSS Data Window
• SPSS Analysis
• SPSS Output Window
• SPSS Advanced Topics
Jan 2010 IT Services—U of S 3
Windows XP (/Vista/7) Review• Desktop
– Taskbar• Start Button
• Toolbars
• Mouse– Left Mouse Click
– Right Mouse Click
– Double Clicking
– Dragging
• Start Windows Applications– Start Button
– Desktop Icons
Jan 2010 IT Services—U of S 4
Windows XP (/Vista/7)Desktop, Taskbar, Start Button, Icons
The DESKTOP
Start ButtonStart Button TaskbarTaskbar
Taskbar Program Buttons
Taskbar Program ButtonsDesktop IconsDesktop Icons
Jan 2010 IT Services—U of S 5
Windows XP (/Vista/7)The Start Menu
The DESKTOP
The START MENUThe START MENU
Place The Mouse Pointer On The START Button & Single Click To Pop Up The START
MENU
Place The Mouse Pointer On The START Button & Single Click To Pop Up The START
MENU
Jan 2010 IT Services—U of S 6
Typical Application Interface(SPSS Window In Data View)Menu Bar & Menu Items Menu Bar & Menu Items
Title BarTitle Bar
OPEN FILE
Mouse Pointer With Its ‘Hint
Bubble’ Showing
Mouse Pointer With Its ‘Hint
Bubble’ Showing
MinimizeMinimize
RestoreRestore
CloseClose
Buttonbar (Toolbar)Buttonbar (Toolbar)
ButtonsButtons
Scroll Bar (Horizontal)Scroll Bar (Horizontal)
Status BarStatus Bar
Scroll Bar (Vertical)Scroll Bar (Vertical)
Jan 2010 IT Services—U of S 7
SPSS Version 17.0 Introduction
• Starting SPSS– Minimize, Maximize, Restore & Close SPSS
• Open File• Save & Save As File• General Application Interface• SPSS Windows
– Data Editor Window
– Output Window
– Syntax Window
– Navigate the Windows
Jan 2010 IT Services—U of S 8
Starting SPSS From The Start Menu
Click On START Button To Pop Up The MAIN
Menu
Click On START Button To Pop Up The MAIN
Menu
Drag Pointer To “…All PROGRAMS” (Sub-
menu Pops Up)
Drag Pointer To “…All PROGRAMS” (Sub-
menu Pops Up)
Move Pointer To Sub-menu, Then Move To Desired Item & Single-click. Application Starts
Move Pointer To Sub-menu, Then Move To Desired Item & Single-click. Application Starts
1
3
2
Jan 2010 IT Services—U of S 9
SPSS Start Screen
Select Desired Option for:
1. Opening An Existing Dataset, Or -
2. Creating A New Dataset, Or –
3. Running Tutorials
Select Desired Option for:
1. Opening An Existing Dataset, Or -
2. Creating A New Dataset, Or –
3. Running Tutorials
Jan 2010 IT Services—U of S 10
To Access SPSS Version Number
1
Move Pointer To About & ClickMove Pointer To About & Click2
Click On HelpClick On Help
This Dialog Box Pops Up. It Shows Version, Release
Dates, Registration
Information.
This Dialog Box Pops Up. It Shows Version, Release
Dates, Registration
Information.
Click On “OK” Button To Close Or Home Page For Website
Click On “OK” Button To Close Or Home Page For Website
3
Jan 2010 IT Services—U of S 11
A SYNTAX Window
SPSS Windows
A DATA WindowA DATA Window
An OUTPUTWindow
An OUTPUTWindow
Navigation Menu(To Switch Windows)
Jan 2010 IT Services—U of S 12
SPSS Data WindowIn Data View
ToolbarToolbar
Menu Bar & Menu Items
Menu Bar & Menu Items
Open Data File
Open Data File
Save File
Save File
Print Print
Dialog Recall
Dialog Recall
Variables Variables
Find Find
Goto Case
Goto Case Insert
Variable
Insert Variable
Insert Case
Insert Case
Select Cases
Select Cases
Value Labels
Value Labels
Data View TabData View Tab Variable View TabVariable View Tab
Holding The Cursor
On A Button
Shows Its Function
Jan 2010 IT Services—U of S 13
SPSS Data WindowIn Variable View
Data View TabData View Tab
Variable View TabVariable View Tab
Variable NameVariable Name
Variable TypeVariable Type
Variable Width & Decimals Depend
On Type
Variable Width & Decimals Depend
On Type
Variable LabelVariable Label
Value LabelsValue Labels
Missing ValuesMissing Values
Input Column Width
Input Column Width
Set Measurement
Level
Set Measurement
Level
Jan 2010 IT Services—U of S 14
SPSS Output Window
Export Export
(Toolbar) Buttonbar(Toolbar) Buttonbar
Menu Bar &
Menu Items Menu Bar &
Menu Items
Return To Data Window
Return To Data Window
Print Preview
Print Preview Select Last
Output
Select Last Output
Designate Output
Designate Output
Open Output File
Open Output File
Jan 2010 IT Services—U of S 15
SPSS Syntax Window
ButtonbarButtonbar
Run Current Syntax
Run Current Syntax
Menu Bar & Menu Items Menu Bar & Menu Items
Syntax Help
Syntax Help
Undo/Redo Button
Undo/Redo Button
Open Syntax
File
Open Syntax
File
Navigation Pane
Navigation Pane
Jan 2010 IT Services—U of S 16
Designating An Active Window
In Output & Syntax Windows
This Window is Currently Active (Output Sent to This Window)
This Window is Currently Active (Output Sent to This Window)Grayed Out Cross Indicates
Window is Currently Active
Grayed Out Cross Indicates Window is Currently Active
Click Green Cross Button to Make This Window
Active
Click Green Cross Button to Make This Window
Active
Jan 2010 IT Services—U of S 17
Designating An Active Data SetIn Data Window Select Data
Window From List
Select Data Window From
List
Jan 2010 IT Services—U of S 18
Designating An Active Data SetIn Syntax Window
Select Data Window From
List
Select Data Window From
List
Jan 2010 IT Services—U of S 19
The Data Editor Window• Opening An Existing File• Navigating The Data Editor Window
– Data view tab– Variable view tab
• Modifying data• Creating A New Data File
– Create variables– Copy variables– Modify variables– Move variables
• Creating Variables• Saving Data
Jan 2010 IT Services—U of S 20
Data Editor: Open Existing File
Double Click On The File You
Wish To Open
Double Click On The File You
Wish To Open
Click On Open File
Button
Click On Open File
Button
This Opens The
Open File Dialog Box This Opens The
Open File Dialog Box
Click On File & Open From The
File Menu
Click On File & Open From The
File Menu
Or
Jan 2010 IT Services—U of S 21
Modifying Data—Cell Address & Data Bar
Cell Address Bar: When Cell Is Highlighted It Shows Row Number & Variable Name
Cell Address Bar: When Cell Is Highlighted It Shows Row Number & Variable Name
Data Bar (Shows Value)Data Bar (Shows Value)
Highlighted CellHighlighted Cell
To Change The Value In This Cell Type In New Value
& Hit Return
To Change The Value In This Cell Type In New Value
& Hit Return
Jan 2010 IT Services—U of S 22
Data Editor Keyboard NavigationAccess Under HELP Menu, Topics,
KEYBOARD NAVIGATION
Access Under HELP Menu, Topics, KEYBOARD NAVIGATION
Jan 2010 IT Services—U of S 23
Creating A New Data File
Drag Pointer To New
Drag Pointer To New Click On
DATA
Click On DATA
Menu Drops Down
Submenu Pops Up
Click on FILEClick on FILE
Jan 2010 IT Services—U of S 24
Creating A VariableIn Data ViewClick EDIT Click EDIT
New VARIABLE Is Inserted
New VARIABLE Is Inserted
And Then Click On INSERT VARIABLE
And Then Click On INSERT VARIABLE
Click INSERT VARIABLE
Button
Click INSERT VARIABLE
Button
2
Or
Data View Tab Selected
Data View Tab Selected
1
Jan 2010 IT Services—U of S 25
Creating A VariableIn Variable ViewClick EDIT Click EDIT
New VARIABLE is Inserted
New VARIABLE is Inserted
And Then Click on INSERT VARIABLE
And Then Click on INSERT VARIABLE
or
1
Variable View Tab Selected
Variable View Tab Selected
Click INSERT VARIABLE
Button
Click INSERT VARIABLE
Button
2
Jan 2010 IT Services—U of S 26
Variable Names & Types
Click On The Variable View Tab
Click On The Variable View Tab
VARIABLE TYPE Dialog Box Pops Up, Select Type
Desired, And Other Parameters Such As Width,
Or Decimals
VARIABLE TYPE Dialog Box Pops Up, Select Type
Desired, And Other Parameters Such As Width,
Or Decimals
To Change From The Default Variable Name--directly Type In Your Own Variable Name: (Hint-a Short Description Of Variable)
To Change From The Default Variable Name--directly Type In Your Own Variable Name: (Hint-a Short Description Of Variable)
1
2
To Change Variable Types Click On The Ellipsis (…) To
Pop Up The Variable Type Dialog Box
To Change Variable Types Click On The Ellipsis (…) To
Pop Up The Variable Type Dialog Box
3
Jan 2010 IT Services—U of S 27
Parameter Dialog Boxes for Different Variable Types
SettingsArea
SettingsArea
Numeric, Comma, Dot & Scientific
Numeric, Comma, Dot & Scientific
DateDate
StringString
DollarDollar
Custom CurrencyCustom Currency
Jan 2010 IT Services—U of S 28
Variable Labels & Value Labels
Change Or Add Variable Labels (Full Description Of Variable)By Typing Directly In The Cell
Change Or Add Variable Labels (Full Description Of Variable)By Typing Directly In The Cell
Type In Value Label The Value Represents & Click OK
Type In Value Label The Value Represents & Click OK
To Add Or Change Value Labels Click On
The Ellipsis (…)
To Add Or Change Value Labels Click On
The Ellipsis (…)
Type In The Values The Variable Represents
Type In The Values The Variable Represents
2
4
Select Variable
View Tab
Select Variable
View Tab
5
1
Value Labels Dialog Box Pops Up
Value Labels Dialog Box Pops Up
3
Jan 2010 IT Services—U of S 29
Entering Missing Values
Select Variable View Tab
Select Variable View Tab
1
To Add Or Change Missing Values Click On
The Ellipsis
To Add Or Change Missing Values Click On
The Ellipsis
2
Click On Required Radio Button, Enter The Missing Value & Click OK
Click On Required Radio Button, Enter The Missing Value & Click OK
3
Jan 2010 IT Services—U of S 30
Copy & Paste A Variable
Place Pointer In Variable Header Cell
& Right Click
Place Pointer In Variable Header Cell
& Right Click
1
Click On Copy Click On Copy
2
Place Pointer On Empty Variable Header Cell &
Right Click
Place Pointer On Empty Variable Header Cell &
Right Click 3
Click On Paste Click On Paste 4
In Data View
Jan 2010 IT Services—U of S 31
Copy & Paste A VariableIn Variable View
Place Pointer In Variable Cell & Right Click
Place Pointer In Variable Cell & Right Click
1
Click On Copy Click On Copy 2
Place Pointer On Empty Variable Cell &
Right Click
Place Pointer On Empty Variable Cell &
Right Click
3Click On Insert
Variable
Click On Insert Variable
4
NOTE: Unlike Data View, In Variable View, DATA Values Themselves Are
NOT Copied
Jan 2010 IT Services—U of S 32
Data Entry Setup
Variables Information Dialog Box
Variables Information Dialog Box
Variables Created Using Insert Variable Button
Variables Created Using Insert Variable Button
To See Variables Information Dialog Box Click Variables Button
To See Variables Information Dialog Box Click Variables Button
Select Variable View Tab (See Previous Slides) To Set Variable Parameters
Select Variable View Tab (See Previous Slides) To Set Variable Parameters
Jan 2010 IT Services—U of S 33
Entering Data
Click “File”, “New” To Create A New, Empty Data Page
Click “File”, “New” To Create A New, Empty Data Page
Type Data Into Cells & Use The ‘Enter’ Key
Type Data Into Cells & Use The ‘Enter’ Key
A Variable With A Default Name Is Automatically Created
A Variable With A Default Name Is Automatically Created
Jan 2010 IT Services—U of S 34
Modifying A Variable
Change Variable Name, Type, Width, Etc. As Required And
Save The File
Change Variable Name, Type, Width, Etc. As Required And
Save The File
2
Select Variable View Tab Or In Data View Double Click In Any
Variable Cell Header
Select Variable View Tab Or In Data View Double Click In Any
Variable Cell Header
1
Jan 2010 IT Services—U of S 35
Inserting A Variable
Variable is Inserted
Variable is Inserted
Click On EDIT (Menu Drops
Down)
Click On EDIT (Menu Drops
Down)
Click On INSERT
VARIABLE Button
Click On INSERT
VARIABLE Button
Double Click In Empty Header Cell & (Goes To Variable View). Then
Enter Variable Information
Double Click In Empty Header Cell & (Goes To Variable View). Then
Enter Variable Information
Or
Click On INSERT
VARIABLE
Click On INSERT
VARIABLE
Or
Jan 2010 IT Services—U of S 36
Create A Practice Data Set
Jan 2010 IT Services—U of S 37
Save The Practice Data File
If File Has NOT Been Saved Click “Save” File Button.
Use “Save As” To Create Other File Versions
If File Has NOT Been Saved Click “Save” File Button.
Use “Save As” To Create Other File Versions
1
Type A Filename In This Box
Type A Filename In This Box 3
Use This Drop Down List To Save The File As Other File Types
(E.G., Export To Excel)
Use This Drop Down List To Save The File As Other File Types
(E.G., Export To Excel)
4
Click The Save Button Click The Save Button 5
Use Browser To Select A Location To Save The File
Use Browser To Select A Location To Save The File
2
Jan 2010 IT Services—U of S 38
Selecting Variables To Save
Perform A “Save” Or “Save As” File Action.
Perform A “Save” Or “Save As” File Action.
1
Type A Filename & Click “Variables”
Type A Filename & Click “Variables”
3
(Un)check Variables To Save
(Un)check Variables To Save
4
Select A Location To Save The File
Select A Location To Save The File
2
Click “Continue”, Then “Save” In The Save Data Dialog
Click “Continue”, Then “Save” In The Save Data Dialog
5
Jan 2010 IT Services—U of S 39
Moving A Variable1. In Either Data Or Variable View
—Single-Click To Select The Variable To Move
2. Single-Click Again & Hold On The Variable —The Cursor Will Change Colour/Shape (A Small Gray Box On The Tail)
3. Continue Holding & Drag & Drop At The New Location
Cursor Shape While Moving
Cursor Shape While Moving
Line Turns Black To Indicate Insertion Point
Line Turns Black To Indicate Insertion Point
Jan 2010 IT Services—U of S 40
Open Practice File
Click Open File Button Click Open File Button
Click Open & Practice1.SAV Data Is
Inserted Into Data Editor
Click Open & Practice1.SAV Data Is
Inserted Into Data Editor
3
Click File, Open File & Data
Click File, Open File & Data
21Or
Jan 2010 IT Services—U of S 41
SPSS Analysis
• Open Sample Data File• Analysis 1
– Categorical Variables– Frequencies
• Analysis 2– Continuous Variables– Descriptives– Correlations
• Analysis 3– Graph Menu & Graph Categorical Variables– Scatter plot
Jan 2010 IT Services—U of S 42
SPSS Analysis 1. Frequencies
Click AnalyzeClick Analyze
Analyze Menu Drops Down
Analyze Menu Drops Down
1
Cursor On Descriptive Statistics & Select & Click Frequencies
Cursor On Descriptive Statistics & Select & Click Frequencies2
Frequencies Dialog Box Pops Up
Frequencies Dialog Box Pops Up
Highlight Variable(s) To AnalyzeHighlight Variable(s) To AnalyzeClick Button (Inserts Variable(s) Into List)
Click Button (Inserts Variable(s) Into List)
43
Click OKClick OK5
Jan 2010 IT Services—U of S 43
SPSS Analysis 2. Descriptives
Click AnalyzeClick Analyze
Analyze Menu Drops Down
Analyze Menu Drops Down
1
Cursor On Descriptive Statistics & Select & Click Descriptives
Cursor On Descriptive Statistics & Select & Click Descriptives2
Descriptives Dialog Box Pops Up
Descriptives Dialog Box Pops Up
Highlight Variable(s) To AnalyzeHighlight Variable(s) To AnalyzeClick Button (Inserts Variable(s) Into List)
Click Button (Inserts Variable(s) Into List)
43
Click OKClick OK6
Click & Select Options If Required
Click & Select Options If Required
5
Jan 2010 IT Services—U of S 44
SPSS Analysis 3. Correlations
Click AnalyzeClick Analyze
Analyze Menu Drops Down
Analyze Menu Drops Down
1
Cursor On Correlate & Select & Click Bivariate
Cursor On Correlate & Select & Click Bivariate
2Bivariate Correlations Dialog Box Pops Up
Bivariate Correlations Dialog Box Pops Up
Highlight Variable(s) To AnalyzeHighlight Variable(s) To Analyze
Click Button (Inserts Variable(s) Into List)
Click Button (Inserts Variable(s) Into List)
4
3
Click OKClick OK6
Click & Select Options If Required
Click & Select Options If Required5
Jan 2010 IT Services—U of S 45
SPSS Analysis 4. Bar Graph
Select Type & Click on Define
Select Type & Click on Define
3
Define Simple Bar Dialog Box
Pops Up
Define Simple Bar Dialog Box
Pops Up
Select Variables From List &
Click on Button
Select Variables From List &
Click on Button
4
Click OKClick OK
Graphs Menu Drops Down
Graphs Menu Drops Down
Click Graphs & Legacy Dialogs
Click Graphs & Legacy Dialogs
1
Cursor on Bar & ClickCursor on Bar & Click 2Bar Chart Dialog Box
Pops Up
Bar Chart Dialog Box Pops Up
5
Jan 2010 IT Services—U of S 46
SPSS Analysis 5. Scatterplot
Select Variables From List & Click
On Buttons
Select Variables From List & Click
On Buttons
4
Click OKClick OK
6
Select Titles & Options As Required
Select Titles & Options As Required
5Click Graphs & Legacy Dialogs
Click Graphs & Legacy Dialogs
Cursor On Scatter & ClickCursor On Scatter & Click2
Scatter/Dot Dialog Box Pops Up
Scatter/Dot Dialog Box Pops Up
Define Scatter/Dot Dialog Box Pops Up
Define Scatter/Dot Dialog Box Pops Up
Select Type &
Click On Define
Select Type & Click On Define
3
1
Graphs Menu Drops Down
Graphs Menu Drops Down
Jan 2010 IT Services—U of S 47
SPSS Output Window
• Expanding Output Items• Selecting Output Items
– Shift Key Continuous Selection
– CTRL Key Specific Selection
• Print Preview• Save Output• Open Output
Jan 2010 IT Services—U of S 48
Example Frequencies Analysis To Output
Frequencies Tables Into Output Window
Frequencies Tables Into Output Window
Jan 2010 IT Services—U of S 49
Expanding Output Sections
Minus Sign Indicates No Hidden Items
Minus Sign Indicates No Hidden Items
Plus Sign Indicates
Hidden Items
Plus Sign Indicates
Hidden Items
Double Click On Icon Or On Plus Sign To Expand Section
Double Click On Icon Or On Plus Sign To Expand Section
Section Expanded To Show Item
Section Expanded To Show Item
Item Icon Open:Icon Shows ‘Open Book’ Shows
Output
Item Icon Open:Icon Shows ‘Open Book’ Shows
Output
Jan 2010 IT Services—U of S 50
Selecting Output Items
• Click on Heading Icon to Select All Items Within that Section
• Control-Click Selects Multiple Specific Items
• Items May Be Moved By ‘Dragging & Dropping’ Icons
Jan 2010 IT Services—U of S 51
Print Preview, Save & Open Output
Print Preview ButtonPrint Preview ButtonOpen File ButtonOpen File Button
FilenameFilename & Save& Save
File LocationFile Location
Click FilenameClick Filename & Open& Open
Save As Dialog Box Pops Up
Save As Dialog Box Pops Up
Open File Dialog Box
Pops Up
Open File Dialog Box
Pops Up
Save File ButtonSave File Button
Jan 2010 IT Services—U of S 52
SPSS Advanced Topics
• Syntax Editor
• Computing New Variables
• Subsetting Data
• Setting Options
• Editing Output
• Pasting Output to a Word Processor
• Advanced Graphics
• SPSS System File Commands
• Import/Export Data
• Production Facility
• Advanced Statistics Discussion– Crosstabs
– ANOVA
– Regression
Jan 2010 IT Services—U of S 53
Pasting Into The Syntax Editor
Use Previous Procedure To Open Dialog Box for Desired Statistic
(Example: Frequencies)
Use Previous Procedure To Open Dialog Box for Desired Statistic
(Example: Frequencies)
1
Click Paste Button to Paste
Commands into Syntax
Editor
Click Paste Button to Paste
Commands into Syntax
Editor
3
Select Variables Into Analysis Pain
Select Variables Into Analysis Pain
2
Jan 2010 IT Services—U of S 54
Run & Save SPSS Syntax (Code)In Syntax Editor Type SPSS Code
Into Window or (Use Pasted Code)
In Syntax Editor Type SPSS Code
Into Window or (Use Pasted Code)
1
Choose The Appropriate Run Method To Execute The Syntax
Choose The Appropriate Run Method To Execute The Syntax
2
To Save The Code: Click the Save Button to Pop Up
The Save As Window
To Save The Code: Click the Save Button to Pop Up
The Save As Window
3
Type in The Filename
Type in The Filename & Click Save& Click Save
Jan 2010 IT Services—U of S 55
Change Syntax & Variables List Dialog
Click Variables Button
Click Variables Button
Variables Dialog Box Pops Up
Variables Dialog Box Pops Up
New Code May Be Typed Or Pasted Into
Window
New Code May Be Typed Or Pasted Into
Window
& Click Paste & Click Paste
Pastes Variables In Window
Pastes Variables In Window
2 Select Variables Select Variables 4
3
Right Click To Pop Up Menu To
Cut, Copy, Delete, & Run
Highlighted Code
Right Click To Pop Up Menu To
Cut, Copy, Delete, & Run
Highlighted Code1
Jan 2010 IT Services—U of S 56
Computing New VariablesClick TRANSFORM & Highlight
& Click COMPUTE
Click TRANSFORM & Highlight & Click COMPUTE
COMPUTE VARIABLE Dialog
Box Pops Up
COMPUTE VARIABLE Dialog
Box Pops Up
1
Computed Variable Is
Inserted Into Data Set
Computed Variable Is
Inserted Into Data Set
Select & Double Click
Variable(s) To Compute
Select & Double Click
Variable(s) To Compute
Type In New
Variable
Type In New
Variable
Click To Add Label
& Type
Click To Add Label
& Type
Use Buttons To
Fill In Expression
& Add Functions
Use Buttons To
Fill In Expression
& Add Functions
2
3Click OK
To Compute, Or PASTE To Paste To
Syntax Window
Click OK To
Compute, Or PASTE To Paste To
Syntax Window
5
4
Jan 2010 IT Services—U of S 57
Copy Data PropertiesClick Data & Highlight & Click
COPY DATA PROPERTIES
Click Data & Highlight & Click COPY DATA PROPERTIES
COPY DATA PROPERTIES VARIABLE Dialog Box Pops Up
COPY DATA PROPERTIES VARIABLE Dialog Box Pops Up
1
Step 2 Dialog Box Pops Up
Step 2 Dialog Box Pops Up
Select Source Variable(s)
Select Source Variable(s)
Select Working Or External File
Select Working Or External File
Select Target Variables Then
NEXT
Select Target Variables Then
NEXT
Select Properties To Copy & Then
Click Finish
Select Properties To Copy & Then
Click Finish
Step 4 Dialog Box Pops Up
Step 4 Dialog Box Pops Up
2
34
5
Jan 2010 IT Services—U of S 58
Running Compute Code From Syntax
Click PASTE To Paste Code Into Syntax Window
Click PASTE To Paste Code Into Syntax Window
Highlight Syntax & Click
RUN & SELECTION
Highlight Syntax & Click
RUN & SELECTION
Code Is Pasted Into Syntax Window
Code Is Pasted Into Syntax Window
Computed Variable Is Inserted Into Data Set
Computed Variable Is Inserted Into Data Set
21
Jan 2010 IT Services—U of S 59
Recoding VariablesClick
TRANSFORM & Highlight & Click
RECODE
Click TRANSFORM & Highlight & Click
RECODE
RECODE Dialog Box Pops Up
RECODE Dialog Box Pops Up
Click To Add Label
& Type
Click To Add Label
& Type
1Select SAME VARIABLE or
DIFFERENT VARIABLE
Select SAME VARIABLE or DIFFERENT VARIABLE
2
Type in NEW Value
Type in NEW Value
Type in Value(s)
Type in Value(s)
6
Select & Double Click
Variable(s) to Recode
Select & Double Click
Variable(s) to Recode
3
Type in New
Variable & Label
Type in New
Variable & Label
4
OLD & NEW VALUES Dialog
Box Pops Up
OLD & NEW VALUES Dialog
Box Pops Up
Click OLD and
NEW VALUES
Click OLD and
NEW VALUES
5
7
Click Add Click Add 8
Click Continue & OKClick Continue & OK
9
Jan 2010 IT Services—U of S 60
Recoding By Syntax
Execute Syntax From Run Window Or Button
Execute Syntax From Run Window Or Button
3Click On Paste To Paste Code Into Syntax Window
Click On Paste To Paste Code Into Syntax Window
2
Use Previous Method For
Recoding New Variable To
Different Values
Use Previous Method For
Recoding New Variable To
Different Values
1
Hint: To Recall Your Recode Procedures, Consider Saving
Syntax Files
Jan 2010 IT Services—U of S 61
Subsetting Data: Select If...
Click DATA & Highlight & Click SELECT CASES
Click DATA & Highlight & Click SELECT CASES
Click ‘If Condition Is
Satisfied’ Button & Click If...
Click ‘If Condition Is
Satisfied’ Button & Click If...
Highlight Variable &
Click
Highlight Variable &
Click
& Use Buttons To Add Expressions
& Use Buttons To Add Expressions
Click Continue
Click Continue
1
2
3
4
SELECT CASES Dialog Box Pops
Up
SELECT CASES Dialog Box Pops
Up
SELECT CASES: IF Dialog Box
Pops Up
SELECT CASES: IF Dialog Box
Pops Up
Jan 2010 IT Services—U of S 62
Temporary Select If & Filtering
To Temporarily Filter Cases Click Use Filter Variable
Button to Filter Cases
To Temporarily Filter Cases Click Use Filter Variable
Button to Filter Cases
NOTE: PREVIOUS SELECT IF Step Creates a
Filter Variable
NOTE: PREVIOUS SELECT IF Step Creates a
Filter Variable
‘Filter Activated’ Indicated By
Diagonal Line
‘Filter Activated’ Indicated By
Diagonal Line
Click All Cases Button to Shut Off
Filter
Click All Cases Button to Shut Off
Filter
Jan 2010 IT Services—U of S 63
Subsetting Data: Create Use Set...
Click Utilities & Highlight & Click
DEFINE SETS
Click Utilities & Highlight & Click
DEFINE SETS
DEFINE VARIABLE SETS
Box Pops Up
DEFINE VARIABLE SETS
Box Pops Up
1
Type In New Set Name & Click ADD SET, Then CLOSE
Type In New Set Name & Click ADD SET, Then CLOSE
3
Select Variables & Click To Include
In New (Sub)set
Select Variables & Click To Include
In New (Sub)set
2
Jan 2010 IT Services—U of S 64
Subsetting Data: Activate Use Set...
USE SETS Dialog Box Pops Up
USE SETS Dialog Box Pops Up
Select Required Set & De-select Others
Select Required Set & De-select Others
2
Variable Source Lists Include Only The Variables Selected In The Use Set(s). Easier To
Select Variables & Enhances Performance
Variable Source Lists Include Only The Variables Selected In The Use Set(s). Easier To
Select Variables & Enhances Performance
From Utilities Menu Click USE SETS
From Utilities Menu Click USE SETS
1
New Use Set Shows Variables Listed In The Set
New Use Set Shows Variables Listed In The Set
3
Jan 2010 IT Services—U of S 65
Setting SPSS Options
OPTIONS Dialog Pops Up
OPTIONS Dialog Pops Up
Click EDIT & OPTIONS
Click EDIT & OPTIONS
Select Tab As Required For
Specific Settings
Select Tab As Required For
Specific Settings
Jan 2010 IT Services—U of S 66
Editing Text OutputText Editing Menu Text Editing Menu
Double Click Text Area to Edit
Double Click Text Area to Edit
Text Commands Available From The
Insert Menu
Text Commands Available From The
Insert Menu
Jan 2010 IT Services—U of S 67
Editing Tables Output
Commands For Editing Tables Styles & Layout
Commands For Editing Tables Styles & Layout
Table Editing Menu Table Editing Menu
Double Clicking In A Table To Edit Output. Also, Right Click On Table
To Open Editing Window
Double Clicking In A Table To Edit Output. Also, Right Click On Table
To Open Editing WindowFor Printing Control– Only Table Selected Prints Out
For Printing Control– Only Table Selected Prints Out
1
2
Jan 2010 IT Services—U of S 68
Advanced Graphics: Chart Editor
Chart Editor Pops Up
Chart Editor Pops Up
Double Click INSIDE A Graph
Area To Open Chart Editor
Double Click INSIDE A Graph
Area To Open Chart Editor
1
Select Desired Properties Tabs To
Configure Chart
Select Desired Properties Tabs To
Configure Chart3
Properties Dialog Box Pops Up
Properties Dialog Box Pops Up
Single Click Chart Object (e.g. Bar) Then Select PROPERTIES From
The EDIT Menu
Single Click Chart Object (e.g. Bar) Then Select PROPERTIES From
The EDIT Menu 2
Jan 2010 IT Services—U of S 69
Advanced Graphics: Chart Editor
Chart Editor Pops Up
Chart Editor Pops Up
Select Graph & Double Click
INSIDE A Graph Area To Open Chart
Editor
Select Graph & Double Click
INSIDE A Graph Area To Open Chart
Editor
1
Right Click In Graph Area & Select PROPERTIES
Right Click In Graph Area & Select PROPERTIES2
Select Desired Properties Tabs To
Configure Chart
Select Desired Properties Tabs To
Configure Chart3
Properties Dialog Box Pops Up
Properties Dialog Box Pops Up
Jan 2010 IT Services—U of S 70
Advanced Graphics: 3D Chart
In Chart Editor Select DEPTH &
ANGLE Tab
In Chart Editor Select DEPTH &
ANGLE Tab
Click 3-D Radio ButtonClick 3-D Radio Button
3
2
Sliders Control Bar Depth & Angles
Sliders Control Bar Depth & Angles
4
Click To Apply Desired Changes
Click To Apply Desired Changes
5
Double Click Bar AreaDouble Click Bar Area1
Jan 2010 IT Services—U of S 71
SPSS File Commands: Add Cases
ADD CASES DIALOGUES: READ FILE Pops Up. Select Cases From Open Data File Or
Browse To External File To Select Cases To Add To The
ACTIVE (Working) File
ADD CASES DIALOGUES: READ FILE Pops Up. Select Cases From Open Data File Or
Browse To External File To Select Cases To Add To The
ACTIVE (Working) File
Click DATA / MERGE FILE / ADD CASES
Click DATA / MERGE FILE / ADD CASES
1
Select File To Be Merged &
Click Continue
Select File To Be Merged &
Click Continue2
Select Other Variables Manually. Unpaired Variables
Will Insert MISSING VALUES
Select Other Variables Manually. Unpaired Variables
Will Insert MISSING VALUES
Matched Files Are Automatically
Paired
Matched Files Are Automatically
Paired
3
Click OK &/Or Paste
Click OK &/Or Paste
4
5
Jan 2010 IT Services—U of S 72
SPSS File Commands: Add Variables
Click DATA & MERGE FILES&
ADD VARIABLES
Click DATA & MERGE FILES&
ADD VARIABLES
1
ADD VARIABLES DIALOG: READ FILE Pops Up. Select Variables From Open Data File or Browse to External File To Select Variables TO Add To
The ACTIVE (Working) File
ADD VARIABLES DIALOG: READ FILE Pops Up. Select Variables From Open Data File or Browse to External File To Select Variables TO Add To
The ACTIVE (Working) File
Select File To Be Merged &
Click Continue
Select File To Be Merged &
Click Continue2
ADD VARIABLES: FROM Dialog Box
Pops Up.
ADD VARIABLES: FROM Dialog Box
Pops Up.
Select Variables to Include
Select Variables to Include
Or To ExcludeOr To Exclude
Select a Key Variable To Match Cases & Click OK
or Paste
Select a Key Variable To Match Cases & Click OK
or Paste
3
4
Jan 2010 IT Services—U of S 73
Importing Data
Select File Type, Click On File So Name
Appears In File Name Box & Click Open
Click Open & Data...
1
2
Jan 2010 IT Services—U of S 74
Exporting Data
SAVE DATA AS Dialog Pops Up
Select File Type & Type In Name & Click Save
Click File & Save As...
1
2
Jan 2010 IT Services—U of S 75
SPSS Production Job UtilityThe Production Job provides the ability to run the program in an automated fashion. The program runs unattended and terminates after executing the last command, so you can perform other tasks while it runs. Production mode is useful if you often run the same set of time-consuming analyses, such as weekly reports.
Production Job uses command syntax files to tell the program what to do. A command syntax file is a simple text file containing command syntax. You can use any text editor to create the file. You can also generate command syntax by pasting dialog box selections into a syntax window or by editing the journal file. After you create syntax files and include them in a production job, you can view and edit them from the Production Job Window.
Production JobCommand
Production JobCommand
1
Production JobScreen
Production JobScreen
Jan 2010 IT Services—U of S 76
Advanced Statistics 1: Crosstabs
Select Variables for Row & Columns &
Click OK
Select Variables for Row & Columns &
Click OK
For Bar Charts
For Bar Charts Settings Boxes
Settings Boxes
CROSSTABS Dialog Box
CROSSTABS Dialog Box
3
Select ANALYZE & DESCRIPTIVE STATISTICS & CROSSTABS
Select ANALYZE & DESCRIPTIVE STATISTICS & CROSSTABS1
Jan 2010 IT Services—U of S 77
Advanced Statistics 2: ANOVASelect ANALYZE & COMPARE MEANS
& ONE-WAY ANOVA
Select ANALYZE & COMPARE MEANS & ONE-WAY ANOVA1
Select Dependent Variable & Factor & Click OK
Select Dependent Variable & Factor & Click OK
Settings Boxes
Settings Boxes
ONE-WAY ANOVA
Dialog Box
ONE-WAY ANOVA
Dialog Box
2
Jan 2010 IT Services—U of S 78
Advanced Statistics 1: Regression
Select ANALYZE & REGRESSION & LINEAR
Select ANALYZE & REGRESSION & LINEAR
1
LINEAR REGRESSION
Dialog Box
LINEAR REGRESSION
Dialog Box
Select Dependent Variable & Factor & Click OK
Select Dependent Variable & Factor & Click OK
Settings Boxes
Settings Boxes
2
Jan 2010 IT Services—U of S 79
For More Information• The SPSS Application Contains an Extensive Help System
Including Tutorials, Syntax Guide, Statistics Coach & Other Assistance
• Contact SPSS on the Internet at http://www.spss.com/
• This Course Outline & SPSS Assistance Is Available From U of S Information Technology Services Help Desk At Arts 70, Phone 966-4817
• For information on other workshops available, please see our web site at http://training.usask.ca courses & click on the Statistical Software link