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
$65.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 Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
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 Print?

Product feature icon Instant access to your digital eBook copy whilst your Print order is Shipped
Product feature icon Black & white paperback book shipped to your address
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

What is the delivery time and cost of print book? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela
What is custom duty/charge? Chevron down icon Chevron up icon

Customs duty are charges levied on goods when they cross international borders. It is a tax that is imposed on imported goods. These duties are charged by special authorities and bodies created by local governments and are meant to protect local industries, economies, and businesses.

Do I have to pay customs charges for the print book order? Chevron down icon Chevron up icon

The orders shipped to the countries that are listed under EU27 will not bear custom charges. They are paid by Packt as part of the order.

List of EU27 countries: www.gov.uk/eu-eea:

A custom duty or localized taxes may be applicable on the shipment and would be charged by the recipient country outside of the EU27 which should be paid by the customer and these duties are not included in the shipping charges been charged on the order.

How do I know my custom duty charges? Chevron down icon Chevron up icon

The amount of duty payable varies greatly depending on the imported goods, the country of origin and several other factors like the total invoice amount or dimensions like weight, and other such criteria applicable in your country.

For example:

  • If you live in Mexico, and the declared value of your ordered items is over $ 50, for you to receive a package, you will have to pay additional import tax of 19% which will be $ 9.50 to the courier service.
  • Whereas if you live in Turkey, and the declared value of your ordered items is over € 22, for you to receive a package, you will have to pay additional import tax of 18% which will be € 3.96 to the courier service.
How can I cancel my order? Chevron down icon Chevron up icon

Cancellation Policy for Published Printed Books:

You can cancel any order within 1 hour of placing the order. Simply contact customercare@packt.com with your order details or payment transaction id. If your order has already started the shipment process, we will do our best to stop it. However, if it is already on the way to you then when you receive it, you can contact us at customercare@packt.com using the returns and refund process.

Please understand that Packt Publishing cannot provide refunds or cancel any order except for the cases described in our Return Policy (i.e. Packt Publishing agrees to replace your printed book because it arrives damaged or material defect in book), Packt Publishing will not accept returns.

What is your returns and refunds policy? Chevron down icon Chevron up icon

Return Policy:

We want you to be happy with your purchase from Packtpub.com. We will not hassle you with returning print books to us. If the print book you receive from us is incorrect, damaged, doesn't work or is unacceptably late, please contact Customer Relations Team on customercare@packt.com with the order number and issue details as explained below:

  1. If you ordered (eBook, Video or Print Book) incorrectly or accidentally, please contact Customer Relations Team on customercare@packt.com within one hour of placing the order and we will replace/refund you the item cost.
  2. Sadly, if your eBook or Video file is faulty or a fault occurs during the eBook or Video being made available to you, i.e. during download then you should contact Customer Relations Team within 14 days of purchase on customercare@packt.com who will be able to resolve this issue for you.
  3. You will have a choice of replacement or refund of the problem items.(damaged, defective or incorrect)
  4. Once Customer Care Team confirms that you will be refunded, you should receive the refund within 10 to 12 working days.
  5. If you are only requesting a refund of one book from a multiple order, then we will refund you the appropriate single item.
  6. Where the items were shipped under a free shipping offer, there will be no shipping costs to refund.

On the off chance your printed book arrives damaged, with book material defect, contact our Customer Relation Team on customercare@packt.com within 14 days of receipt of the book with appropriate evidence of damage and we will work with you to secure a replacement copy, if necessary. Please note that each printed book you order from us is individually made by Packt's professional book-printing partner which is on a print-on-demand basis.

What tax is charged? Chevron down icon Chevron up icon

Currently, no tax is charged on the purchase of any print book (subject to change based on the laws and regulations). A localized VAT fee is charged only to our European and UK customers on eBooks, Video and subscriptions that they buy. GST is charged to Indian customers for eBooks and video purchases.

What payment methods can I use? Chevron down icon Chevron up icon

You can pay with the following card types:

  1. Visa Debit
  2. Visa Credit
  3. MasterCard
  4. PayPal
What is the delivery time and cost of print books? Chevron down icon Chevron up icon

Shipping Details

USA:

'

Economy: Delivery to most addresses in the US within 10-15 business days

Premium: Trackable Delivery to most addresses in the US within 3-8 business days

UK:

Economy: Delivery to most addresses in the U.K. within 7-9 business days.
Shipments are not trackable

Premium: Trackable delivery to most addresses in the U.K. within 3-4 business days!
Add one extra business day for deliveries to Northern Ireland and Scottish Highlands and islands

EU:

Premium: Trackable delivery to most EU destinations within 4-9 business days.

Australia:

Economy: Can deliver to P. O. Boxes and private residences.
Trackable service with delivery to addresses in Australia only.
Delivery time ranges from 7-9 business days for VIC and 8-10 business days for Interstate metro
Delivery time is up to 15 business days for remote areas of WA, NT & QLD.

Premium: Delivery to addresses in Australia only
Trackable delivery to most P. O. Boxes and private residences in Australia within 4-5 days based on the distance to a destination following dispatch.

India:

Premium: Delivery to most Indian addresses within 5-6 business days

Rest of the World:

Premium: Countries in the American continent: Trackable delivery to most countries within 4-7 business days

Asia:

Premium: Delivery to most Asian addresses within 5-9 business days

Disclaimer:
All orders received before 5 PM U.K time would start printing from the next business day. So the estimated delivery times start from the next day as well. Orders received after 5 PM U.K time (in our internal systems) on a business day or anytime on the weekend will begin printing the second to next business day. For example, an order placed at 11 AM today will begin printing tomorrow, whereas an order placed at 9 PM tonight will begin printing the day after tomorrow.


Unfortunately, due to several restrictions, we are unable to ship to the following countries:

  1. Afghanistan
  2. American Samoa
  3. Belarus
  4. Brunei Darussalam
  5. Central African Republic
  6. The Democratic Republic of Congo
  7. Eritrea
  8. Guinea-bissau
  9. Iran
  10. Lebanon
  11. Libiya Arab Jamahriya
  12. Somalia
  13. Sudan
  14. Russian Federation
  15. Syrian Arab Republic
  16. Ukraine
  17. Venezuela