SlideShare a Scribd company logo
Copyright ©2022 Version 1. All rights reserved.
1
Tech Tips – Count Occurrences within
Cases
Version 1 SPSS Team
February 2023
Externally available
Company
Classification:
Date:
Presented
By:
Copyright ©2022 Version 1. All rights reserved.
2
• Did you know that you can count occurrences within cases?
• You might have a satisfaction survey that contains a lot of questions with the same
scale.
• You can use this procedure to calculate the total number of ‘Very Satisfied’
responses respondent gave across a number of questions.
• Or, you might have a survey that contains a list of magazines where each magazine is
a variable in your data and each respondent indicates Yes or No for each magazine.
• You can use this procedure to calculate the total number of magazines each
person reads.
Tech Tips – Count Occurrences within Cases
Copyright ©2022 Version 1. All rights reserved.
3
Tech Tips – Count Occurrences within Cases
• We will use the file satisf.sav – this file is located in the installation folder of SPSS in a file called
Samples/
• The last six questions in this data file are price, numitems, org, service, quality, and overall.
These questions have the same response scale. The scale is shown below:
• 1 = Strongly Negative
• 2 = Somewhat Negative
• 3 = Neutral
• 4 = Somewhat Positive
• 5 = Strongly Positive
Copyright ©2022 Version 1. All rights reserved.
4
Tech Tips – Count Occurrences within Cases
• Let’s count the number of ‘Strongly Positive’ responses across the variables.
• To do this, go to the Transform menu and select Count values within cases.
Copyright ©2022 Version 1. All rights reserved.
5
Tech Tips – Count Occurrences within Cases
• In Target Variable box type
‘Strongly_Positive’.
• In the Target Label box type ‘Count of
Strongly Positive Responses+’.
• Select the six questions and move then to
the Numeric Variables box.
• Click on Define Values.
Copyright ©2022 Version 1. All rights reserved.
6
Tech Tips – Count Occurrences within Cases
• As we want to count occurrences of ‘Strongly Positive’ select the Value button and type
‘5’.
• Click on Add to Values to Count box.
• Other options include specifying a range of values or specifying missing values as the
value to count.
• Select Continue and OK in the main dialog box.
Copyright ©2022 Version 1. All rights reserved.
7
Tech Tips – Count Occurrences within Cases
• Now you have a new variable in your data which counts ‘Strongly Positive’.
Copyright ©2022 Version 1. All rights reserved.
8
Tech Tips – Count Occurrences within Cases
• The If cases dialog box allows you to count occurrences of values for a subset of cases
using conditional expressions
• If the result of a conditional expression is true, the case is included in the selected
subset
• If the results of a conditional expression false or missing, the case is not included in
the selected subset
Copyright ©2022 Version 1. All rights reserved.
9
SPSS Tech Tips
Contact us
SPSSAdmin@version1.com
+ 44 (0) 203 859 4790
+ 353 (0) 1 865 7800
www.spssanalyticspartner.com
For more Tech Tips, go to the Tech Tips
section within the Learning Hub.
Copyright ©2022 Version 1. All rights reserved.
10
Thank you.

More Related Content

Similar to SPSS Statistics - Count Occurances within Cases.pptx

Quantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision makingQuantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision making
Melvs Garcia
 
ABC's of Problem Solving
ABC's of Problem SolvingABC's of Problem Solving
ABC's of Problem Solving
Darren Dolcemascolo
 
Problem Solving Techniques - LEAN
Problem Solving Techniques - LEANProblem Solving Techniques - LEAN
Problem Solving Techniques - LEAN
Swamy Gelli V S Ch
 
MULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHT
MULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHTMULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHT
MULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHT
Big Data Week
 
IdeaScreen 2013
IdeaScreen 2013IdeaScreen 2013
IdeaScreen 2013
Vision Critical
 
Videocon industries limited
Videocon industries limitedVideocon industries limited
Videocon industries limited
Shashwat Shankar
 
Cause and effect diagrams
Cause and effect diagramsCause and effect diagrams
Cause and effect diagrams
Ronald Bartels
 
Blackboxtesting 02 An Example Test Series
Blackboxtesting 02 An Example Test SeriesBlackboxtesting 02 An Example Test Series
Blackboxtesting 02 An Example Test Series
nazeer pasha
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
gavhays
 
Engl317 project4 slidedoc2_stepsto_designux_test
Engl317 project4 slidedoc2_stepsto_designux_testEngl317 project4 slidedoc2_stepsto_designux_test
Engl317 project4 slidedoc2_stepsto_designux_test
Zachary Williamson
 
Reach Salesforce Service Cloud Nirvana in 5 Steps
Reach Salesforce Service Cloud Nirvana in 5 StepsReach Salesforce Service Cloud Nirvana in 5 Steps
Reach Salesforce Service Cloud Nirvana in 5 Steps
InternetCreations
 
Copyright © 2014 EMC Corporation. All Rights Reserved..docx
Copyright © 2014 EMC Corporation. All Rights Reserved..docxCopyright © 2014 EMC Corporation. All Rights Reserved..docx
Copyright © 2014 EMC Corporation. All Rights Reserved..docx
dickonsondorris
 
8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx
8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx
8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx
ransayo
 
Business analyst
Business analystBusiness analyst
Business analyst
Hemanth Kumar
 
7 steps to master problem solving
7 steps to master problem solving7 steps to master problem solving
7 steps to master problem solving
Yuri Kaminski
 
Gap assessment Continuous Testing
Gap assessment   Continuous TestingGap assessment   Continuous Testing
Gap assessment Continuous Testing
Marc Hornbeek
 
Dakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesignDakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesign
Dakiry
 
7 QC Tools training presentation
7 QC Tools training presentation7 QC Tools training presentation
7 QC Tools training presentation
PRASHANT KSHIRSAGAR
 
Presentation on IDEA auditing software CA
Presentation on IDEA auditing software CAPresentation on IDEA auditing software CA
Presentation on IDEA auditing software CA
jiyagoyal10413
 
The Risk Questionnaire - by: Adam Knight
  The Risk Questionnaire - by: Adam Knight  The Risk Questionnaire - by: Adam Knight
The Risk Questionnaire - by: Adam Knight
PractiTest
 

Similar to SPSS Statistics - Count Occurances within Cases.pptx (20)

Quantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision makingQuantitative analysis and pitfalls in decision making
Quantitative analysis and pitfalls in decision making
 
ABC's of Problem Solving
ABC's of Problem SolvingABC's of Problem Solving
ABC's of Problem Solving
 
Problem Solving Techniques - LEAN
Problem Solving Techniques - LEANProblem Solving Techniques - LEAN
Problem Solving Techniques - LEAN
 
MULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHT
MULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHTMULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHT
MULTI-TOUCH ATTRIBUTION: A MARKETING PROBLEM SOLVED? - ABIGAIL LEBRECHT
 
IdeaScreen 2013
IdeaScreen 2013IdeaScreen 2013
IdeaScreen 2013
 
Videocon industries limited
Videocon industries limitedVideocon industries limited
Videocon industries limited
 
Cause and effect diagrams
Cause and effect diagramsCause and effect diagrams
Cause and effect diagrams
 
Blackboxtesting 02 An Example Test Series
Blackboxtesting 02 An Example Test SeriesBlackboxtesting 02 An Example Test Series
Blackboxtesting 02 An Example Test Series
 
Testing Software Solutions
Testing Software SolutionsTesting Software Solutions
Testing Software Solutions
 
Engl317 project4 slidedoc2_stepsto_designux_test
Engl317 project4 slidedoc2_stepsto_designux_testEngl317 project4 slidedoc2_stepsto_designux_test
Engl317 project4 slidedoc2_stepsto_designux_test
 
Reach Salesforce Service Cloud Nirvana in 5 Steps
Reach Salesforce Service Cloud Nirvana in 5 StepsReach Salesforce Service Cloud Nirvana in 5 Steps
Reach Salesforce Service Cloud Nirvana in 5 Steps
 
Copyright © 2014 EMC Corporation. All Rights Reserved..docx
Copyright © 2014 EMC Corporation. All Rights Reserved..docxCopyright © 2014 EMC Corporation. All Rights Reserved..docx
Copyright © 2014 EMC Corporation. All Rights Reserved..docx
 
8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx
8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx
8D Problem Solving WorksheetGroup NumberGroup Member Nam.docx
 
Business analyst
Business analystBusiness analyst
Business analyst
 
7 steps to master problem solving
7 steps to master problem solving7 steps to master problem solving
7 steps to master problem solving
 
Gap assessment Continuous Testing
Gap assessment   Continuous TestingGap assessment   Continuous Testing
Gap assessment Continuous Testing
 
Dakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesignDakiry_qastandup_Olia Didyk_testdesign
Dakiry_qastandup_Olia Didyk_testdesign
 
7 QC Tools training presentation
7 QC Tools training presentation7 QC Tools training presentation
7 QC Tools training presentation
 
Presentation on IDEA auditing software CA
Presentation on IDEA auditing software CAPresentation on IDEA auditing software CA
Presentation on IDEA auditing software CA
 
The Risk Questionnaire - by: Adam Knight
  The Risk Questionnaire - by: Adam Knight  The Risk Questionnaire - by: Adam Knight
The Risk Questionnaire - by: Adam Knight
 

More from Version 1 Analytics

SPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptx
SPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptxSPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptx
SPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Tech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptx
Tech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptxTech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptx
Tech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptx
Version 1 Analytics
 
SPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptx
SPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptxSPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptx
SPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptx
Version 1 Analytics
 
SPSS Statistics - The ANY function.pptx
SPSS Statistics - The ANY function.pptxSPSS Statistics - The ANY function.pptx
SPSS Statistics - The ANY function.pptx
Version 1 Analytics
 
SPSS Statistics - Customising Toolbars.pptx
SPSS Statistics - Customising Toolbars.pptxSPSS Statistics - Customising Toolbars.pptx
SPSS Statistics - Customising Toolbars.pptx
Version 1 Analytics
 
Anonymise Data in IBM SPSS Modeler.pptx
Anonymise Data in IBM SPSS Modeler.pptxAnonymise Data in IBM SPSS Modeler.pptx
Anonymise Data in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Disabling Nodes in IBM SPSS Modeler.pptx
Disabling Nodes in IBM SPSS Modeler.pptxDisabling Nodes in IBM SPSS Modeler.pptx
Disabling Nodes in IBM SPSS Modeler.pptx
Version 1 Analytics
 
What's This in IBM SPSS Modeler.pptx
What's This in IBM SPSS Modeler.pptxWhat's This in IBM SPSS Modeler.pptx
What's This in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Stream Encryption in IBM SPSS Modeler.pptx
Stream Encryption in IBM SPSS Modeler.pptxStream Encryption in IBM SPSS Modeler.pptx
Stream Encryption in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Sorting Records in IBM SPSS Modeler.pptx
Sorting Records in IBM SPSS Modeler.pptxSorting Records in IBM SPSS Modeler.pptx
Sorting Records in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Setting System Options in IBM SPSS Modeler.pptx
Setting System Options in IBM SPSS Modeler.pptxSetting System Options in IBM SPSS Modeler.pptx
Setting System Options in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Sampling Records in IBM SPSS Modeler.pptx
Sampling Records in IBM SPSS Modeler.pptxSampling Records in IBM SPSS Modeler.pptx
Sampling Records in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Quickly Audit Data in IBM SPSS Modeler.pptx
Quickly Audit Data in IBM SPSS Modeler.pptxQuickly Audit Data in IBM SPSS Modeler.pptx
Quickly Audit Data in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Order Fields in a File in IBM SPSS Modeler.pptx
Order Fields in a File in IBM SPSS Modeler.pptxOrder Fields in a File in IBM SPSS Modeler.pptx
Order Fields in a File in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Looking for Relationships in Data in IBM SPSS Modeler.pptx
Looking for Relationships in Data in IBM SPSS Modeler.pptxLooking for Relationships in Data in IBM SPSS Modeler.pptx
Looking for Relationships in Data in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Find Duplicate Records in IBM SPSS Modeler.pptx
Find Duplicate Records in IBM SPSS Modeler.pptxFind Duplicate Records in IBM SPSS Modeler.pptx
Find Duplicate Records in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Examine Statistics in IBM SPSS Modeler.pptx
Examine Statistics in IBM SPSS Modeler.pptxExamine Statistics in IBM SPSS Modeler.pptx
Examine Statistics in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Comparing Means in IBM SPSS Modeler.pptx
Comparing Means in IBM SPSS Modeler.pptxComparing Means in IBM SPSS Modeler.pptx
Comparing Means in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Bin Data in IBM SPSS Modeler.pptx
Bin Data in IBM SPSS Modeler.pptxBin Data in IBM SPSS Modeler.pptx
Bin Data in IBM SPSS Modeler.pptx
Version 1 Analytics
 
Anonymize Data in IBM SPSS Modeler.pptx
Anonymize Data in IBM SPSS Modeler.pptxAnonymize Data in IBM SPSS Modeler.pptx
Anonymize Data in IBM SPSS Modeler.pptx
Version 1 Analytics
 

More from Version 1 Analytics (20)

SPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptx
SPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptxSPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptx
SPSS Statistics - Encrypting a Syntax File in IBM SPSS Statistics.pptx
 
Tech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptx
Tech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptxTech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptx
Tech Tips - Hiding Columns in Output in IBM SPSS Statistics.pptx
 
SPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptx
SPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptxSPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptx
SPSS Statistics - Running a Codebook in IBM SPSS Statistics.pptx
 
SPSS Statistics - The ANY function.pptx
SPSS Statistics - The ANY function.pptxSPSS Statistics - The ANY function.pptx
SPSS Statistics - The ANY function.pptx
 
SPSS Statistics - Customising Toolbars.pptx
SPSS Statistics - Customising Toolbars.pptxSPSS Statistics - Customising Toolbars.pptx
SPSS Statistics - Customising Toolbars.pptx
 
Anonymise Data in IBM SPSS Modeler.pptx
Anonymise Data in IBM SPSS Modeler.pptxAnonymise Data in IBM SPSS Modeler.pptx
Anonymise Data in IBM SPSS Modeler.pptx
 
Disabling Nodes in IBM SPSS Modeler.pptx
Disabling Nodes in IBM SPSS Modeler.pptxDisabling Nodes in IBM SPSS Modeler.pptx
Disabling Nodes in IBM SPSS Modeler.pptx
 
What's This in IBM SPSS Modeler.pptx
What's This in IBM SPSS Modeler.pptxWhat's This in IBM SPSS Modeler.pptx
What's This in IBM SPSS Modeler.pptx
 
Stream Encryption in IBM SPSS Modeler.pptx
Stream Encryption in IBM SPSS Modeler.pptxStream Encryption in IBM SPSS Modeler.pptx
Stream Encryption in IBM SPSS Modeler.pptx
 
Sorting Records in IBM SPSS Modeler.pptx
Sorting Records in IBM SPSS Modeler.pptxSorting Records in IBM SPSS Modeler.pptx
Sorting Records in IBM SPSS Modeler.pptx
 
Setting System Options in IBM SPSS Modeler.pptx
Setting System Options in IBM SPSS Modeler.pptxSetting System Options in IBM SPSS Modeler.pptx
Setting System Options in IBM SPSS Modeler.pptx
 
Sampling Records in IBM SPSS Modeler.pptx
Sampling Records in IBM SPSS Modeler.pptxSampling Records in IBM SPSS Modeler.pptx
Sampling Records in IBM SPSS Modeler.pptx
 
Quickly Audit Data in IBM SPSS Modeler.pptx
Quickly Audit Data in IBM SPSS Modeler.pptxQuickly Audit Data in IBM SPSS Modeler.pptx
Quickly Audit Data in IBM SPSS Modeler.pptx
 
Order Fields in a File in IBM SPSS Modeler.pptx
Order Fields in a File in IBM SPSS Modeler.pptxOrder Fields in a File in IBM SPSS Modeler.pptx
Order Fields in a File in IBM SPSS Modeler.pptx
 
Looking for Relationships in Data in IBM SPSS Modeler.pptx
Looking for Relationships in Data in IBM SPSS Modeler.pptxLooking for Relationships in Data in IBM SPSS Modeler.pptx
Looking for Relationships in Data in IBM SPSS Modeler.pptx
 
Find Duplicate Records in IBM SPSS Modeler.pptx
Find Duplicate Records in IBM SPSS Modeler.pptxFind Duplicate Records in IBM SPSS Modeler.pptx
Find Duplicate Records in IBM SPSS Modeler.pptx
 
Examine Statistics in IBM SPSS Modeler.pptx
Examine Statistics in IBM SPSS Modeler.pptxExamine Statistics in IBM SPSS Modeler.pptx
Examine Statistics in IBM SPSS Modeler.pptx
 
Comparing Means in IBM SPSS Modeler.pptx
Comparing Means in IBM SPSS Modeler.pptxComparing Means in IBM SPSS Modeler.pptx
Comparing Means in IBM SPSS Modeler.pptx
 
Bin Data in IBM SPSS Modeler.pptx
Bin Data in IBM SPSS Modeler.pptxBin Data in IBM SPSS Modeler.pptx
Bin Data in IBM SPSS Modeler.pptx
 
Anonymize Data in IBM SPSS Modeler.pptx
Anonymize Data in IBM SPSS Modeler.pptxAnonymize Data in IBM SPSS Modeler.pptx
Anonymize Data in IBM SPSS Modeler.pptx
 

Recently uploaded

Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
902basic
 
DSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
DSD-INT 2024 Rainfall nowcasting – now and then - UijlenhoetDSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
DSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
Deltares
 
03. Ruby Variables & Regex - Ruby Core Teaching
03. Ruby Variables & Regex - Ruby Core Teaching03. Ruby Variables & Regex - Ruby Core Teaching
03. Ruby Variables & Regex - Ruby Core Teaching
quanhoangd129
 
05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching
quanhoangd129
 
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
andrehoraa
 
08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching
quanhoangd129
 
BATber53 AWS Modernize your applications with purpose-built AWS databases
BATber53 AWS Modernize your applications with purpose-built AWS databasesBATber53 AWS Modernize your applications with purpose-built AWS databases
BATber53 AWS Modernize your applications with purpose-built AWS databases
BATbern
 
Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...
Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...
Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...
OnePlan Solutions
 
Fantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdfFantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdf
6m9p7qnjj8
 
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
norina2645
 
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdfAI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
Daniel Zivkovic
 
How to Secure Your Kubernetes Software Supply Chain at Scale
How to Secure Your Kubernetes Software Supply Chain at ScaleHow to Secure Your Kubernetes Software Supply Chain at Scale
How to Secure Your Kubernetes Software Supply Chain at Scale
Anchore
 
Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...
Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...
Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...
John Gallagher
 
02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching
quanhoangd129
 
Unlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by ConfluentUnlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by Confluent
confluent
 
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
kiara pandey
 
Amadeus Travel API, Amadeus Booking API, Amadeus GDS
Amadeus Travel API, Amadeus Booking API, Amadeus GDSAmadeus Travel API, Amadeus Booking API, Amadeus GDS
Amadeus Travel API, Amadeus Booking API, Amadeus GDS
aadhiyaeliza
 
Authentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptxAuthentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptx
DEMONDUOS
 
How To Fill Timesheet in TaskSprint: Quick Guide 2024
How To Fill Timesheet in TaskSprint: Quick Guide 2024How To Fill Timesheet in TaskSprint: Quick Guide 2024
How To Fill Timesheet in TaskSprint: Quick Guide 2024
TaskSprint | Employee Efficiency Software
 
InflectraCON 360: Risk-Based Testing for Mission Critical Systems
InflectraCON 360: Risk-Based Testing for Mission Critical SystemsInflectraCON 360: Risk-Based Testing for Mission Critical Systems
InflectraCON 360: Risk-Based Testing for Mission Critical Systems
Inflectra
 

Recently uploaded (20)

Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
Private Girls Call Navi Mumbai 🛵🚡9820252231 💃 Choose Best And Top Girl Servic...
 
DSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
DSD-INT 2024 Rainfall nowcasting – now and then - UijlenhoetDSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
DSD-INT 2024 Rainfall nowcasting – now and then - Uijlenhoet
 
03. Ruby Variables & Regex - Ruby Core Teaching
03. Ruby Variables & Regex - Ruby Core Teaching03. Ruby Variables & Regex - Ruby Core Teaching
03. Ruby Variables & Regex - Ruby Core Teaching
 
05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching05. Ruby Control Structures - Ruby Core Teaching
05. Ruby Control Structures - Ruby Core Teaching
 
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
PathSpotter: Exploring Tested Paths to Discover Missing Tests (FSE 2024)
 
08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching08. Ruby Enumerable - Ruby Core Teaching
08. Ruby Enumerable - Ruby Core Teaching
 
BATber53 AWS Modernize your applications with purpose-built AWS databases
BATber53 AWS Modernize your applications with purpose-built AWS databasesBATber53 AWS Modernize your applications with purpose-built AWS databases
BATber53 AWS Modernize your applications with purpose-built AWS databases
 
Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...
Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...
Maximizing Efficiency and Profitability: Optimizing Data Systems, Enhancing C...
 
Fantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdfFantastic Design Patterns and Where to use them No Notes.pdf
Fantastic Design Patterns and Where to use them No Notes.pdf
 
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
Celebrity Girls Call Mumbai 🛵🚡9910780858 💃 Choose Best And Top Girl Service A...
 
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdfAI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
AI - Your Startup Sidekick (Leveraging AI to Bootstrap a Lean Startup).pdf
 
How to Secure Your Kubernetes Software Supply Chain at Scale
How to Secure Your Kubernetes Software Supply Chain at ScaleHow to Secure Your Kubernetes Software Supply Chain at Scale
How to Secure Your Kubernetes Software Supply Chain at Scale
 
Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...
Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...
Fix Production Bugs Quickly - The Power of Structured Logging in Ruby on Rail...
 
02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching02. Ruby Basic slides - Ruby Core Teaching
02. Ruby Basic slides - Ruby Core Teaching
 
Unlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by ConfluentUnlocking value with event-driven architecture by Confluent
Unlocking value with event-driven architecture by Confluent
 
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
Celebrity Girls Call Mumbai 9930687706 Unlimited Short Providing Girls Servic...
 
Amadeus Travel API, Amadeus Booking API, Amadeus GDS
Amadeus Travel API, Amadeus Booking API, Amadeus GDSAmadeus Travel API, Amadeus Booking API, Amadeus GDS
Amadeus Travel API, Amadeus Booking API, Amadeus GDS
 
Authentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptxAuthentication Review-June -2024 AP & TS.pptx
Authentication Review-June -2024 AP & TS.pptx
 
How To Fill Timesheet in TaskSprint: Quick Guide 2024
How To Fill Timesheet in TaskSprint: Quick Guide 2024How To Fill Timesheet in TaskSprint: Quick Guide 2024
How To Fill Timesheet in TaskSprint: Quick Guide 2024
 
InflectraCON 360: Risk-Based Testing for Mission Critical Systems
InflectraCON 360: Risk-Based Testing for Mission Critical SystemsInflectraCON 360: Risk-Based Testing for Mission Critical Systems
InflectraCON 360: Risk-Based Testing for Mission Critical Systems
 

SPSS Statistics - Count Occurances within Cases.pptx

  • 1. Copyright ©2022 Version 1. All rights reserved. 1 Tech Tips – Count Occurrences within Cases Version 1 SPSS Team February 2023 Externally available Company Classification: Date: Presented By:
  • 2. Copyright ©2022 Version 1. All rights reserved. 2 • Did you know that you can count occurrences within cases? • You might have a satisfaction survey that contains a lot of questions with the same scale. • You can use this procedure to calculate the total number of ‘Very Satisfied’ responses respondent gave across a number of questions. • Or, you might have a survey that contains a list of magazines where each magazine is a variable in your data and each respondent indicates Yes or No for each magazine. • You can use this procedure to calculate the total number of magazines each person reads. Tech Tips – Count Occurrences within Cases
  • 3. Copyright ©2022 Version 1. All rights reserved. 3 Tech Tips – Count Occurrences within Cases • We will use the file satisf.sav – this file is located in the installation folder of SPSS in a file called Samples/ • The last six questions in this data file are price, numitems, org, service, quality, and overall. These questions have the same response scale. The scale is shown below: • 1 = Strongly Negative • 2 = Somewhat Negative • 3 = Neutral • 4 = Somewhat Positive • 5 = Strongly Positive
  • 4. Copyright ©2022 Version 1. All rights reserved. 4 Tech Tips – Count Occurrences within Cases • Let’s count the number of ‘Strongly Positive’ responses across the variables. • To do this, go to the Transform menu and select Count values within cases.
  • 5. Copyright ©2022 Version 1. All rights reserved. 5 Tech Tips – Count Occurrences within Cases • In Target Variable box type ‘Strongly_Positive’. • In the Target Label box type ‘Count of Strongly Positive Responses+’. • Select the six questions and move then to the Numeric Variables box. • Click on Define Values.
  • 6. Copyright ©2022 Version 1. All rights reserved. 6 Tech Tips – Count Occurrences within Cases • As we want to count occurrences of ‘Strongly Positive’ select the Value button and type ‘5’. • Click on Add to Values to Count box. • Other options include specifying a range of values or specifying missing values as the value to count. • Select Continue and OK in the main dialog box.
  • 7. Copyright ©2022 Version 1. All rights reserved. 7 Tech Tips – Count Occurrences within Cases • Now you have a new variable in your data which counts ‘Strongly Positive’.
  • 8. Copyright ©2022 Version 1. All rights reserved. 8 Tech Tips – Count Occurrences within Cases • The If cases dialog box allows you to count occurrences of values for a subset of cases using conditional expressions • If the result of a conditional expression is true, the case is included in the selected subset • If the results of a conditional expression false or missing, the case is not included in the selected subset
  • 9. Copyright ©2022 Version 1. All rights reserved. 9 SPSS Tech Tips Contact us SPSSAdmin@version1.com + 44 (0) 203 859 4790 + 353 (0) 1 865 7800 www.spssanalyticspartner.com For more Tech Tips, go to the Tech Tips section within the Learning Hub.
  • 10. Copyright ©2022 Version 1. All rights reserved. 10 Thank you.