Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Data Analysis with IBM SPSS Statistics

You're reading from   Data Analysis with IBM SPSS Statistics Implementing data modeling, descriptive statistics and ANOVA

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787283817
Length 446 pages
Edition 1st Edition
Arrow right icon
Authors (2):
Arrow left icon
Ken Stehlik-Barry Ken Stehlik-Barry
Author Profile Icon Ken Stehlik-Barry
Ken Stehlik-Barry
Anthony Babinec Anthony Babinec
Author Profile Icon Anthony Babinec
Anthony Babinec
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Installing and Configuring SPSS 2. Accessing and Organizing Data FREE CHAPTER 3. Statistics for Individual Data Elements 4. Dealing with Missing Data and Outliers 5. Visually Exploring the Data 6. Sampling, Subsetting, and Weighting 7. Creating New Data Elements 8. Adding and Matching Files 9. Aggregating and Restructuring Data 10. Crosstabulation Patterns for Categorical Data 11. Comparing Means and ANOVA 12. Correlations 13. Linear Regression 14. Principal Components and Factor Analysis 15. Clustering 16. Discriminant Analysis

The IF command

At the bottom of the COMPUTE dialog is an optional IF choice you can use to bring up the dialog, as shown in the following screenshot. This feature allows you to make the calculation defined in the COMPUTE portion conditional:

The cross-tabulation shown in following screenshot displays the relationship between shopping frequency and the distance to a customer's home store. This information can be used to form customer categories that can be used to target specific groups.

The following six IF statements map customers into categories based on the two fields shown in the preceding screenshot. For operations such as "less than or equal to", the mnemonic LE or the symbol <= can be used. The parentheses in the third and fourth IF commands indicate that both the regular and distance fields are to be evaluated to assign a new value. Each portion of...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at ₹800/month. Cancel anytime