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

Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSSPhi Jack
 
SPSS How to use Spss software
SPSS How to use Spss softwareSPSS How to use Spss software
SPSS How to use Spss softwareDebashis Baidya
 
Presentation on spss
Presentation on spssPresentation on spss
Presentation on spssalfiyajamalcj
 
introduction to spss
introduction to spssintroduction to spss
introduction to spssOmid Minooee
 
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
 
"A basic guide to SPSS"
"A basic guide to SPSS""A basic guide to SPSS"
"A basic guide to SPSS"Bashir7576
 
Spss by vijay ambast
Spss by vijay ambastSpss by vijay ambast
Spss by vijay ambastVijay Ambast
 
Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1Taddesse Kassahun
 
An introduction to spss
An introduction to spssAn introduction to spss
An introduction to spssShahbaz Alam
 
multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)Unexplord Solutions LLP
 
Stata Training_EEA.ppt
Stata Training_EEA.pptStata Training_EEA.ppt
Stata Training_EEA.pptselam49
 
Data analysis using spss
Data analysis using spssData analysis using spss
Data analysis using spssSyed Faisal
 

What's hot (20)

Introduction To SPSS
Introduction To SPSSIntroduction To SPSS
Introduction To SPSS
 
Introduction to spss
Introduction to spssIntroduction to spss
Introduction to spss
 
SPSS
SPSSSPSS
SPSS
 
Spss training notes
Spss training notesSpss training notes
Spss training notes
 
SPSS How to use Spss software
SPSS How to use Spss softwareSPSS How to use Spss software
SPSS How to use Spss software
 
SPSS
SPSSSPSS
SPSS
 
Presentation on spss
Presentation on spssPresentation on spss
Presentation on spss
 
introduction to spss
introduction to spssintroduction to spss
introduction to 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)
 
"A basic guide to SPSS"
"A basic guide to SPSS""A basic guide to SPSS"
"A basic guide to SPSS"
 
Spss by vijay ambast
Spss by vijay ambastSpss by vijay ambast
Spss by vijay ambast
 
Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1Data Analysis using SPSS: Part 1
Data Analysis using SPSS: Part 1
 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
 
INTRODUCTION TO STATA.pptx
INTRODUCTION TO STATA.pptxINTRODUCTION TO STATA.pptx
INTRODUCTION TO STATA.pptx
 
An introduction to spss
An introduction to spssAn introduction to spss
An introduction to spss
 
Spss
SpssSpss
Spss
 
Data management through spss
Data management through spssData management through spss
Data management through spss
 
multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)multiple linear regression in spss (procedure and output)
multiple linear regression in spss (procedure and output)
 
Stata Training_EEA.ppt
Stata Training_EEA.pptStata Training_EEA.ppt
Stata Training_EEA.ppt
 
Data analysis using spss
Data analysis using spssData analysis using spss
Data analysis using 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
 
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
 
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
 
Spss intro for engineering
Spss intro for engineeringSpss intro for engineering
Spss intro for engineeringMahendra Poudel
 
Data Coding and Data Management using SPSS
Data Coding and Data Management using SPSSData Coding and Data Management using SPSS
Data Coding and Data Management using SPSSMelba Shaya Sweety
 

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
 
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
 
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
 
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
 
Spss basics tutorial
Spss basics tutorialSpss basics tutorial
Spss basics tutorial
 
Spss intro for engineering
Spss intro for engineeringSpss intro for engineering
Spss intro for engineering
 
Data Coding and Data Management using SPSS
Data Coding and Data Management using SPSSData Coding and Data Management using SPSS
Data Coding and Data Management using SPSS
 

Recently uploaded

VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...Suhani Kapoor
 
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
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Centuryrwgiffor
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst SummitHolger Mueller
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insightsseri bangash
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...Aggregage
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesDipal Arora
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdftbatkhuu1
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsP&CO
 
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é
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMRavindra Nath Shukla
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageMatteo Carbone
 
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
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communicationskarancommunications
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxAndy Lambert
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...Any kyc Account
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 DelhiCall Girls in Delhi
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyEthan lee
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Roland Driesen
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Lviv Startup Club
 

Recently uploaded (20)

VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
VIP Call Girls Gandi Maisamma ( Hyderabad ) Phone 8250192130 | ₹5k To 25k Wit...
 
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
 
Famous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st CenturyFamous Olympic Siblings from the 21st Century
Famous Olympic Siblings from the 21st Century
 
Progress Report - Oracle Database Analyst Summit
Progress  Report - Oracle Database Analyst SummitProgress  Report - Oracle Database Analyst Summit
Progress Report - Oracle Database Analyst Summit
 
Understanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key InsightsUnderstanding the Pakistan Budgeting Process: Basics and Key Insights
Understanding the Pakistan Budgeting Process: Basics and Key Insights
 
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
The Path to Product Excellence: Avoiding Common Pitfalls and Enhancing Commun...
 
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best ServicesMysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
Mysore Call Girls 8617370543 WhatsApp Number 24x7 Best Services
 
A305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdfA305_A2_file_Batkhuu progress report.pdf
A305_A2_file_Batkhuu progress report.pdf
 
Value Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and painsValue Proposition canvas- Customer needs and pains
Value Proposition canvas- Customer needs and pains
 
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
 
Monte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSMMonte Carlo simulation : Simulation using MCSM
Monte Carlo simulation : Simulation using MCSM
 
Insurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usageInsurers' journeys to build a mastery in the IoT usage
Insurers' journeys to build a mastery in the IoT usage
 
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...
 
Pharma Works Profile of Karan Communications
Pharma Works Profile of Karan CommunicationsPharma Works Profile of Karan Communications
Pharma Works Profile of Karan Communications
 
Monthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptxMonthly Social Media Update April 2024 pptx.pptx
Monthly Social Media Update April 2024 pptx.pptx
 
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
KYC-Verified Accounts: Helping Companies Handle Challenging Regulatory Enviro...
 
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
9599632723 Top Call Girls in Delhi at your Door Step Available 24x7 Delhi
 
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case studyThe Coffee Bean & Tea Leaf(CBTL), Business strategy case study
The Coffee Bean & Tea Leaf(CBTL), Business strategy case study
 
Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...Boost the utilization of your HCL environment by reevaluating use cases and f...
Boost the utilization of your HCL environment by reevaluating use cases and f...
 
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
Yaroslav Rozhankivskyy: Три складові і три передумови максимальної продуктивн...
 

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.