SlideShare a Scribd company logo
1 of 25
SPSS 1: An Introduction to the Statistical Package
SPSS
Suzie Cro
MRC Clinical Trials Unit
Outline
• Introduction to SPSS
• Menu Interface
• Entering Data
• Output Viewer
SPSS
• “Statistical Package for the Social Sciences”
SPSS
• SPSS opens directly into an untitled Data Editor.
SPSS Menu & Toolbars
• File, Edit, View, Window, Help: Similar to most windows
applications.
File - Standard options for opening, saving, printing and exiting
Edit - Standard commands to undo, redo, cut, copy and paste
View - Options for showing/hiding toolbars, displaying values or
their labels in Data Editor
Window - Provides option for switching between different SPSS
windows
Help – Contains SPSS help system
Getting Help
• Various ways to get help through the SPSS Help system.
• Select Help|Topics. Very useful giving information about
how to carry out particular tasks.
• Select Help|Case Studies. Provides hands-on examples of
how to create various types of statistical analyses and how to
interpret the results.
• Select Help|Statistics Coach. Designed to assist in data
analysis by leading you through a series of questions about
your data and what you want to do with your data.
Toolbars Continued
• Data – Used to manipulate the data; sort, merge.. etc
• Transform - Creation of new variables.
• Analyze - Heart of SPSS. This menu provides access to the statistical
procedures for analysing your data set. All the items on the analyze
menu have sub menus.
• Graphs - Provide options to create high quality plots and charts.
• Utilities - Used to display information on individual variables.
Data View
• Two different views within the data editor in SPSS
• Data View – Used for entering, editing and modifying
data.
• Very much like an excel spreadsheet.
Variable View
• Used to define the type of information that is entered in
to each column in data view.
Variable View
• Variable View with a data set already loaded in SPSS:
Entering Data
• File | Open an existing SPSS data document (.sav)
Or
• Manually Enter Data:
1. Define Variables in Variable View
2. Enter data in Data view
Or
• Read Data in from Excel
Manually Entering Data – Defining Variables
• In Variable View first name your variable in the Name
column
• In the Type column click on the button to reveal the
Variable type dialogue box and select the appropriate
variable type.
Manually Entering Data – Defining Variables
• In the Values column Click on the button to reveal the
Values Labels dialogue box. Enter your values and
corresponding labels for the variable you are defining if
appropriate
• Define “Measure” (specific variable type e.g.
nominal/ordinal/scale)
• Directly enter the data values in Data View
Reading in Data from Excel to SPSS
• Two options:
1 – Copy data in excel and paste directly into the Data
View screen
2 –Read in an excel file (.xls)
Reading in Data from Excel to SPSS
Warning:
•SPSS is much better at handling numeric variables than
string variables (categorical data entered as text).
•Therefore, if you want to transfer data from Excel to SPSS it
is a good idea to ensure that any categorical data (e.g.
yes/no/don’t know, male/female, etc.) are entered in Excel
as numeric data (codes) rather than text.
•For example, you could always code ’No’ as 0 and ’Yes’ as 1,
and so on.
Reading in Data from Excel to SPSS
Option 1: Copy and paste data from another spreadsheet directly
into the Data Editor.
Option 2:
1 Start SPSS.
2 Select File → Open → Data
3 Change the Files of type field to Excel (*.xls)
4 Select your Excel file and click Open
5 Check that the box labelled “Read variable names from the first
row of data” is ticked and click OK (that is if the first row in excel
contains your variable names, otherwise leave un-ticked)
6 Your data should now appear in the SPSS data editor.
Reading in Data from Excel to SPSS
• After reading in the data It is a good idea to ’tell’ SPSS what the codes for
your categorical variables are. This ensures that tables and graphs are
labelled appropriately. More detailed instructions:
1 Click on the Variable View tab in the bottom left hand corner of the data
editor window.
2 Look at the row for the variable you’re dealing with and go to the Values
column. Click on the word None.
3 Click on the little grey square (with dots in it) on the right.
4 Enter the first value (code) — e.g. 0 — and the corresponding label —
e.g. No — then click on Add.
5 Repeat until you have entered all the labels & codes for this variable,
then click OK.
6 Repeat this process for the other categorical variables.
Entering Data
• Can also transfer in data from other databases
• Ideally use Stat/Transfer – commercially produced
software package for transferring data between
spreadsheet software packages including Excel, Lotus ,
Paradox, Dbase and Quattro Pro and statistical software
packages.
• Import ASCII (text) files, File | Read ASCII Data
Shape of Data
• SPSS usually requires data in wide format
• One row per observation (e.g. one row per patient)
• Columns represent the different variables
Rules for Defining Variable Names
• The name must begin with a letter.
• Maximum of 8 characters and no spaces.
• Names must be unique.
• @ # _ or $ allowed.
• A full stop can be used but not as the last character, so best avoided.
• The space character and others such as * ! ? And ‘ are not allowed.
• Names are not case sensitive so ID, id and Id are identical.
Rules for Defining Variables
• Certain SPSS keywords are no allowed as variable names
they are:
ALL TO WITH BY AND
OR NOT EQ NE LE
LT GE GT
Output Viewer
• Where results of statistical analysis performed via analyze
are displayed (will open automatically when analysis is
performed).
Saving the Data Worksheet
• Although you can click directly on the Save button in
the Data Editor window a better approach is to select
File|Save As
• Using an incremental numbering system for file names
allows you to keep the most recent files and older copies.
C:USERSHEALTH1.SAV
C:USERSHEALTH2.SAV
C:USERSHEALTH3.SAV
Saving Results
• In the output viewer window the output can also be saved
by choosing File|Save As
Finishing with SPSS
• Bring the Data Editor window to the top and choose File|
Exit.
• Remember to save your worksheet &/or results first if
required.

More Related Content

What's hot

"A basic guide to SPSS"
"A basic guide to SPSS""A basic guide to SPSS"
"A basic guide to SPSS"Bashir7576
 
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
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...Jithin Zcs
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSANAND BALAJI
 
Various statistical software's in data analysis.
Various statistical software's in data analysis.Various statistical software's in data analysis.
Various statistical software's in data analysis.SelvaMani69
 
introduction to spss
introduction to spssintroduction to spss
introduction to spssOmid Minooee
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSSpaul_gorman
 
SPSS How to use Spss software
SPSS How to use Spss softwareSPSS How to use Spss software
SPSS How to use Spss softwareDebashis Baidya
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in researchAbhijeet Birari
 
Workshop on SPSS: Basic to Intermediate Level
Workshop on SPSS: Basic to Intermediate LevelWorkshop on SPSS: Basic to Intermediate Level
Workshop on SPSS: Basic to Intermediate LevelHiram Ting
 

What's hot (20)

Spss tutorial 1
Spss tutorial 1Spss tutorial 1
Spss tutorial 1
 
Spss training notes
Spss training notesSpss training notes
Spss training notes
 
"A basic guide to SPSS"
"A basic guide to SPSS""A basic guide to SPSS"
"A basic guide 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
 
Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)Statistical Package for Social Science (SPSS)
Statistical Package for Social Science (SPSS)
 
SPSS an intro...
SPSS an intro...SPSS an intro...
SPSS an intro...
 
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
 
Spss
SpssSpss
Spss
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
 
Various statistical software's in data analysis.
Various statistical software's in data analysis.Various statistical software's in data analysis.
Various statistical software's in data analysis.
 
introduction to spss
introduction to spssintroduction to spss
introduction to spss
 
Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
Basic guide to SPSS
Basic guide to SPSSBasic guide to SPSS
Basic guide to SPSS
 
SPSS How to use Spss software
SPSS How to use Spss softwareSPSS How to use Spss software
SPSS How to use Spss software
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in research
 
Workshop on SPSS: Basic to Intermediate Level
Workshop on SPSS: Basic to Intermediate LevelWorkshop on SPSS: Basic to Intermediate Level
Workshop on SPSS: Basic to Intermediate Level
 
Spss
SpssSpss
Spss
 
Getting Familiar with SPSS Menus and Icons
Getting Familiar with SPSS Menus and IconsGetting Familiar with SPSS Menus and Icons
Getting Familiar with SPSS Menus and Icons
 
Descriptive Statistics - SPSS
Descriptive Statistics - SPSSDescriptive Statistics - SPSS
Descriptive Statistics - SPSS
 

Viewers also liked

The Importance of Being Social
The Importance of Being SocialThe Importance of Being Social
The Importance of Being SocialDesart Inc
 
A ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENS
A ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENSA ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENS
A ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENSAnasc16
 
PHP Object Injection in Joomla...questo sconosciuto!
PHP Object Injection in Joomla...questo sconosciuto!PHP Object Injection in Joomla...questo sconosciuto!
PHP Object Injection in Joomla...questo sconosciuto!_EgiX
 
Niveles de comprensión
Niveles de comprensiónNiveles de comprensión
Niveles de comprensiónldu_galo
 
Nganampa presentation march 2015
Nganampa presentation   march 2015Nganampa presentation   march 2015
Nganampa presentation march 2015Desart Inc
 
League of Legends Global Study
League of Legends Global StudyLeague of Legends Global Study
League of Legends Global StudyAndrew H. Yim
 
What Makes a Successful Podiatrist in Private Practice
What Makes a Successful Podiatrist in Private PracticeWhat Makes a Successful Podiatrist in Private Practice
What Makes a Successful Podiatrist in Private PracticeSCHOFIELD MATTHEW
 
I know what you will buy next summer
I know what you will buy next summerI know what you will buy next summer
I know what you will buy next summerStijn Geuens
 
Inventory Planning & Inventory Management
Inventory Planning & Inventory ManagementInventory Planning & Inventory Management
Inventory Planning & Inventory ManagementMatthew William
 
Dennis Bryan NEW CV
Dennis Bryan NEW CVDennis Bryan NEW CV
Dennis Bryan NEW CVDennis Bryan
 
Ist Cola light leichter als Cola? Experimente mit dem Archimedischen Prinzip
Ist Cola light leichter als Cola? Experimente mit dem Archimedischen PrinzipIst Cola light leichter als Cola? Experimente mit dem Archimedischen Prinzip
Ist Cola light leichter als Cola? Experimente mit dem Archimedischen PrinzipVincent Leuenberger
 

Viewers also liked (16)

The Importance of Being Social
The Importance of Being SocialThe Importance of Being Social
The Importance of Being Social
 
Era uma vez
Era uma vezEra uma vez
Era uma vez
 
A ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENS
A ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENSA ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENS
A ESTÉTICA BAIANA CONTEMPORÂNEA: PIERCINGS E TATUAGENS
 
Final project 390b
Final project 390bFinal project 390b
Final project 390b
 
PHP Object Injection in Joomla...questo sconosciuto!
PHP Object Injection in Joomla...questo sconosciuto!PHP Object Injection in Joomla...questo sconosciuto!
PHP Object Injection in Joomla...questo sconosciuto!
 
MY CV
MY CVMY CV
MY CV
 
Niveles de comprensión
Niveles de comprensiónNiveles de comprensión
Niveles de comprensión
 
Nganampa presentation march 2015
Nganampa presentation   march 2015Nganampa presentation   march 2015
Nganampa presentation march 2015
 
League of Legends Global Study
League of Legends Global StudyLeague of Legends Global Study
League of Legends Global Study
 
What Makes a Successful Podiatrist in Private Practice
What Makes a Successful Podiatrist in Private PracticeWhat Makes a Successful Podiatrist in Private Practice
What Makes a Successful Podiatrist in Private Practice
 
I know what you will buy next summer
I know what you will buy next summerI know what you will buy next summer
I know what you will buy next summer
 
Catalogo antorchas mig 2014 2015
Catalogo antorchas mig 2014 2015Catalogo antorchas mig 2014 2015
Catalogo antorchas mig 2014 2015
 
Ethnography
EthnographyEthnography
Ethnography
 
Inventory Planning & Inventory Management
Inventory Planning & Inventory ManagementInventory Planning & Inventory Management
Inventory Planning & Inventory Management
 
Dennis Bryan NEW CV
Dennis Bryan NEW CVDennis Bryan NEW CV
Dennis Bryan NEW CV
 
Ist Cola light leichter als Cola? Experimente mit dem Archimedischen Prinzip
Ist Cola light leichter als Cola? Experimente mit dem Archimedischen PrinzipIst Cola light leichter als Cola? Experimente mit dem Archimedischen Prinzip
Ist Cola light leichter als Cola? Experimente mit dem Archimedischen Prinzip
 

Similar to An introduction to spss

Beginners SPSS.ppt
Beginners SPSS.pptBeginners SPSS.ppt
Beginners SPSS.pptsayahuwaina
 
Introduction to Statistical package of social sciences
Introduction to Statistical package of social sciencesIntroduction to Statistical package of social sciences
Introduction to Statistical package of social sciencesprachisachdev4
 
Spss by vijay ambast
Spss by vijay ambastSpss by vijay ambast
Spss by vijay ambastVijay Ambast
 
Data processing & Analysis: SPSS an overview
Data processing & Analysis: SPSS an overviewData processing & Analysis: SPSS an overview
Data processing & Analysis: SPSS an overviewATHUL RAVI
 
1 Introduction to SPSS.pdf
1 Introduction to SPSS.pdf1 Introduction to SPSS.pdf
1 Introduction to SPSS.pdfYomif3
 
Day1, session ii&iii- spss
Day1, session ii&iii- spssDay1, session ii&iii- spss
Day1, session ii&iii- spssabir hossain
 
spss_beginners.pptx
spss_beginners.pptxspss_beginners.pptx
spss_beginners.pptxfar_927
 
Spss course session-II
Spss course session-IISpss course session-II
Spss course session-IIaltleo
 
Spss course session-II
Spss course session-IISpss course session-II
Spss course session-IIaltleo
 
4 Statistical Software.pptx
4 Statistical Software.pptx4 Statistical Software.pptx
4 Statistical Software.pptxkaleabtegegne
 
Data analysis using spss
Data analysis using spssData analysis using spss
Data analysis using spssSyed Faisal
 
Uses & applications of microsoft excel in vph research
Uses & applications of microsoft excel in vph researchUses & applications of microsoft excel in vph research
Uses & applications of microsoft excel in vph researchDr Alok Bharti
 
Lec 3 HRA SPSS
Lec 3 HRA SPSSLec 3 HRA SPSS
Lec 3 HRA SPSSpal83111
 

Similar to An introduction to spss (20)

Beginners SPSS.ppt
Beginners SPSS.pptBeginners SPSS.ppt
Beginners SPSS.ppt
 
Introduction to Statistical package of social sciences
Introduction to Statistical package of social sciencesIntroduction to Statistical package of social sciences
Introduction to Statistical package of social sciences
 
Spss by vijay ambast
Spss by vijay ambastSpss by vijay ambast
Spss by vijay ambast
 
Data processing & Analysis: SPSS an overview
Data processing & Analysis: SPSS an overviewData processing & Analysis: SPSS an overview
Data processing & Analysis: SPSS an overview
 
1 Introduction to SPSS.pdf
1 Introduction to SPSS.pdf1 Introduction to SPSS.pdf
1 Introduction to SPSS.pdf
 
Day1, session ii&iii- spss
Day1, session ii&iii- spssDay1, session ii&iii- spss
Day1, session ii&iii- spss
 
SPSS
SPSSSPSS
SPSS
 
IS100 Week 8
IS100 Week 8IS100 Week 8
IS100 Week 8
 
Spss (1)
Spss (1)Spss (1)
Spss (1)
 
SPSS software
SPSS software SPSS software
SPSS software
 
spss_beginners.pptx
spss_beginners.pptxspss_beginners.pptx
spss_beginners.pptx
 
Tutorial of SPSS
Tutorial of SPSSTutorial of SPSS
Tutorial of SPSS
 
6967176.ppt
6967176.ppt6967176.ppt
6967176.ppt
 
Spss course session-II
Spss course session-IISpss course session-II
Spss course session-II
 
Spss course session-II
Spss course session-IISpss course session-II
Spss course session-II
 
4 Statistical Software.pptx
4 Statistical Software.pptx4 Statistical Software.pptx
4 Statistical Software.pptx
 
DATA HANDLING FOR SPSS
DATA HANDLING FOR SPSSDATA HANDLING FOR SPSS
DATA HANDLING FOR SPSS
 
Data analysis using spss
Data analysis using spssData analysis using spss
Data analysis using spss
 
Uses & applications of microsoft excel in vph research
Uses & applications of microsoft excel in vph researchUses & applications of microsoft excel in vph research
Uses & applications of microsoft excel in vph research
 
Lec 3 HRA SPSS
Lec 3 HRA SPSSLec 3 HRA SPSS
Lec 3 HRA SPSS
 

Recently uploaded

A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMANIlamathiKannappan
 
Socio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptxSocio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptxtrishalcan8
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear RegressionRavindra Nath Shukla
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation SlidesKeppelCorporation
 
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdfCatalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdfOrient Homes
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024christinemoorman
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Dave Litwiller
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in managementchhavia330
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetDenis Gagné
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Tina Ji
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Neil Kimberley
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessAggregage
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Delhi Call girls
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...anilsa9823
 

Recently uploaded (20)

A DAY IN THE LIFE OF A SALESMAN / WOMAN
A DAY IN THE LIFE OF A  SALESMAN / WOMANA DAY IN THE LIFE OF A  SALESMAN / WOMAN
A DAY IN THE LIFE OF A SALESMAN / WOMAN
 
Best Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting PartnershipBest Practices for Implementing an External Recruiting Partnership
Best Practices for Implementing an External Recruiting Partnership
 
Socio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptxSocio-economic-Impact-of-business-consumers-suppliers-and.pptx
Socio-economic-Impact-of-business-consumers-suppliers-and.pptx
 
Regression analysis: Simple Linear Regression Multiple Linear Regression
Regression analysis:  Simple Linear Regression Multiple Linear RegressionRegression analysis:  Simple Linear Regression Multiple Linear Regression
Regression analysis: Simple Linear Regression Multiple Linear Regression
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
Nepali Escort Girl Kakori \ 9548273370 Indian Call Girls Service Lucknow ₹,9517
 
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
Keppel Ltd. 1Q 2024 Business Update  Presentation SlidesKeppel Ltd. 1Q 2024 Business Update  Presentation Slides
Keppel Ltd. 1Q 2024 Business Update Presentation Slides
 
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdfCatalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
Catalogue ONG NƯỚC uPVC - HDPE DE NHAT.pdf
 
The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024The CMO Survey - Highlights and Insights Report - Spring 2024
The CMO Survey - Highlights and Insights Report - Spring 2024
 
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
Enhancing and Restoring Safety & Quality Cultures - Dave Litwiller - May 2024...
 
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service PuneVIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Kirti 8617697112 Independent Escort Service Pune
 
GD Birla and his contribution in management
GD Birla and his contribution in managementGD Birla and his contribution in management
GD Birla and his contribution in management
 
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature SetCreating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
Creating Low-Code Loan Applications using the Trisotech Mortgage Feature Set
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
Russian Faridabad Call Girls(Badarpur) : ☎ 8168257667, @4999
 
Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023Mondelez State of Snacking and Future Trends 2023
Mondelez State of Snacking and Future Trends 2023
 
Sales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for SuccessSales & Marketing Alignment: How to Synergize for Success
Sales & Marketing Alignment: How to Synergize for Success
 
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
Best VIP Call Girls Noida Sector 40 Call Me: 8448380779
 
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
Lucknow 💋 Escorts in Lucknow - 450+ Call Girl Cash Payment 8923113531 Neha Th...
 
Forklift Operations: Safety through Cartoons
Forklift Operations: Safety through CartoonsForklift Operations: Safety through Cartoons
Forklift Operations: Safety through Cartoons
 

An introduction to spss

  • 1. SPSS 1: An Introduction to the Statistical Package SPSS Suzie Cro MRC Clinical Trials Unit
  • 2. Outline • Introduction to SPSS • Menu Interface • Entering Data • Output Viewer
  • 3. SPSS • “Statistical Package for the Social Sciences”
  • 4. SPSS • SPSS opens directly into an untitled Data Editor.
  • 5. SPSS Menu & Toolbars • File, Edit, View, Window, Help: Similar to most windows applications. File - Standard options for opening, saving, printing and exiting Edit - Standard commands to undo, redo, cut, copy and paste View - Options for showing/hiding toolbars, displaying values or their labels in Data Editor Window - Provides option for switching between different SPSS windows Help – Contains SPSS help system
  • 6. Getting Help • Various ways to get help through the SPSS Help system. • Select Help|Topics. Very useful giving information about how to carry out particular tasks. • Select Help|Case Studies. Provides hands-on examples of how to create various types of statistical analyses and how to interpret the results. • Select Help|Statistics Coach. Designed to assist in data analysis by leading you through a series of questions about your data and what you want to do with your data.
  • 7. Toolbars Continued • Data – Used to manipulate the data; sort, merge.. etc • Transform - Creation of new variables. • Analyze - Heart of SPSS. This menu provides access to the statistical procedures for analysing your data set. All the items on the analyze menu have sub menus. • Graphs - Provide options to create high quality plots and charts. • Utilities - Used to display information on individual variables.
  • 8. Data View • Two different views within the data editor in SPSS • Data View – Used for entering, editing and modifying data. • Very much like an excel spreadsheet.
  • 9. Variable View • Used to define the type of information that is entered in to each column in data view.
  • 10. Variable View • Variable View with a data set already loaded in SPSS:
  • 11. Entering Data • File | Open an existing SPSS data document (.sav) Or • Manually Enter Data: 1. Define Variables in Variable View 2. Enter data in Data view Or • Read Data in from Excel
  • 12. Manually Entering Data – Defining Variables • In Variable View first name your variable in the Name column • In the Type column click on the button to reveal the Variable type dialogue box and select the appropriate variable type.
  • 13. Manually Entering Data – Defining Variables • In the Values column Click on the button to reveal the Values Labels dialogue box. Enter your values and corresponding labels for the variable you are defining if appropriate • Define “Measure” (specific variable type e.g. nominal/ordinal/scale) • Directly enter the data values in Data View
  • 14. Reading in Data from Excel to SPSS • Two options: 1 – Copy data in excel and paste directly into the Data View screen 2 –Read in an excel file (.xls)
  • 15. Reading in Data from Excel to SPSS Warning: •SPSS is much better at handling numeric variables than string variables (categorical data entered as text). •Therefore, if you want to transfer data from Excel to SPSS it is a good idea to ensure that any categorical data (e.g. yes/no/don’t know, male/female, etc.) are entered in Excel as numeric data (codes) rather than text. •For example, you could always code ’No’ as 0 and ’Yes’ as 1, and so on.
  • 16. Reading in Data from Excel to SPSS Option 1: Copy and paste data from another spreadsheet directly into the Data Editor. Option 2: 1 Start SPSS. 2 Select File → Open → Data 3 Change the Files of type field to Excel (*.xls) 4 Select your Excel file and click Open 5 Check that the box labelled “Read variable names from the first row of data” is ticked and click OK (that is if the first row in excel contains your variable names, otherwise leave un-ticked) 6 Your data should now appear in the SPSS data editor.
  • 17. Reading in Data from Excel to SPSS • After reading in the data It is a good idea to ’tell’ SPSS what the codes for your categorical variables are. This ensures that tables and graphs are labelled appropriately. More detailed instructions: 1 Click on the Variable View tab in the bottom left hand corner of the data editor window. 2 Look at the row for the variable you’re dealing with and go to the Values column. Click on the word None. 3 Click on the little grey square (with dots in it) on the right. 4 Enter the first value (code) — e.g. 0 — and the corresponding label — e.g. No — then click on Add. 5 Repeat until you have entered all the labels & codes for this variable, then click OK. 6 Repeat this process for the other categorical variables.
  • 18. Entering Data • Can also transfer in data from other databases • Ideally use Stat/Transfer – commercially produced software package for transferring data between spreadsheet software packages including Excel, Lotus , Paradox, Dbase and Quattro Pro and statistical software packages. • Import ASCII (text) files, File | Read ASCII Data
  • 19. Shape of Data • SPSS usually requires data in wide format • One row per observation (e.g. one row per patient) • Columns represent the different variables
  • 20. Rules for Defining Variable Names • The name must begin with a letter. • Maximum of 8 characters and no spaces. • Names must be unique. • @ # _ or $ allowed. • A full stop can be used but not as the last character, so best avoided. • The space character and others such as * ! ? And ‘ are not allowed. • Names are not case sensitive so ID, id and Id are identical.
  • 21. Rules for Defining Variables • Certain SPSS keywords are no allowed as variable names they are: ALL TO WITH BY AND OR NOT EQ NE LE LT GE GT
  • 22. Output Viewer • Where results of statistical analysis performed via analyze are displayed (will open automatically when analysis is performed).
  • 23. Saving the Data Worksheet • Although you can click directly on the Save button in the Data Editor window a better approach is to select File|Save As • Using an incremental numbering system for file names allows you to keep the most recent files and older copies. C:USERSHEALTH1.SAV C:USERSHEALTH2.SAV C:USERSHEALTH3.SAV
  • 24. Saving Results • In the output viewer window the output can also be saved by choosing File|Save As
  • 25. Finishing with SPSS • Bring the Data Editor window to the top and choose File| Exit. • Remember to save your worksheet &/or results first if required.