SlideShare a Scribd company logo
INTRODUCTION TO
SPSS
PART 1:
INTRODUCTION | FILE MANAGEMENT | DESCRIPTIVE STATISTICS | EDITING AND MODIFYING THE DATA
Session 2: by Michael Taiwo
datalogtutors@gmail.com
+2348166414241
LESSON OVERVIEW
• At the end of this Lesson (Part 1) the students should
be able to know the following
• Descriptive statistics
• Saving an SPSS for Windows
• Backing up your data
• Retrieving your Data Files
DATALOG EDUCATIONAL CONSULT
2
FILE MANAGEMENT
Saving an SPSS for Windows
Once you have entered some data you should save the file. It
is good practice to save data at regular intervals during data
entry just in case.
• To save the data you have just entered, click the File at the
top left corner of the screen and then the Save As... sub-
option.
• Something similar to the following screen will appear: Save
DATALOG EDUCATIONAL CONSULT
3
DATALOG EDUCATIONAL CONSULT
4
Click on the up/down-arrows to move to the relevant pen drive and
enter a suitable name in the File name window.
By default SPSS will add the file extension .sav in order to help identify
the file as a SPSS data file. Finally, click on the Save button.
Save a copy of the current
SPSS for Windows 7 file
on your P: Drive or your
pen drive, under Drives:
click on drop down arrow
in the Look in window to
generate a list of the
drives.
Backing Up Your Data
• It is good practice to save data on different disks and also
several names as data entry progresses e.g. mydata1 mydata2
etc). To make a backup copy of your data repeat the Save
As procedure.
Retrieving Data Files
• Retrieving an SPSS for Windows 7 File is essentially the reverse
of the save process. Click on the File option, then the Open
sub-option followed by the Data option. Something similar to
the following screen will appear. Then retrieve the required file
from the saved location.
DATALOG EDUCATIONAL CONSULT
5
DATALOG EDUCATIONAL CONSULT
6
We can also open a data file when we as start an SPSS session (see above).
DESCRIPTIVE STATISTICS
• For the next stage you need to retrieve the data file
foundry.sav which contains the fully labelled dataset you
saved earlier to your desktop (see page 2).
• The open your data in SPSS as you would in any other
package click File, Open, Data and retrieve your data from
your workspace.
• The first step in data analysis is to generate descriptive
statistics. This will give us a feel for the data. It will also help
identify any inconsistencies that may be in the data. This is
sometimes called data cleaning. Techniques that are
commonly used to do this include:
• Frequency Analyses
• Descriptive Statistics
• Cross-tabulations
• Plots
DATALOG EDUCATIONAL CONSULT
7
FREQUENCY TABLES
• Carrying out a frequencies analysis on variables is
the first step when checking for data errors, click
on Analyze and choose the Descriptive Statistics
option and then choose Frequencies.
• Move the variables of interest into the Variables
box on the right-hand side, and then click
Statistics to select some summary statistics such
as range, maximum, minimum, mean and
median, which will help you look for errors.
DATALOG EDUCATIONAL CONSULT
8
DATALOG EDUCATIONAL CONSULT
9
The following screen will
appear.
• To select the variable to perform a frequency table for example
the Exposure group variable, click on its name in the left hand
list and then press .
• Finally click on OK and the following output is then generated in
the output window.
DATALOG EDUCATIONAL CONSULT
10
• To return to the data editor click on Window and take the
data editor option from the list. With the frequency table you
can have a list of summary statistics as well.
• Click Analyze, Descriptive Statistics, and Frequencies.
Press reset and then bring the variable (say, ht) to the
Variable(s) window, click on Statistics option and select
summary statistics. Click Continue and OK button.
• Once the OK button is pressed the results are automatically
produced in an Output window, if the screen does not
appear then the Output window may already exist but is
located in the background.
• All results including the can be copied into word processing
documents by clicking on the table and performing a
standard copy and paste procedure.
DATALOG EDUCATIONAL CONSULT
11
DATALOG EDUCATIONAL CONSULT
12
Output from Frequencies with some
summary statistics
Exercise Using the frequencies options find out
• what proportion of the foundry workers were exposed to
dust?
• what proportions had ever suffered from bronchitis?
• what proportion had ever smoked?
• what proportion smoked more than 40 cigarettes per day?
Video Tutorial – Frequency Tables & Descriptive Statistics
DATALOG EDUCATIONAL CONSULT
13
Descriptives
• The descriptives command in SPSS is useful for summarizing
quantitative data. To use this click on the Analyse tile choose the
Descriptive Statistics option and then choose descriptives.
• Move the variables of interest into the Variables box on the right-
hand side. As with the frequencies command we can obtain
descriptive statistics for several variables at once. In the panel
below we have chosen some of the quantitative variables in the
foundry data set.
DATALOG EDUCATIONAL CONSULT
14
Exercise:
Use the descriptive procedure to determine
• the current mean exposure to dust per day
• the mean number of cigarettes smoked per day
• For mean number of cigarettes per day you may get a
negative answer. Check the missing value codes and
redo.
DATALOG EDUCATIONAL CONSULT
15
Cross-tabulation
• To examine the relationship between two categorical
variables, a two way Frequency Table can be used. This is
called a cross-tabulation. Click on Analyze then Descriptive
Statistics and thenCrosstabs.
• The screen below appears. Suppose we wished to examine
how smoking status related to exposure. We could examine
this by a cross-tabulation of the variables group and
smkever.
• Select the smoking status variable smkever labelled Have
you ever smoked in the source list then click by the Row(s)
box to make this the row variable Select group labelled
Exposure Group in the source list and click by the
Column's box to select the column variable. Finally press OK
DATALOG EDUCATIONAL CONSULT
16
DATALOG EDUCATIONAL CONSULT
17
The following result appears when the two frequency
table has been completed.
Cross Tabulation Window
• Two way frequency tables are
more informative if they
include percentages. To add
percentages to the table select
Cells from the Crosstabs
screen. On pressing Cells, the
following screen appears.
• Column, row, or total
percentages can be selected
by clicking the appropriate
box. Whilst it is tempting to
click all three this will make the
output confusing.
• For the table above column
percentages are the most
useful as they will allow us to
compare the smoking status of
non-exposed and exposed
subjects. By clicking column we
get the resulting table.
DATALOG EDUCATIONAL CONSULT
18
Cross tabulation with percentages
Video Tutorial – Two-way crosstabulation with
percentages
Simple Cross tabulation –
Adding percentages -
DATALOG EDUCATIONAL CONSULT
19
Three-way tables
You may need to do comparisons on
three variables. To do this, choose
Analyze then Descriptive
Statistics and then Crosstabs.
Then the following screen appears.
To create a three dimensional
table instead of a two dimensional
table, click on a variable and move
using to layer 1 of 1 box.
If we add the variable
sex we will now get
separate tables for men
and women giving the
following
output.
DATALOG EDUCATIONAL CONSULT
20

More Related Content

What's hot

introduction to spss
introduction to spssintroduction to spss
introduction to spss
Omid Minooee
 
Uses of SPSS and Excel to analyze data
Uses of SPSS and Excel   to analyze dataUses of SPSS and Excel   to analyze data
Uses of SPSS and Excel to analyze data
Kudrat-E- Khoda(Prince)
 
Application of spss usha (1)
Application of spss usha (1)Application of spss usha (1)
Application of spss usha (1)
Rajat Kumar Pandeya
 
Spss
SpssSpss
Spss
Tech_MX
 
Presentation on spss
Presentation on spssPresentation on spss
Presentation on spss
alfiyajamalcj
 
Spss
SpssSpss
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)
sspink
 
Introduction to spss: define variables
Introduction to spss: define variablesIntroduction to spss: define variables
Introduction to spss: define variables
Azmi Mohd Tamil
 
An Introduction to SPSS
An Introduction to SPSSAn Introduction to SPSS
An Introduction to SPSS
Rajesh Gunesh
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
Mbabazi Theos
 
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
Dr. Ankita Chaturvedi
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
ANAND BALAJI
 
Tutorial of SPSS
Tutorial of SPSSTutorial of SPSS
Tutorial of SPSS
nidashahzad3
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
University of Education
 
Spss an introduction
Spss  an introductionSpss  an introduction
Spss an introduction
Suresh Thengumpallil
 
Introduction To Spss - Opening Data File and Descriptive Analysis
Introduction To Spss - Opening Data File and Descriptive AnalysisIntroduction To Spss - Opening Data File and Descriptive Analysis
Introduction To Spss - Opening Data File and Descriptive Analysis
Dr Ali Yusob Md Zain
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
Phi Jack
 
SPSS
SPSSSPSS
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
rkalidasan
 
Data entry in Excel and SPSS
Data entry in Excel and SPSS Data entry in Excel and SPSS
Data entry in Excel and SPSS
Dhritiman Chakrabarti
 

What's hot (20)

introduction to spss
introduction to spssintroduction to spss
introduction to spss
 
Uses of SPSS and Excel to analyze data
Uses of SPSS and Excel   to analyze dataUses of SPSS and Excel   to analyze data
Uses of SPSS and Excel to analyze data
 
Application of spss usha (1)
Application of spss usha (1)Application of spss usha (1)
Application of spss usha (1)
 
Spss
SpssSpss
Spss
 
Presentation on spss
Presentation on spssPresentation on spss
Presentation on spss
 
Spss
SpssSpss
Spss
 
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)
 
Introduction to spss: define variables
Introduction to spss: define variablesIntroduction to spss: define variables
Introduction to spss: define variables
 
An Introduction to SPSS
An Introduction to SPSSAn Introduction to SPSS
An Introduction to SPSS
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
 
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
 
Tutorial of SPSS
Tutorial of SPSSTutorial of SPSS
Tutorial of SPSS
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
 
Spss an introduction
Spss  an introductionSpss  an introduction
Spss an introduction
 
Introduction To Spss - Opening Data File and Descriptive Analysis
Introduction To Spss - Opening Data File and Descriptive AnalysisIntroduction To Spss - Opening Data File and Descriptive Analysis
Introduction To Spss - Opening Data File and Descriptive Analysis
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
SPSS
SPSSSPSS
SPSS
 
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
 
Data entry in Excel and SPSS
Data entry in Excel and SPSS Data entry in Excel and SPSS
Data entry in Excel and SPSS
 

Similar to Introduction to spss 2

SPSS :Introduction for beginners
SPSS :Introduction for beginners SPSS :Introduction for beginners
SPSS :Introduction for beginners
PRAKASAM C P
 
Spss (1)
Spss (1)Spss (1)
Spss (1)
Shahadat Hossen
 
(Manual spss)
(Manual spss)(Manual spss)
(Manual spss)
Enas Ahmed
 
Spss chapter1
Spss chapter1Spss chapter1
Spss chapter1
Kritika Jain
 
Week 4 Project - STAT 3001Student Name Type your name here.docx
Week 4 Project - STAT 3001Student Name Type your name here.docxWeek 4 Project - STAT 3001Student Name Type your name here.docx
Week 4 Project - STAT 3001Student Name Type your name here.docx
melbruce90096
 
Pas wv18 spssv18-slides
Pas wv18 spssv18-slidesPas wv18 spssv18-slides
Pas wv18 spssv18-slides
bik erbrom
 
Data management through spss
Data management through spssData management through spss
Data management through spss
APPOLINAIRE BIZIMANA
 
High score plus guide (3)
High score plus guide (3)High score plus guide (3)
High score plus guide (3)
SUTAPA DEB
 
Data analysis using spss
Data analysis using spssData analysis using spss
Data analysis using spss
Syed Faisal
 
Spss notes
Spss notesSpss notes
Spss notes
sitifatimahcheosmi
 
Topic 4 intro spss_stata 30032012 sy_srini
Topic 4 intro spss_stata 30032012 sy_sriniTopic 4 intro spss_stata 30032012 sy_srini
Topic 4 intro spss_stata 30032012 sy_srini
SM Lalon
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
ThankGod Damion Okpe
 
社會網絡分析UCINET Quick Start Guide
社會網絡分析UCINET Quick Start Guide社會網絡分析UCINET Quick Start Guide
社會網絡分析UCINET Quick Start Guide
Cheer Chain Enterprise Co., Ltd.
 
Windows 7-getting-started
Windows 7-getting-startedWindows 7-getting-started
Windows 7-getting-started
jaimehero
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docx
cockekeshia
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-Excel
P. SUNDARI ARUN
 
Step-by-Step - Windows 7
Step-by-Step - Windows 7Step-by-Step - Windows 7
Step-by-Step - Windows 7
Microsoft TeachTec
 
Spss basics tutorial
Spss basics tutorialSpss basics tutorial
Spss basics tutorial
santoshranjan77
 
7qctoolstraining-1811251dwadwd21928.pptx
7qctoolstraining-1811251dwadwd21928.pptx7qctoolstraining-1811251dwadwd21928.pptx
7qctoolstraining-1811251dwadwd21928.pptx
JaspherOcampo1
 
Minitab Seminar1.pptx
Minitab Seminar1.pptxMinitab Seminar1.pptx
Minitab Seminar1.pptx
DrMohammedFKadhim
 

Similar to Introduction to spss 2 (20)

SPSS :Introduction for beginners
SPSS :Introduction for beginners SPSS :Introduction for beginners
SPSS :Introduction for beginners
 
Spss (1)
Spss (1)Spss (1)
Spss (1)
 
(Manual spss)
(Manual spss)(Manual spss)
(Manual spss)
 
Spss chapter1
Spss chapter1Spss chapter1
Spss chapter1
 
Week 4 Project - STAT 3001Student Name Type your name here.docx
Week 4 Project - STAT 3001Student Name Type your name here.docxWeek 4 Project - STAT 3001Student Name Type your name here.docx
Week 4 Project - STAT 3001Student Name Type your name here.docx
 
Pas wv18 spssv18-slides
Pas wv18 spssv18-slidesPas wv18 spssv18-slides
Pas wv18 spssv18-slides
 
Data management through spss
Data management through spssData management through spss
Data management through spss
 
High score plus guide (3)
High score plus guide (3)High score plus guide (3)
High score plus guide (3)
 
Data analysis using spss
Data analysis using spssData analysis using spss
Data analysis using spss
 
Spss notes
Spss notesSpss notes
Spss notes
 
Topic 4 intro spss_stata 30032012 sy_srini
Topic 4 intro spss_stata 30032012 sy_sriniTopic 4 intro spss_stata 30032012 sy_srini
Topic 4 intro spss_stata 30032012 sy_srini
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
社會網絡分析UCINET Quick Start Guide
社會網絡分析UCINET Quick Start Guide社會網絡分析UCINET Quick Start Guide
社會網絡分析UCINET Quick Start Guide
 
Windows 7-getting-started
Windows 7-getting-startedWindows 7-getting-started
Windows 7-getting-started
 
Week 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docxWeek 2 Project - STAT 3001Student Name Type your name here.docx
Week 2 Project - STAT 3001Student Name Type your name here.docx
 
Advanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-ExcelAdvanced Filter Concepts in MS-Excel
Advanced Filter Concepts in MS-Excel
 
Step-by-Step - Windows 7
Step-by-Step - Windows 7Step-by-Step - Windows 7
Step-by-Step - Windows 7
 
Spss basics tutorial
Spss basics tutorialSpss basics tutorial
Spss basics tutorial
 
7qctoolstraining-1811251dwadwd21928.pptx
7qctoolstraining-1811251dwadwd21928.pptx7qctoolstraining-1811251dwadwd21928.pptx
7qctoolstraining-1811251dwadwd21928.pptx
 
Minitab Seminar1.pptx
Minitab Seminar1.pptxMinitab Seminar1.pptx
Minitab Seminar1.pptx
 

More from Michael Taiwo

Final diary products_as_carriers_of_probiotics_and_prebiotics[1]
Final diary products_as_carriers_of_probiotics_and_prebiotics[1]Final diary products_as_carriers_of_probiotics_and_prebiotics[1]
Final diary products_as_carriers_of_probiotics_and_prebiotics[1]
Michael Taiwo
 
My proposal power point
My proposal power pointMy proposal power point
My proposal power point
Michael Taiwo
 
Kifayah's proposal
Kifayah's proposal Kifayah's proposal
Kifayah's proposal
Michael Taiwo
 
Josiah's powerpoint
Josiah's powerpointJosiah's powerpoint
Josiah's powerpoint
Michael Taiwo
 
Abraham power point
Abraham power pointAbraham power point
Abraham power point
Michael Taiwo
 
Session 2 (soft skills)
Session 2 (soft skills)Session 2 (soft skills)
Session 2 (soft skills)
Michael Taiwo
 
Session 1(soft skills)
Session 1(soft skills)Session 1(soft skills)
Session 1(soft skills)
Michael Taiwo
 
Clinical enzymology
Clinical enzymologyClinical enzymology
Clinical enzymology
Michael Taiwo
 
Effects
EffectsEffects
Effects
Michael Taiwo
 
TRAIT THEORY
TRAIT THEORYTRAIT THEORY
TRAIT THEORY
Michael Taiwo
 
C dna
C dnaC dna
Banisteriopis cappi
Banisteriopis cappiBanisteriopis cappi
Banisteriopis cappi
Michael Taiwo
 
Social network
Social networkSocial network
Social network
Michael Taiwo
 
Maths method ii presentation
Maths method ii presentationMaths method ii presentation
Maths method ii presentation
Michael Taiwo
 

More from Michael Taiwo (14)

Final diary products_as_carriers_of_probiotics_and_prebiotics[1]
Final diary products_as_carriers_of_probiotics_and_prebiotics[1]Final diary products_as_carriers_of_probiotics_and_prebiotics[1]
Final diary products_as_carriers_of_probiotics_and_prebiotics[1]
 
My proposal power point
My proposal power pointMy proposal power point
My proposal power point
 
Kifayah's proposal
Kifayah's proposal Kifayah's proposal
Kifayah's proposal
 
Josiah's powerpoint
Josiah's powerpointJosiah's powerpoint
Josiah's powerpoint
 
Abraham power point
Abraham power pointAbraham power point
Abraham power point
 
Session 2 (soft skills)
Session 2 (soft skills)Session 2 (soft skills)
Session 2 (soft skills)
 
Session 1(soft skills)
Session 1(soft skills)Session 1(soft skills)
Session 1(soft skills)
 
Clinical enzymology
Clinical enzymologyClinical enzymology
Clinical enzymology
 
Effects
EffectsEffects
Effects
 
TRAIT THEORY
TRAIT THEORYTRAIT THEORY
TRAIT THEORY
 
C dna
C dnaC dna
C dna
 
Banisteriopis cappi
Banisteriopis cappiBanisteriopis cappi
Banisteriopis cappi
 
Social network
Social networkSocial network
Social network
 
Maths method ii presentation
Maths method ii presentationMaths method ii presentation
Maths method ii presentation
 

Recently uploaded

如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
gapen1
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
Remote DBA Services
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
Peter Muessig
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
ICS
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
Grant Fritchey
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
dakas1
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
YousufSait3
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
safelyiotech
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
ISH Technologies
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
dakas1
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
TaghreedAltamimi
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
Marcin Chrost
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
NishanthaBulumulla1
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
Hornet Dynamics
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Julian Hyde
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 

Recently uploaded (20)

如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
如何办理(hull学位证书)英国赫尔大学毕业证硕士文凭原版一模一样
 
Oracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptxOracle 23c New Features For DBAs and Developers.pptx
Oracle 23c New Features For DBAs and Developers.pptx
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling ExtensionsUI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
UI5con 2024 - Boost Your Development Experience with UI5 Tooling Extensions
 
Webinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for EmbeddedWebinar On-Demand: Using Flutter for Embedded
Webinar On-Demand: Using Flutter for Embedded
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
Using Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query PerformanceUsing Query Store in Azure PostgreSQL to Understand Query Performance
Using Query Store in Azure PostgreSQL to Understand Query Performance
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理一比一原版(USF毕业证)旧金山大学毕业证如何办理
一比一原版(USF毕业证)旧金山大学毕业证如何办理
 
zOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL DifferenceszOS Mainframe JES2-JES3 JCL-JECL Differences
zOS Mainframe JES2-JES3 JCL-JECL Differences
 
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
Safelyio Toolbox Talk Softwate & App (How To Digitize Safety Meetings)
 
Preparing Non - Technical Founders for Engaging a Tech Agency
Preparing Non - Technical Founders for Engaging  a  Tech AgencyPreparing Non - Technical Founders for Engaging  a  Tech Agency
Preparing Non - Technical Founders for Engaging a Tech Agency
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
一比一原版(UMN毕业证)明尼苏达大学毕业证如何办理
 
Lecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptxLecture 2 - software testing SE 412.pptx
Lecture 2 - software testing SE 412.pptx
 
Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !Enums On Steroids - let's look at sealed classes !
Enums On Steroids - let's look at sealed classes !
 
YAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring detailsYAML crash COURSE how to write yaml file for adding configuring details
YAML crash COURSE how to write yaml file for adding configuring details
 
E-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet DynamicsE-commerce Development Services- Hornet Dynamics
E-commerce Development Services- Hornet Dynamics
 
Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)Measures in SQL (SIGMOD 2024, Santiago, Chile)
Measures in SQL (SIGMOD 2024, Santiago, Chile)
 
UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 

Introduction to spss 2

  • 1. INTRODUCTION TO SPSS PART 1: INTRODUCTION | FILE MANAGEMENT | DESCRIPTIVE STATISTICS | EDITING AND MODIFYING THE DATA Session 2: by Michael Taiwo datalogtutors@gmail.com +2348166414241
  • 2. LESSON OVERVIEW • At the end of this Lesson (Part 1) the students should be able to know the following • Descriptive statistics • Saving an SPSS for Windows • Backing up your data • Retrieving your Data Files DATALOG EDUCATIONAL CONSULT 2
  • 3. FILE MANAGEMENT Saving an SPSS for Windows Once you have entered some data you should save the file. It is good practice to save data at regular intervals during data entry just in case. • To save the data you have just entered, click the File at the top left corner of the screen and then the Save As... sub- option. • Something similar to the following screen will appear: Save DATALOG EDUCATIONAL CONSULT 3
  • 4. DATALOG EDUCATIONAL CONSULT 4 Click on the up/down-arrows to move to the relevant pen drive and enter a suitable name in the File name window. By default SPSS will add the file extension .sav in order to help identify the file as a SPSS data file. Finally, click on the Save button. Save a copy of the current SPSS for Windows 7 file on your P: Drive or your pen drive, under Drives: click on drop down arrow in the Look in window to generate a list of the drives.
  • 5. Backing Up Your Data • It is good practice to save data on different disks and also several names as data entry progresses e.g. mydata1 mydata2 etc). To make a backup copy of your data repeat the Save As procedure. Retrieving Data Files • Retrieving an SPSS for Windows 7 File is essentially the reverse of the save process. Click on the File option, then the Open sub-option followed by the Data option. Something similar to the following screen will appear. Then retrieve the required file from the saved location. DATALOG EDUCATIONAL CONSULT 5
  • 6. DATALOG EDUCATIONAL CONSULT 6 We can also open a data file when we as start an SPSS session (see above).
  • 7. DESCRIPTIVE STATISTICS • For the next stage you need to retrieve the data file foundry.sav which contains the fully labelled dataset you saved earlier to your desktop (see page 2). • The open your data in SPSS as you would in any other package click File, Open, Data and retrieve your data from your workspace. • The first step in data analysis is to generate descriptive statistics. This will give us a feel for the data. It will also help identify any inconsistencies that may be in the data. This is sometimes called data cleaning. Techniques that are commonly used to do this include: • Frequency Analyses • Descriptive Statistics • Cross-tabulations • Plots DATALOG EDUCATIONAL CONSULT 7
  • 8. FREQUENCY TABLES • Carrying out a frequencies analysis on variables is the first step when checking for data errors, click on Analyze and choose the Descriptive Statistics option and then choose Frequencies. • Move the variables of interest into the Variables box on the right-hand side, and then click Statistics to select some summary statistics such as range, maximum, minimum, mean and median, which will help you look for errors. DATALOG EDUCATIONAL CONSULT 8
  • 9. DATALOG EDUCATIONAL CONSULT 9 The following screen will appear.
  • 10. • To select the variable to perform a frequency table for example the Exposure group variable, click on its name in the left hand list and then press . • Finally click on OK and the following output is then generated in the output window. DATALOG EDUCATIONAL CONSULT 10
  • 11. • To return to the data editor click on Window and take the data editor option from the list. With the frequency table you can have a list of summary statistics as well. • Click Analyze, Descriptive Statistics, and Frequencies. Press reset and then bring the variable (say, ht) to the Variable(s) window, click on Statistics option and select summary statistics. Click Continue and OK button. • Once the OK button is pressed the results are automatically produced in an Output window, if the screen does not appear then the Output window may already exist but is located in the background. • All results including the can be copied into word processing documents by clicking on the table and performing a standard copy and paste procedure. DATALOG EDUCATIONAL CONSULT 11
  • 12. DATALOG EDUCATIONAL CONSULT 12 Output from Frequencies with some summary statistics
  • 13. Exercise Using the frequencies options find out • what proportion of the foundry workers were exposed to dust? • what proportions had ever suffered from bronchitis? • what proportion had ever smoked? • what proportion smoked more than 40 cigarettes per day? Video Tutorial – Frequency Tables & Descriptive Statistics DATALOG EDUCATIONAL CONSULT 13
  • 14. Descriptives • The descriptives command in SPSS is useful for summarizing quantitative data. To use this click on the Analyse tile choose the Descriptive Statistics option and then choose descriptives. • Move the variables of interest into the Variables box on the right- hand side. As with the frequencies command we can obtain descriptive statistics for several variables at once. In the panel below we have chosen some of the quantitative variables in the foundry data set. DATALOG EDUCATIONAL CONSULT 14
  • 15. Exercise: Use the descriptive procedure to determine • the current mean exposure to dust per day • the mean number of cigarettes smoked per day • For mean number of cigarettes per day you may get a negative answer. Check the missing value codes and redo. DATALOG EDUCATIONAL CONSULT 15
  • 16. Cross-tabulation • To examine the relationship between two categorical variables, a two way Frequency Table can be used. This is called a cross-tabulation. Click on Analyze then Descriptive Statistics and thenCrosstabs. • The screen below appears. Suppose we wished to examine how smoking status related to exposure. We could examine this by a cross-tabulation of the variables group and smkever. • Select the smoking status variable smkever labelled Have you ever smoked in the source list then click by the Row(s) box to make this the row variable Select group labelled Exposure Group in the source list and click by the Column's box to select the column variable. Finally press OK DATALOG EDUCATIONAL CONSULT 16
  • 17. DATALOG EDUCATIONAL CONSULT 17 The following result appears when the two frequency table has been completed. Cross Tabulation Window
  • 18. • Two way frequency tables are more informative if they include percentages. To add percentages to the table select Cells from the Crosstabs screen. On pressing Cells, the following screen appears. • Column, row, or total percentages can be selected by clicking the appropriate box. Whilst it is tempting to click all three this will make the output confusing. • For the table above column percentages are the most useful as they will allow us to compare the smoking status of non-exposed and exposed subjects. By clicking column we get the resulting table. DATALOG EDUCATIONAL CONSULT 18 Cross tabulation with percentages Video Tutorial – Two-way crosstabulation with percentages Simple Cross tabulation – Adding percentages -
  • 19. DATALOG EDUCATIONAL CONSULT 19 Three-way tables You may need to do comparisons on three variables. To do this, choose Analyze then Descriptive Statistics and then Crosstabs. Then the following screen appears. To create a three dimensional table instead of a two dimensional table, click on a variable and move using to layer 1 of 1 box. If we add the variable sex we will now get separate tables for men and women giving the following output.