Book Image

Data Analysis with IBM SPSS Statistics

By : Ken Stehlik-Barry, Anthony Babinec
Book Image

Data Analysis with IBM SPSS Statistics

By: Ken Stehlik-Barry, Anthony Babinec

Overview of this book

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.
Table of Contents (17 chapters)
4
Dealing with Missing Data and Outliers
10
Crosstabulation Patterns for Categorical Data

Matching the aggregated file back to find specific records

Another use of this file is to match it back to the invoice-level file to find the invoice corresponding to the customer's largest purchase during the time covered by this data. Starting with the invoice-level file as the active dataset, the following dialog box shows how to use the customer-level file as a lookup table to get the information associated with the largest invoice:

CustomerID serves as the match key in this one-to-many match. The * and + symbols indicate which file was the source for each of the variables in the resulting file.

The SPSS syntax to perform this match is shown here along with the transformation commands used to identify the largest invoice for each customer:

STAR JOIN
/SELECT t0.InvoiceNo, t0.InvoiceDate, t0.itemcost_total, t0.numproducts, t0.priorinvoicedate,
t0.priorcustID, t0.daysincepurchase...