Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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 FREE CHAPTER 2. Accessing and Organizing Data 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

Twostep cluster analysis example

For this example, we return to the USA states violent crime data example. Recall that TWOSTEP CLUSTER offers an automatic method for selecting the number of clusters, as well as a Likelihood distance measure. We will run it to show some of the visuals in the model viewer output.

The approach here is to:

  1. First run TWOSTEP CLUSTER in automatic mode to identify a tentative number of clusters.
  2. Then run TWOSTEP CLUSTER again with a specified number of clusters.

Here is the SPSS code for the first run:

TWOSTEP CLUSTER
/CONTINUOUS VARIABLES=MurderR RRapeR RobberyR AssaultR BurglaryR LarcenyR VehicleTheftR
/DISTANCE Likelihood
/NUMCLUSTERS AUTO 15 BIC
/HANDLENOISE 0
/MEMALLOCATE 64
/CRITERIA INITHRESHOLD(0) MXBRANCH(8) MXLEVEL(3)
/VIEWMODEL DISPLAY=YES
/PRINT IC COUNT SUMMARY.

Here are comments on the SPSS code:

  • In a step not shown, the variable names...
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 $19.99/month. Cancel anytime
Banner background image