Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Data Analysis with IBM SPSS Statistics
Data Analysis with IBM SPSS Statistics

Data Analysis with IBM SPSS Statistics: Implementing data modeling, descriptive statistics and ANOVA

Arrow left icon
Profile Icon Ken Stehlik-Barry Profile Icon Anthony Babinec
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (7 Ratings)
Paperback Sep 2017 446 pages 1st Edition
eBook
zł39.99 zł212.99
Paperback
zł266.99
Subscription
Free Trial
Arrow left icon
Profile Icon Ken Stehlik-Barry Profile Icon Anthony Babinec
Arrow right icon
Free Trial
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9 (7 Ratings)
Paperback Sep 2017 446 pages 1st Edition
eBook
zł39.99 zł212.99
Paperback
zł266.99
Subscription
Free Trial
eBook
zł39.99 zł212.99
Paperback
zł266.99
Subscription
Free Trial

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing
Table of content icon View table of contents Preview book icon Preview Book

Data Analysis with IBM SPSS Statistics

Accessing and Organizing Data

This chapter shows you how to read common file formats such as an Excel sheet or a delimited text file to IBM SPSS Statistics. The rationale for showing the reading of these formats is that most software programs read these file formats. In addition, many analysts use Excel for simple data activities such as data handling and producing charts. However, beyond these simple activities, Excel is limited in the data analytic capabilities it provides, so researchers have turned to IBM SPSS Statistics for its extensive statistical and analytical capabilities.

In order to use IBM SPSS Statistics, you must first read your data to the IBM SPSS Statistics Data Editor window. Once you successfully read the data, you provide variable properties to enrich the description of the data. After you have established the variable properties for the variables in your...

Accessing and organizing data overview

Once you read the data to IBM SPSS Statistics, you should at least do a cursory data check of the inputted data. Do you see numeric data? String data? Is the data in the expected scale and range? Is the data complete?

Of course, even if your data is not really very large in either the number of rows or columns, it can be difficult to assess via a simple visual inspection. For this reason, you might use SPSS Statistics to produce a tabular summary of variables showing counts and percentages. Doing so produces tables showing all the data codes in the designated variables. Once you have defined the SPSS Variable Properties such as value labels, you can control the tabular display to show data values (the data codes), value labels, or both.

A further consideration is how the data values are represented for categorical variables. Let's...

Reading Excel files

Here is a snapshot of a portion of an Excel spreadsheet:

Note that row 1 of the Excel spreadsheet is a header row containing variable names for the columns.

When working with Excel spreadsheets or delimited text files, use row 1 of the file to supply variable names that you intend to use in SPSS Statistics.

IBM SPSS Statistics can directly read an Excel sheet. There are different implementations in different recent releases of IBM SPSS Statistics but, in general, the capability exists on the File menu. In IBM SPSS Statistics 24, use the following path:

File | Import Data

Here is the Read Excel File dialog box:

By default, IBM SPSS Statistics shows the entire range of data that it encounters in the Excel sheet. You can use the Range portion of the dialog box to specify a subset range. Also by default, IBM SPSS Statistics expects to find variable names in...

Reading delimited text data files

Here is a snapshot of a portion of a comma-delimited text file:

A delimiter is a character such as a comma that serves as a separator between elements across a line of data. A text file is a kind of computer file that is structured as a sequence of lines of electronic text, often using the ASCII character set. Such a file is easily viewed in Windows accessories such as Notepad. Note that row 1 of the comma-delimited text file is a header row containing variable names for the columns.

IBM SPSS Statistics can directly read a delimited text file. There are different implementations in different recent releases of IBM SPSS Statistics, but the capability exists on the File menu. In IBM SPSS Statistics 24, use the following path:

File | Import Data

Here is the Read CSV File dialog box:

The Read CSV File dialog box shows the name of the file and a...

Saving IBM SPSS Statistics files

Use the SAVE command to save a data file in the IBM SPSS Statistics format, which contains data plus a dictionary. The dictionary contains a name for each variable, plus variable metadata (variable properties) such as assigned variable labels, value labels, missing values, and formats. As an aside, the dictionary also contains text that was specified on the DOCUMENTS command, if this command is used.

To save the data file along with variable properties from the menus, specify as follows:

File | Save

This brings up the Save Data As dialog box:

At a minimum, specify the folder in which you wish to save the file, along with a filename. Then press either Paste to paste the syntax or Save to write the file to disk. In addition, you can use the Variables… button to select variables to keep or drop.

Here is an example of the pasted syntax:

SAVE...

Reading IBM SPSS Statistics files

The IBM SPSS Statistics file is a data file created and saved in IBM SPSS Statistics. This file contains data in binary form, variable names, and other variable properties, and is directly readable by IBM SPSS Statistics.

In IBM SPSS Statistics 24, use File | Open | Data.

Here is the Open Data dialog box:

Click on OK to read the file, or click on Paste to paste the constructed syntax to the syntax window.

Here is the constructed syntax:

GET
FILE='C:\Users\Tony\Documents\KSBSPSSBOOK_DATA\chapter2\gss2014\gss2014extract170113.sav'.
DATASET NAME DataSet1 WINDOW=FRONT.

Running the syntax populates an IBM SPSS Statistics Data Editor window with the data.

Demo - first look at the data - frequencies

The GSS 2014 data extract has 2,538 rows. You can inspect the data by visually scanning and scrolling through the data window, but the sample size makes it difficult to grasp all of the data at once. For example, how many unique values are there in a given variable? Do the values in a given variable occur with about the same frequency, or do certain values predominate? Running Frequencies on the data can serve as a useful first look because it produces summary tables that show all data values on the specified variables.

To run Frequencies from the menus, specify as follows:

Analyze | Descriptive Statistics | Frequencies

This opens the Frequencies dialog box.

Move all variables except ID from the left-hand side to the right-hand side variable list. Why leave out ID? This is because the resulting frequency table is quite lengthy.

Variables...

Variable properties

Once you successfully read a source data file, the next steps are to establish the variable properties for each variable and then do some data checking.

Here is an example of a portion of a Variable View with variable properties:

The IBM SPSS Statistics Data Editor window presents two views accessible via tabs in the lower left of the window: Data View and Variable View. The Data View shows a flat file view of the data with observations in the rows and variables in the column. The Variable View shows the variables row-wise along with the variable properties. In the Variable View, there are as many rows as there are variables. At the time of writing this, there are 11 default variable properties, plus you can define and add custom attributes.

The variable properties are as follows:

  • Name: Each variable must have a unique variable name
  • Type: The type or format...

Summary

This chapter showed you how to read in data from two common file formats--Excel and delimited data. These are common file formats that are writeable by most software, so the ability to read these formats means that you can share data from many other applications.

This chapter also showed you how to save the data as an IBM SPSS Statistics data file. Of course, if you can save a file in that format, then you can use IBM SPSS Statistics to read that file format. The advantage of the SPSS Statistics file format is that the variable information and data are saved in a form that you can access directly. The SPSS Statistics file format is also the native file format of the IBM SPSS Modeler.

This chapter also discussed variable properties, which you can specify for the variables and then save in the IBM SPSS Statistics file format. Variable properties are important because they...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Leverage the power of IBM SPSS Statistics to perform efficient statistical analysis of your data
  • Choose the right statistical technique to analyze different types of data and build efficient models from your data with ease
  • Overcome any hurdle that you might come across while learning the different SPSS Statistics concepts with clear instructions, tips and tricks

Description

SPSS Statistics is a software package used for logical batched and non-batched statistical analysis. Analytical tools such as SPSS can readily provide even a novice user with an overwhelming amount of information and a broad range of options for analyzing patterns in the data. The journey starts with installing and configuring SPSS Statistics for first use and exploring the data to understand its potential (as well as its limitations). Use the right statistical analysis technique such as regression, classification and more, and analyze your data in the best possible manner. Work with graphs and charts to visualize your findings. With this information in hand, the discovery of patterns within the data can be undertaken. Finally, the high level objective of developing predictive models that can be applied to other situations will be addressed. By the end of this book, you will have a firm understanding of the various statistical analysis techniques offered by SPSS Statistics, and be able to master its use for data analysis with ease.

Who is this book for?

This book is designed for analysts and researchers who need to work with data to discover meaningful patterns but do not have the time (or inclination) to become programmers. We assume a foundational understanding of statistics such as one would learn in a basic course or two on statistical techniques and methods.

What you will learn

  • Install and set up SPSS to create a working environment for analytics
  • Techniques for exploring data visually and statistically, assessing data quality and addressing issues related to missing data
  • How to import different kinds of data and work with it
  • Organize data for analytical purposes (create new data elements, sampling, weighting, subsetting, and restructure your data)
  • Discover basic relationships among data elements (bivariate data patterns, differences in means, correlations)
  • Explore multivariate relationships
  • Leverage the offerings to draw accurate insights from your research, and benefit your decision-making

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 22, 2017
Length: 446 pages
Edition : 1st
Language : English
ISBN-13 : 9781787283817
Vendor :
IBM
Category :
Concepts :
Tools :

What do you get with a Packt Subscription?

Free for first 7 days. $19.99 p/m after that. Cancel any time!
Product feature icon Unlimited ad-free access to the largest independent learning library in tech. Access this title and thousands more!
Product feature icon 50+ new titles added per month, including many first-to-market concepts and exclusive early access to books as they are being written.
Product feature icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Product feature icon Thousands of reference materials covering every tech concept you need to stay up to date.
Subscribe now
View plans & pricing

Product Details

Publication date : Sep 22, 2017
Length: 446 pages
Edition : 1st
Language : English
ISBN-13 : 9781787283817
Vendor :
IBM
Category :
Concepts :
Tools :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just zł20 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total 464.97 981.97 517.00 saved
Data Analysis with IBM SPSS Statistics
zł266.99
IBM SPSS Modeler Essentials
zł157.99
Learning IBM SPSS Statistics
zł39.99 zł556.99
Total 464.97 981.97 517.00 saved Stars icon
Banner background image

Table of Contents

16 Chapters
Installing and Configuring SPSS Chevron down icon Chevron up icon
Accessing and Organizing Data Chevron down icon Chevron up icon
Statistics for Individual Data Elements Chevron down icon Chevron up icon
Dealing with Missing Data and Outliers Chevron down icon Chevron up icon
Visually Exploring the Data Chevron down icon Chevron up icon
Sampling, Subsetting, and Weighting Chevron down icon Chevron up icon
Creating New Data Elements Chevron down icon Chevron up icon
Adding and Matching Files Chevron down icon Chevron up icon
Aggregating and Restructuring Data Chevron down icon Chevron up icon
Crosstabulation Patterns for Categorical Data Chevron down icon Chevron up icon
Comparing Means and ANOVA Chevron down icon Chevron up icon
Correlations Chevron down icon Chevron up icon
Linear Regression Chevron down icon Chevron up icon
Principal Components and Factor Analysis Chevron down icon Chevron up icon
Clustering Chevron down icon Chevron up icon
Discriminant Analysis Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.9
(7 Ratings)
5 star 85.7%
4 star 14.3%
3 star 0%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Meta S. Brown Dec 08, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
This is a top-rate book for learning introductory and intermediate SPSS skills.As a former staff trainer who taught thousands of people to use SPSS, I know what's what on this topic. These authors are real insiders, whose history with SPSS goes a long way back. They're experts whose simple and clear writing style is the best in the business.What's in the book?Absolute basics - installation, importing data, basic data organization (such as labeling), assessing data propertiesData preparation - data transformations such as computing new variables, merging and aggregationExploration - using descriptive statistics to assess the dataBasic statistics - all the things you'd cover in an introductory statistics class - descriptives, crosstabulation, chi-square, t, ANOVA, correlation and linear regressionIntermediate to advanced statistics - factor analysis and perceptual mapping, principal components analysis, clustering and discriminant analysis
Amazon Verified review Amazon
G.MARI Dec 31, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Simple to understand
Amazon Verified review Amazon
Inge Kurniadi Apr 29, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Just starting the journey to deep dive & using stats function in IBM Statistics which sometimes not as simple as it looks.
Amazon Verified review Amazon
Jean Jenkins Jan 23, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
When I was a rookie data analyst this book would have been perfect for me. I had a reasonable understanding of statistics from graduate school courses, but no understanding of real-life data analysis challenges, particularly involving the less-than-perfect data that is usually available. Data Analysis with IBM SPSS Statistics does an excellent job of guiding the reader through this. One learns how to use SPSS to solve data problems, and there are many tips on multiple ways to approach a problem, and how to pick the best solution for the data and the planned analysis.The emphasis the authors place on showing the reader all the ways in which SPSS can help with the complex task of data preparation is one of the best features of this book. This is an aspect of data analysis that many inexperienced analysts underestimate, and the authors not only show the reader what SPSS can do for an analyst, but why it is so important. Tips throughout point out some especially helpful features, and warn analysts about some common pitfalls.The chapters discussing SPSS statistical techniques are equally helpful and thorough. Again, there is emphasis on evaluating one’s data to make sure it is suitable for a given technique, and the data adequacy tests that are presented are explained in detail. Analytical results are discussed carefully and suggestions for further investigation are offered.
Amazon Verified review Amazon
StephenSchacht Jan 06, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
E-book review. This book fully meets the needs of its target audience: analysts and researcher with a course of two of statistics who are new to IBM SPSS Statistics and will be using it for data analysis and statistical work. It covers all the major elements: installation; reading, defining, transforming, and combining data files; exploring data (especially commendable is the emphasis on checking data for outliers, inconsistent data, and missing values); plus examples using the analytic and statistical procedures in IBM SPSS Statistics. Strong points include the detailed coverage of the most important and the most commonly used features of SPSS, the presentation of both the menu system and command syntax for most operations and analyses, the very clear explanations of operations, the insightful interpretations of results from a variety of statistical analyses, and use of multiple datasets. The authors’ extensive experience in SPSS training and consulting pays dividends in their choices of tips and topics to emphasize, which efficiently passes, directly to the reader, knowledge usually gained through painful experience. There are a few minor instances of inconsistent usage (e.g., Output Window versus Viewer) and slight production blemishes (a reference or so to figure numbers which don’t appear in the e-book), but they do not take away from the substantial value of this work. Highly recommended for the intended audience.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

What is included in a Packt subscription? Chevron down icon Chevron up icon

A subscription provides you with full access to view all Packt and licnesed content online, this includes exclusive access to Early Access titles. Depending on the tier chosen you can also earn credits and discounts to use for owning content

How can I cancel my subscription? Chevron down icon Chevron up icon

To cancel your subscription with us simply go to the account page - found in the top right of the page or at https://subscription.packtpub.com/my-account/subscription - From here you will see the ‘cancel subscription’ button in the grey box with your subscription information in.

What are credits? Chevron down icon Chevron up icon

Credits can be earned from reading 40 section of any title within the payment cycle - a month starting from the day of subscription payment. You also earn a Credit every month if you subscribe to our annual or 18 month plans. Credits can be used to buy books DRM free, the same way that you would pay for a book. Your credits can be found in the subscription homepage - subscription.packtpub.com - clicking on ‘the my’ library dropdown and selecting ‘credits’.

What happens if an Early Access Course is cancelled? Chevron down icon Chevron up icon

Projects are rarely cancelled, but sometimes it's unavoidable. If an Early Access course is cancelled or excessively delayed, you can exchange your purchase for another course. For further details, please contact us here.

Where can I send feedback about an Early Access title? Chevron down icon Chevron up icon

If you have any feedback about the product you're reading, or Early Access in general, then please fill out a contact form here and we'll make sure the feedback gets to the right team. 

Can I download the code files for Early Access titles? Chevron down icon Chevron up icon

We try to ensure that all books in Early Access have code available to use, download, and fork on GitHub. This helps us be more agile in the development of the book, and helps keep the often changing code base of new versions and new technologies as up to date as possible. Unfortunately, however, there will be rare cases when it is not possible for us to have downloadable code samples available until publication.

When we publish the book, the code files will also be available to download from the Packt website.

How accurate is the publication date? Chevron down icon Chevron up icon

The publication date is as accurate as we can be at any point in the project. Unfortunately, delays can happen. Often those delays are out of our control, such as changes to the technology code base or delays in the tech release. We do our best to give you an accurate estimate of the publication date at any given time, and as more chapters are delivered, the more accurate the delivery date will become.

How will I know when new chapters are ready? Chevron down icon Chevron up icon

We'll let you know every time there has been an update to a course that you've bought in Early Access. You'll get an email to let you know there has been a new chapter, or a change to a previous chapter. The new chapters are automatically added to your account, so you can also check back there any time you're ready and download or read them online.

I am a Packt subscriber, do I get Early Access? Chevron down icon Chevron up icon

Yes, all Early Access content is fully available through your subscription. You will need to have a paid for or active trial subscription in order to access all titles.

How is Early Access delivered? Chevron down icon Chevron up icon

Early Access is currently only available as a PDF or through our online reader. As we make changes or add new chapters, the files in your Packt account will be updated so you can download them again or view them online immediately.

How do I buy Early Access content? Chevron down icon Chevron up icon

Early Access is a way of us getting our content to you quicker, but the method of buying the Early Access course is still the same. Just find the course you want to buy, go through the check-out steps, and you’ll get a confirmation email from us with information and a link to the relevant Early Access courses.

What is Early Access? Chevron down icon Chevron up icon

Keeping up to date with the latest technology is difficult; new versions, new frameworks, new techniques. This feature gives you a head-start to our content, as it's being created. With Early Access you'll receive each chapter as it's written, and get regular updates throughout the product's development, as well as the final course as soon as it's ready.We created Early Access as a means of giving you the information you need, as soon as it's available. As we go through the process of developing a course, 99% of it can be ready but we can't publish until that last 1% falls in to place. Early Access helps to unlock the potential of our content early, to help you start your learning when you need it most. You not only get access to every chapter as it's delivered, edited, and updated, but you'll also get the finalized, DRM-free product to download in any format you want when it's published. As a member of Packt, you'll also be eligible for our exclusive offers, including a free course every day, and discounts on new and popular titles.