SlideShare une entreprise Scribd logo
1  sur  8
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.

Contenu connexe

Tendances

Tendances (20)

INFERENTIAL TECHNIQUES. Inferential Stat. pt 3
INFERENTIAL TECHNIQUES. Inferential Stat. pt 3INFERENTIAL TECHNIQUES. Inferential Stat. pt 3
INFERENTIAL TECHNIQUES. Inferential Stat. pt 3
 
Primary & Secondary Data
Primary & Secondary DataPrimary & Secondary Data
Primary & Secondary Data
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Discriminant analysis
Discriminant analysisDiscriminant analysis
Discriminant analysis
 
Discriment analysis
Discriment analysisDiscriment analysis
Discriment analysis
 
Descriptive statistics
Descriptive statisticsDescriptive statistics
Descriptive statistics
 
Spss
SpssSpss
Spss
 
Analysis of data in research
Analysis of data in researchAnalysis of data in research
Analysis of data in research
 
Workshop on SPSS: Basic to Intermediate Level
Workshop on SPSS: Basic to Intermediate LevelWorkshop on SPSS: Basic to Intermediate Level
Workshop on SPSS: Basic to Intermediate Level
 
Chapter 10-DATA ANALYSIS & PRESENTATION
Chapter 10-DATA ANALYSIS & PRESENTATIONChapter 10-DATA ANALYSIS & PRESENTATION
Chapter 10-DATA ANALYSIS & PRESENTATION
 
introduction to spss
introduction to spssintroduction to spss
introduction to spss
 
Spss lecture notes
Spss lecture notesSpss lecture notes
Spss lecture notes
 
Data analysis
Data analysisData analysis
Data analysis
 
Statistics: Chapter One
Statistics: Chapter OneStatistics: Chapter One
Statistics: Chapter One
 
Software packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSSSoftware packages for statistical analysis - SPSS
Software packages for statistical analysis - SPSS
 
SPSS FINAL.pdf
SPSS FINAL.pdfSPSS FINAL.pdf
SPSS FINAL.pdf
 
Basic Statistics & Data Analysis
Basic Statistics & Data AnalysisBasic Statistics & Data Analysis
Basic Statistics & Data Analysis
 
Preparation of Research Reports
Preparation of Research Reports Preparation of Research Reports
Preparation of Research Reports
 
An introduction to spss
An introduction to spssAn introduction to spss
An introduction to spss
 
Classification of Data
Classification of DataClassification of Data
Classification of Data
 

Similaire à SPSS Statistics - The ANY function.pptx

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 TestingTEST Huddle
 
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 DOED.R. Chandravanshi
 
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 .pdfCristina 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.pdfDiana 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
 
Variables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptxVariables, Arguments & Imports.pptx
Variables, Arguments & Imports.pptxApurbaSamanta9
 
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.pptRohit 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 ChallengesTriTAUG
 

Similaire à 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
 

Plus de 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 1 Analytics
 
SPSS Statistics - Customising Toolbars.pptx
SPSS Statistics - Customising Toolbars.pptxSPSS Statistics - Customising Toolbars.pptx
SPSS Statistics - Customising Toolbars.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 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.pptxVersion 1 Analytics
 

Plus de 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
 

Dernier

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park masabamasaba
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...masabamasaba
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile EnvironmentVictorSzoltysek
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrainmasabamasaba
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastPapp Krisztián
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 

Dernier (20)

WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
%+27788225528 love spells in new york Psychic Readings, Attraction spells,Bri...
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Architecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the pastArchitecture decision records - How not to get lost in the past
Architecture decision records - How not to get lost in the past
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
Abortion Pill Prices Tembisa [(+27832195400*)] 🏥 Women's Abortion Clinic in T...
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 

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.