SlideShare a Scribd company logo
Copyright Ā©2022 Version 1. All rights reserved.
1
Tech Tips ā€“ The ANY Function
Version 1 SPSS Team
February 2023
Externally available
Company
Classification:
Date:
Presented
By:
Copyright Ā©2022 Version 1. All rights reserved.
2
ā€¢ The any function is a very useful logical function:
ā€¢ ANY(test, value1, value2, ā€¦)
ā€¢ Returns a value of 1 if the test is true and 0 otherwise.
ā€¢ E.g. ANY(var1, 1, 3, 5)
ā€¢ Will return a value of 1 if var1 has a value of 1, 3 or 5. Otherwise it will return a
value of 0.
ā€¢ Use ANY instead of using a series of or statements
ā€¢ ANY(Var1, 1, 3, 5) = (var1 = 1 or var1 = 3 or var1=5)
Tech Tips ā€“ The ANY Function
Copyright Ā©2022 Version 1. All rights reserved.
3
Tech Tips ā€“ The ANY Function
ā€¢ The ANY function can also be used to scan a list of variables of expressions for a
value.
ā€¢ For example, ANY (1, var1, var2, var3) returns a value of 1 if any of the specified
variables have a value of 1, otherwise it will return a value of 0.
ā€¢ We will use a sample data file called cable_survey.sav.
ā€¢ The file is located in the installation directory for SPSS, in a folder called ā€˜Samplesā€™.
ā€¢ We will use the ANY function in the select cases procedure to create a new dataset
with categories of 1, 3, and 4 of the variable hometype.
Copyright Ā©2022 Version 1. All rights reserved.
4
Tech Tips ā€“ The ANY Function
ā€¢ Go to the Data menu and chose
Select Cases
ā€¢ Select the If condition is satisfied
button
Copyright Ā©2022 Version 1. All rights reserved.
5
Tech Tips ā€“ The ANY Function
ā€¢ Select All functions
ā€¢ Select ANY and move this into the main box
ā€¢ Create the expression ANY(hometype,1,3,4)
ā€¢ Click Continue and select to move cases to another dataset.
Copyright Ā©2022 Version 1. All rights reserved.
6
Tech Tips ā€“ The ANY Function
ā€¢ Now you can check the results in your new data file.
Copyright Ā©2022 Version 1. All rights reserved.
7
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.
8
Thank you.

More Related Content

What's hot

Writing up your results ā€“ apa style guidelines
Writing up your results ā€“ apa style guidelinesWriting up your results ā€“ apa style guidelines
Writing up your results ā€“ apa style guidelinesMarialena Kostouli
Ā 
201704 srwsē¬¬äø€å›žpreliminarysearching äø€čˆ¬å…¬é–‹
201704 srwsē¬¬äø€å›žpreliminarysearching  äø€čˆ¬å…¬é–‹201704 srwsē¬¬äø€å›žpreliminarysearching  äø€čˆ¬å…¬é–‹
201704 srwsē¬¬äø€å›žpreliminarysearching äø€čˆ¬å…¬é–‹
SR WS
Ā 
simple discriminant
simple discriminantsimple discriminant
simple discriminant
neha singh
Ā 
仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219
仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219
仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219
Beckett Hsieh
Ā 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
Mbabazi Theos
Ā 
Anova ancova manova_mancova
Anova  ancova manova_mancovaAnova  ancova manova_mancova
Anova ancova manova_mancovaCarlo Magno
Ā 
3 measures of central dendency
3  measures of central dendency3  measures of central dendency
3 measures of central dendency
Dr. Nazar Jaf
Ā 
SPSS introduction Presentation
SPSS introduction Presentation SPSS introduction Presentation
SPSS introduction Presentation
befikra
Ā 
Lesson03_new
Lesson03_newLesson03_new
Lesson03_newshengvn
Ā 
SPSS
SPSSSPSS
SPSS
Kiran Suwal
Ā 
NNTs, responder analysis & overlap measures
NNTs, responder analysis & overlap measuresNNTs, responder analysis & overlap measures
NNTs, responder analysis & overlap measures
Stephen Senn
Ā 
Basics of Educational Statistics (Descriptive statistics)
Basics of Educational Statistics (Descriptive statistics)Basics of Educational Statistics (Descriptive statistics)
Basics of Educational Statistics (Descriptive statistics)
HennaAnsari
Ā 
20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹
20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹
20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹
SR WS
Ā 
An introduction to spss
An introduction to spssAn introduction to spss
An introduction to spss
zeeshanwrch
Ā 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
Neny Isharyanti
Ā 
Exploratory data analysis in R - Data Science Club
Exploratory data analysis in R - Data Science ClubExploratory data analysis in R - Data Science Club
Exploratory data analysis in R - Data Science Club
Martin Bago
Ā 
Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptx
Parag Shah
Ā 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
Sr Edith Bogue
Ā 
Big data and data mining
Big data and data miningBig data and data mining
Big data and data mining
Polash Halder
Ā 
Reporting pearson correlation in apa
Reporting pearson correlation in apa Reporting pearson correlation in apa
Reporting pearson correlation in apa
Amit Sharma
Ā 

What's hot (20)

Writing up your results ā€“ apa style guidelines
Writing up your results ā€“ apa style guidelinesWriting up your results ā€“ apa style guidelines
Writing up your results ā€“ apa style guidelines
Ā 
201704 srwsē¬¬äø€å›žpreliminarysearching äø€čˆ¬å…¬é–‹
201704 srwsē¬¬äø€å›žpreliminarysearching  äø€čˆ¬å…¬é–‹201704 srwsē¬¬äø€å›žpreliminarysearching  äø€čˆ¬å…¬é–‹
201704 srwsē¬¬äø€å›žpreliminarysearching äø€čˆ¬å…¬é–‹
Ā 
simple discriminant
simple discriminantsimple discriminant
simple discriminant
Ā 
仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219
仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219
仄ē”¢å‡ŗē‚ŗ導向-SPSS,SEM,PLS-åœØå­ø蔓論ꖇēš„ꇉē”Ø-äø‰ę˜Ÿēµ±čØˆč¬ē« å‡-20131219
Ā 
Spss beginners
Spss beginnersSpss beginners
Spss beginners
Ā 
Anova ancova manova_mancova
Anova  ancova manova_mancovaAnova  ancova manova_mancova
Anova ancova manova_mancova
Ā 
3 measures of central dendency
3  measures of central dendency3  measures of central dendency
3 measures of central dendency
Ā 
SPSS introduction Presentation
SPSS introduction Presentation SPSS introduction Presentation
SPSS introduction Presentation
Ā 
Lesson03_new
Lesson03_newLesson03_new
Lesson03_new
Ā 
SPSS
SPSSSPSS
SPSS
Ā 
NNTs, responder analysis & overlap measures
NNTs, responder analysis & overlap measuresNNTs, responder analysis & overlap measures
NNTs, responder analysis & overlap measures
Ā 
Basics of Educational Statistics (Descriptive statistics)
Basics of Educational Statistics (Descriptive statistics)Basics of Educational Statistics (Descriptive statistics)
Basics of Educational Statistics (Descriptive statistics)
Ā 
20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹
20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹
20170112 srwsē¬¬å…­å›žćƒ”ć‚æćƒ»ć‚¢ćƒŠćƒŖć‚·ć‚¹
Ā 
An introduction to spss
An introduction to spssAn introduction to spss
An introduction to spss
Ā 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
Ā 
Exploratory data analysis in R - Data Science Club
Exploratory data analysis in R - Data Science ClubExploratory data analysis in R - Data Science Club
Exploratory data analysis in R - Data Science Club
Ā 
Basic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptxBasic Statistics in 1 hour.pptx
Basic Statistics in 1 hour.pptx
Ā 
Review & Hypothesis Testing
Review & Hypothesis TestingReview & Hypothesis Testing
Review & Hypothesis Testing
Ā 
Big data and data mining
Big data and data miningBig data and data mining
Big data and data mining
Ā 
Reporting pearson correlation in apa
Reporting pearson correlation in apa Reporting pearson correlation in apa
Reporting pearson correlation in apa
Ā 

Similar to SPSS Statistics - The ANY function.pptx

UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
SreeLatha98
Ā 
Test data documentation ss
Test data documentation ssTest data documentation ss
Test data documentation ssAshwiniPoloju
Ā 
Seretta Gamba - A Sneaky Way to Introduce More Automated Testing
Seretta Gamba - A Sneaky Way to Introduce More Automated TestingSeretta Gamba - A Sneaky Way to Introduce More Automated Testing
Seretta Gamba - A Sneaky Way to Introduce More Automated Testing
TEST Huddle
Ā 
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
Shah Abdul Latif University
Ā 
Design of experiments formulation development exploring the best practices ...
Design of  experiments  formulation development exploring the best practices ...Design of  experiments  formulation development exploring the best practices ...
Design of experiments formulation development exploring the best practices ...
Maher Al absi
Ā 
Factors affecting Design of Experiment (DOE) and softwares of DOE
Factors affecting Design of Experiment (DOE) and softwares of DOEFactors affecting Design of Experiment (DOE) and softwares of DOE
Factors affecting Design of Experiment (DOE) and softwares of DOE
D.R. Chandravanshi
Ā 
Test automation
Test automationTest automation
Test automation
Jitendra Malviya
Ā 
RPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdf
RPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdfRPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdf
RPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdf
Cristina Vidu
Ā 
UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf
UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdfUiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf
UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf
Diana Gray, MBA
Ā 
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...Daniel Katz
Ā 
Break through e2e-testing
Break through e2e-testingBreak through e2e-testing
Break through e2e-testingtameemahmed5
Ā 
TDD Training
TDD TrainingTDD Training
TDD Training
Manuela Grindei
Ā 
Variables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptxVariables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptx
ApurbaSamanta9
Ā 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
CHANDUKAYALA
Ā 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
Rohit846825
Ā 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
PrashanthJanakiraman
Ā 
Variables Arguments and control flow_UiPath.ppt
Variables Arguments and control flow_UiPath.pptVariables Arguments and control flow_UiPath.ppt
Variables Arguments and control flow_UiPath.ppt
Rohit Radhakrishnan
Ā 
May: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and ChallengesMay: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and Challenges
TriTAUG
Ā 
testng
testngtestng
testng
harithakannan
Ā 

Similar to SPSS Statistics - The ANY function.pptx (20)

UNIT 4.pptx
UNIT 4.pptxUNIT 4.pptx
UNIT 4.pptx
Ā 
Test data documentation ss
Test data documentation ssTest data documentation ss
Test data documentation ss
Ā 
Seretta Gamba - A Sneaky Way to Introduce More Automated Testing
Seretta Gamba - A Sneaky Way to Introduce More Automated TestingSeretta Gamba - A Sneaky Way to Introduce More Automated Testing
Seretta Gamba - A Sneaky Way to Introduce More Automated Testing
Ā 
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
Ā 
Design of experiments formulation development exploring the best practices ...
Design of  experiments  formulation development exploring the best practices ...Design of  experiments  formulation development exploring the best practices ...
Design of experiments formulation development exploring the best practices ...
Ā 
Factors affecting Design of Experiment (DOE) and softwares of DOE
Factors affecting Design of Experiment (DOE) and softwares of DOEFactors affecting Design of Experiment (DOE) and softwares of DOE
Factors affecting Design of Experiment (DOE) and softwares of DOE
Ā 
Test automation
Test automationTest automation
Test automation
Ā 
RPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdf
RPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdfRPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdf
RPA Summer School Studio Session 2 - The Fundamentals of UiPath Studio .pdf
Ā 
UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf
UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdfUiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf
UiPath Studio Session 2 - The Fundamentals of UiPath Studio - Final Slides.pdf
Ā 
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...
ICPSR - Complex Systems Models in the Social Sciences - Lab Session 7, 8 - Pr...
Ā 
Break through e2e-testing
Break through e2e-testingBreak through e2e-testing
Break through e2e-testing
Ā 
TDD Training
TDD TrainingTDD Training
TDD Training
Ā 
Variables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptxVariables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptx
Ā 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
Ā 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
Ā 
AutoTest.ppt
AutoTest.pptAutoTest.ppt
AutoTest.ppt
Ā 
Variables Arguments and control flow_UiPath.ppt
Variables Arguments and control flow_UiPath.pptVariables Arguments and control flow_UiPath.ppt
Variables Arguments and control flow_UiPath.ppt
Ā 
QTP_PRESENTATION_Andy
QTP_PRESENTATION_AndyQTP_PRESENTATION_Andy
QTP_PRESENTATION_Andy
Ā 
May: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and ChallengesMay: Automated Developer Testing: Achievements and Challenges
May: Automated Developer Testing: Achievements and Challenges
Ā 
testng
testngtestng
testng
Ā 

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 - Count Occurances within Cases.pptx
SPSS Statistics - Count Occurances within Cases.pptxSPSS Statistics - Count Occurances within Cases.pptx
SPSS Statistics - Count Occurances within Cases.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 - Count Occurances within Cases.pptx
SPSS Statistics - Count Occurances within Cases.pptxSPSS Statistics - Count Occurances within Cases.pptx
SPSS Statistics - Count Occurances within Cases.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

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Georgi Kodinov
Ā 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Globus
Ā 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
e20449
Ā 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
wottaspaceseo
Ā 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Adele Miller
Ā 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
Ā 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Globus
Ā 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
Ā 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
Ā 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
Ā 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Srikant77
Ā 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Natan Silnitsky
Ā 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
Ā 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
Ā 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
informapgpstrackings
Ā 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus
Ā 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
Ā 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Globus
Ā 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
Ā 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
abdulrafaychaudhry
Ā 

Recently uploaded (20)

2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx2024 RoOUG Security model for the cloud.pptx
2024 RoOUG Security model for the cloud.pptx
Ā 
Enhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdfEnhancing Research Orchestration Capabilities at ORNL.pdf
Enhancing Research Orchestration Capabilities at ORNL.pdf
Ā 
Graphic Design Crash Course for beginners
Graphic Design Crash Course for beginnersGraphic Design Crash Course for beginners
Graphic Design Crash Course for beginners
Ā 
How Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptxHow Recreation Management Software Can Streamline Your Operations.pptx
How Recreation Management Software Can Streamline Your Operations.pptx
Ā 
May Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdfMay Marketo Masterclass, London MUG May 22 2024.pdf
May Marketo Masterclass, London MUG May 22 2024.pdf
Ā 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Ā 
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Exploring Innovations in Data Repository Solutions - Insights from the U.S. G...
Ā 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Ā 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Ā 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Ā 
RISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent EnterpriseRISE with SAP and Journey to the Intelligent Enterprise
RISE with SAP and Journey to the Intelligent Enterprise
Ā 
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.ILBeyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Beyond Event Sourcing - Embracing CRUD for Wix Platform - Java.IL
Ā 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Ā 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Ā 
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Field Employee Tracking System| MiTrack App| Best Employee Tracking Solution|...
Ā 
Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024Globus Connect Server Deep Dive - GlobusWorld 2024
Globus Connect Server Deep Dive - GlobusWorld 2024
Ā 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ā 
Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024Globus Compute Introduction - GlobusWorld 2024
Globus Compute Introduction - GlobusWorld 2024
Ā 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Ā 
Lecture 1 Introduction to games development
Lecture 1 Introduction to games developmentLecture 1 Introduction to games development
Lecture 1 Introduction to games development
Ā 

SPSS Statistics - The ANY function.pptx

  • 1. Copyright Ā©2022 Version 1. All rights reserved. 1 Tech Tips ā€“ The ANY Function Version 1 SPSS Team February 2023 Externally available Company Classification: Date: Presented By:
  • 2. Copyright Ā©2022 Version 1. All rights reserved. 2 ā€¢ The any function is a very useful logical function: ā€¢ ANY(test, value1, value2, ā€¦) ā€¢ Returns a value of 1 if the test is true and 0 otherwise. ā€¢ E.g. ANY(var1, 1, 3, 5) ā€¢ Will return a value of 1 if var1 has a value of 1, 3 or 5. Otherwise it will return a value of 0. ā€¢ Use ANY instead of using a series of or statements ā€¢ ANY(Var1, 1, 3, 5) = (var1 = 1 or var1 = 3 or var1=5) Tech Tips ā€“ The ANY Function
  • 3. Copyright Ā©2022 Version 1. All rights reserved. 3 Tech Tips ā€“ The ANY Function ā€¢ The ANY function can also be used to scan a list of variables of expressions for a value. ā€¢ For example, ANY (1, var1, var2, var3) returns a value of 1 if any of the specified variables have a value of 1, otherwise it will return a value of 0. ā€¢ We will use a sample data file called cable_survey.sav. ā€¢ The file is located in the installation directory for SPSS, in a folder called ā€˜Samplesā€™. ā€¢ We will use the ANY function in the select cases procedure to create a new dataset with categories of 1, 3, and 4 of the variable hometype.
  • 4. Copyright Ā©2022 Version 1. All rights reserved. 4 Tech Tips ā€“ The ANY Function ā€¢ Go to the Data menu and chose Select Cases ā€¢ Select the If condition is satisfied button
  • 5. Copyright Ā©2022 Version 1. All rights reserved. 5 Tech Tips ā€“ The ANY Function ā€¢ Select All functions ā€¢ Select ANY and move this into the main box ā€¢ Create the expression ANY(hometype,1,3,4) ā€¢ Click Continue and select to move cases to another dataset.
  • 6. Copyright Ā©2022 Version 1. All rights reserved. 6 Tech Tips ā€“ The ANY Function ā€¢ Now you can check the results in your new data file.
  • 7. Copyright Ā©2022 Version 1. All rights reserved. 7 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.
  • 8. Copyright Ā©2022 Version 1. All rights reserved. 8 Thank you.