Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
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

By Ken Stehlik-Barry , Anthony Babinec
$51.99 $35.99
Book Sep 2017 446 pages 1st Edition
eBook
$51.99 $35.99
Print
$65.99
Subscription
$15.99 Monthly
eBook
$51.99 $35.99
Print
$65.99
Subscription
$15.99 Monthly

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


Publication date : Sep 22, 2017
Length 446 pages
Edition : 1st Edition
Language : English
ISBN-13 : 9781787283817
Vendor :
IBM
Category :
Table of content icon View table of contents Preview book icon Preview Book

Data Analysis with IBM SPSS Statistics

Installing and Configuring SPSS

If the SPSS Statistics package is not already available for you to use, you will need to start by installing the software. This section establishes the foundation to use this tool for data analysis. Even if the software is available on your computer, you will want to become familiar with setting up the environment properly in order to make the analyzing process efficient and effective.

It is also a good idea to run a basic SPSS job to verify that everything is working as it should and to see the resources that are provided by way of tutorials and sample datasets.

Before you can use IBM SPSS Statistics for data analysis, you will need to install and configure the software. Typically, an analyst or researcher will use their desktop/laptop to analyze the data and this is where the SPSS software will be installed.

When you purchase the software, or obtain it through your organization, you will receive an executable with a name such as SPSS_Statistics_24_win_64.exe. The 64 in this file name indicates that the 64-bit version of the software was selected and version 24 of SPSS is being installed.

Running this .exe file will launch the installation process but prior to this, there are some things to consider. During the installation process, you will be asked where you want the files associated with SPSS to be stored. Most often, users will put the software in the same location that they use for other applications on their machine. This is usually the C:Program Files folder.

Topics that will be covered in this chapter include the following:

  • Running the SPSS installation utility
  • Setting parameters during the installation process
  • Licensing the SPSS software
  • Setting parameters within the SPSS software
  • Executing a basic SPSS session

The SPSS installation utility

To begin the installation, double-click on the installation .exe file that you downloaded. You should see a screen similar to the one shown in the following screenshot:

Once the extraction is finished, two license-related screens will appear. Click on Next on the first screen and, after accepting the license terms (read through them first if you want), click on Next again on the second screen to continue with the installation.

Installing Python for the scripting

SPSS includes a scripting language that can be used to automate various processes within the software. While the scripting language will not be covered in this section, you may find it useful down the road.

The scripting is done via the Python language, and part of the installation process involves installing Python. The next three screens deal with installing Python and agreeing to the associated license terms. We recommend that you include Python as part of your basic software installation for SPSS. The following screenshot shows the initial screen where you indicate that the Python component is to be included in the installation:

On the two following screens, accept the license terms for Python and click on Next to proceed.

As part of the installation, you will be asked where to put the files associated with the SPSS software. By default, they will be placed in the C:\Program Files\IBM\SPSS\Statistics\24 folder, where 24 refers to the version of the SPSS software that you are installing. You can change the location for these files using the Browse button but unless you have a compelling reason to do so, we recommend using the setting shown in the image after the paragraph.

If you are concerned about having sufficient disk space on the C: drive, you can use the Available Space button to see how much free disk space is available.

Depending on the options you have licensed (SPSS consists of a base package along with options such as Advanced Statistics, Decision Trees, Forecasting, and so on), you may need up to 2 GB of disk space. After specifying the folder to use for the SPSS files, click on Next and, on the following screen, click on Install to begin the process:

The process of copying the files to the folder and performing the installation may take a couple of minutes. A screen displays the progress of the file copying step. Installing the Python component for use within SPSS results in a screen as shown in the following screenshot. There are no buttons associated with this screen, only a display of the files being compiled:

Licensing SPSS

When the screen titled InstallShield Wizard Completed appears, you can click on Finish to launch SPSS and perform the final step. SPSS uses an activation code to license the product after purchase. You should have obtained this code when you downloaded the software initially. It is typically a 20-character code with a mix of numbers and letters.

On the screen shown in the following screenshot, click on License Product to initiate the authorization of the software:

The SPSS home screen shown in the preceding screenshot contains several useful links that you may want to explore, such as the Get started with tutorials link at the bottom. If you no longer want to see this screen each time you launch SPSS, check the box at the lower left.

Use the Next button to proceed through this screen and the two following screens. The authorized user license choice on the last screen is the right choice, unless your organization has provided you with information for a concurrent user setup. If this is the case, change the setting to that option before proceeding.

The following screenshot shows the screen where you will enter your authorization code to activate the software via the Internet. While you can enter the code manually, it is easier to use copy/paste to ensure the characters are entered correctly.

Confirming the options available

The authorization code unlocks SPSS Statistics base along with any options that you are entitled to use. If your purchase included the Forecasting option, for example, there would be a Forecasting choice on the Analyze menu within the SPSS software. Some of the options included in the activation code used in this example are shown in the following screenshot:

Scroll through the license information to see which options are included in your SPSS license.

In the installation example shown here, the user purchased the Grad Pack version of SPSS, which includes a specific set of options along with the base portion of the software. The expiration date for the license just entered is displayed as well.

Launching and using SPSS

After reviewing the options that you have available, click on Finish to exit the installation process. Launch SPSS Statistics by going to the main Windows menu and finding it under Recently added in the upper left of the screen. The first screenshot shown under the licensing SPSS section is displayed initially. The tutorials included with SPSS can be accessed via the link on this screen, but they are also available via the Help menu within SPSS. Close this dialog box and the SPSS Data Editor window will be displayed.

The Data Editor window resembles a spreadsheet in terms of the layout, with the columns representing fields and the rows representing cases. As no data file has been loaded at this point, the window will have no content in the cells. Go to the Edit menu and select Options at the very bottom, as shown in the following screenshot:

Setting parameters within the SPSS software

The General tab, which is where some of the basic settings can be changed, is displayed. It is likely that you will not need to change any of these specifications initially, but at some point, you may want to alter these default settings. Click on the File Locations tab to display the dialog box in the following screenshot. Again, there is typically no need to change the settings initially, but be aware that SPSS creates temporary files during a session that are deleted when you exit the software.

If you are working with large volumes of data, you may need to direct these files to a location with more space, such as a network drive or an external device connected to your machine:

SPSS maintains a Journal file, which logs all the commands created as you move through various dialog boxes and make selections. This file provides an audit trail of sorts that can be quite useful. The file is set up to be appended and it is recommended that you keep this setting in place. As only the commands are logged in this file, it does not become very large, even over many months of using SPSS.

Executing a basic SPSS session

Click on OK to return to the Data Editor window. To confirm that the software is ready for use, go to the File menu and select Open Data. Navigate to the location where SPSS Statistics was installed, and down through the folders to the SamplesEnglish subfolder. The path shown here is typically where the sample SPSS data files that ship with the software get installed:

C:Program FilesIBMSPSSStatistics24SamplesEnglish

A list of sample SPSS data files (those with a .sav extension) will be displayed. For this example, select the bankloan.sav file, as shown in the following screenshot, and click on Open:

The Data Editor window now displays the name of the file just opened in the title bar with the fields (variables in SPSS terminology) as the column names and the actual values in the rows. Here, each row represents a bank customer and the columns contain their associated information. Only the first 12 rows are visible in the following screenshot, but after scrolling down, you will see more.

There are 850 rows in total:

Go to the Analyze menu and select Descriptive Statistics | Frequencies, as shown in the following screenshot:


The Frequencies dialog box shown here has a Bootstrap button on the lower right. This is present because the license used for this installation included the Bootstrap option, which results in this added feature appearing in appropriate places within SPSS.

The dialog box shown in the previous image allows you to select fields and obtain basic descriptive statistics for them.

For this initial check of the software installation, select just the education field, which is shown by its label, Level of education, as shown in the following screenshot. You can double-click on the label or highlight it and use the arrow in the middle of the screen to make the selection:

The descriptive statistics requested for the education field are presented in a new output window as shown in the following image. The left side of the output window is referred to in SPSS as the navigation pane and it lists the elements available for viewing in the main portion of the window. The frequency table for education shows that there are five levels of education present in the data for the bank's customers and that over half, 54.1%, of these 850 customers did not complete high school. This very simple example will confirm that the SPSS Statistics software is installed and ready to use on your machine.

Refer to the following image for a better understanding of descriptive statistics and the navigation pane:

To complete this check of the installation process, go to the File menu and select Exit at the bottom. You will be prompted to save the newly-created output window, which was automatically assigned the name, *Output1. There is no need to save the results of the frequency table that was created, but you can do so if you like.

The title bar of the output window shows the name *Output1, which was generated automatically by SPSS. The * indicates that the window contains material that has not been saved.

Summary

In this first chapter, we covered the basic installation of IBM SPSS Statistics on a local machine running Windows. The standard install includes the Python scripting component and requires licensing the software via the Internet. Although the default setting for things like files and display options were not modified, you saw how these elements can be changed later if there is a need to do so.

Once SPSS was up and running, the software was launched and a very basic example was covered. This should give you a sense of how to get started analyzing your own as well as confirm that everything is functioning as expected in terms of using the tool.

Congratulations! You are now ready to begin exploring the capabilities of SPSS Statistics on your data or using one if the sample data sets such as the one used in the sample session above. Be sure to take advantage of the tutorials within the Help system to facilitate the process of learning SPSS.

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.

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

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Buy Now

Product Details


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

Table of Contents

17 Chapters
Preface Chevron down icon Chevron up icon
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

Filter icon Filter
Top Reviews
Rating distribution
Empty star icon Empty star icon Empty star icon Empty star icon Empty star icon 0
(0 Ratings)
5 star 0%
4 star 0%
3 star 0%
2 star 0%
1 star 0%

Filter reviews by


No reviews found
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.