Calculating Advanced Statistics: Part I by Ana Rojas-LeBouef, John R. Slate - HTML preview

PLEASE NOTE: This is an HTML preview only and some elements such as links or page numbers may be incorrect.
Download the book in PDF, ePub, Kindle for a complete version.

Chapter 4Converting Data from An Excel File into SPSS

ncpealogo.gif

This chapter is published by NCPEA Press and is presented as an NCPEA/Connexions publication "print on demand book." Each chapter has been peer-reviewed, accepted, and endorsed by the National Council of Professors of Educational Administration (NCPEA) as a significant contribution to the scholarship and practice of education administration.

John R. Slate is a Professor at Sam Houston State University where he teaches Basic and Advanced Statistics courses, as well as professional writing, to doctoral students in Educational Leadership and Counseling. His research interests lie in the use of educational databases, both state and national, to reform school practices. To date, he has chaired and/or served over 100 doctoral student dissertation committees. Recently, Dr. Slate created a website (Writing and Statistical Help) to assist students and faculty with both statistical assistance and in editing/writing their dissertations/theses and manuscripts.
Ana Rojas-LeBouef is a Literacy Specialist at the Reading Center at Sam Houston State University where she teaches developmental reading courses. Dr. LeBoeuf recently completed her doctoral degree in Reading, where she conducted a 16-year analysis of Texas statewide data regarding the achievement gap. Her research interests lie in examining the inequities in achievement among ethnic groups. Dr. Rojas-LeBouef also assists students and faculty in their writing and statistical needs on the Writing and Statistical Help website.

These procedures are to be followed when you have data already entered into an Excel file. In this chapter, you will be provided with steps and screenshots on how to convert the data from an Excel file into an SPSS data file. Open up your SPSS program and this screen will appear. Click on Cancel.

3.1.png

Your screen will now look like this.

3.2.png

The Excel file we will be converting for this example looks like the following:

3.3.png

In this excel file are three variables: AveragedWritingScore, Gone, and Gtwo. All three are numeric variables. The first row contains the variable names. Rows 2 through 14 contain the data for the variables.

Prior to the next steps, make sure that the Excel file that you intend to convert into SPSS is not open. If it is open and in use, SPSS will not be able to convert the file.

Once you are back in the SPSS data view window,

√ Click on File

√ Click on Open

√ Click on Data

3.4.png

A screen similar to the one below will open up on your computer. You need to locate where your Excel file is located. First, you will need to change the Files of type below.

3.5.png

Change from SPSS statistics (*.sav) to Excel (*.xls). Then find where the file is located and its name.

3.6.png

In the case of this example, the Excel file was located on the Desktop and is titled, Practice Excel File.xls. Then click on Open.

3.7.png

After clicking on open, the screen below will appear. For an Excel file to be converted properly into SPSS, the first row in the Excel file should be the names of the variables. All of the other rows in the Excel file should be the data. If you use more than one row to describe your variables, you will not be able to convert your Excel file into SPSS using these steps.

Once this screen has appeared, click on OK.

3.8.png

You should then be sent to the Output window.

Click on the SPSS data button below to get back to your SPSS screen.

3.9.png

Clicking on the SPSS data icon as depicted above should take you to the Data View screen. In this case, three variables were in the Excel data file: AveragedWritingScore, Gone, and Gtwo. These three variables were directly converted from the Excel file into a SPSS datafile.

3.10.png

Now we need to make sure that the variables are correctly identified and labeled in this SPSS dataset. Click on Variable View.

3.11.png

In the case of our example, the screen looks like the following:

3.12.png

All three of the variables have been correctly identified as numeric. The number of decimals needs to be increased to 2, not 1 as shown above.

To change the number of decimal places from 1 to 2, click on one of the decimal cells. In the screen below, the decimal cell for the first row has been clicked on. Once clicked an up and a down arrow will appear.

3.13.png

We need to increase the number of decimal places so we will click on the up arrow.

Clicking one time on the up arrow will change the number of decimals from 1 to 2.

Now we will do the same for row 2 and for row 3.

3.14.png

Viewing the screen below will show you that all three variables now have 2 decimal places.

3.15.png

Prior to conducting any statistical analyses, we recommend that you type in identifying information in the Label column for each variable. The information you type in the Label column will be the information printed out in the SPSS output and will make it easier to interpret.

3.16.png

We have converted our Excel file into a SPSS dataset. Please save it prior to conducting any statistical analyses.

√ Click on File

√ Click on Save

Give it a name of your choosing and save it in a location that you will remember later.

3.17.png

Solutions