New Feature: Playlist Center! Pick a topic and let our playlists guide the way—like a learning mixtape.

Start learning with our library of video tutorials taught by experts. Get started

SPSS Statistics Essential Training (2011)
Illustration by

Reading data from a spreadsheet


From:

SPSS Statistics Essential Training (2011)

with Barton Poulson

Video: Reading data from a spreadsheet

While it's possible to enter data directly into SPSS or download it in the SPSS.sav format, data sets will often come to you in other formats, such as database files, text files, or frequently as spreadsheets, and there are actually advantages to this. Files in these other programs, such as spreadsheets, are usually easier to create and share than our SPSS files. Also, SPSS is well set up to import data from each of these formats. In this movie, I will show you how to work with spreadsheets in Microsoft's .xls and .xlsx format from Excel.
Expand all | Collapse all
  1. 2m 58s
    1. Welcome
      1m 5s
    2. Using the exercise files
      40s
    3. Using a different version of the software
      1m 13s
  2. 19m 0s
    1. Taking a first look at the interface
      11m 49s
    2. Reading data from a spreadsheet
      7m 11s
  3. 21m 54s
    1. Creating bar charts for categorical variables
      7m 18s
    2. Creating pie charts for categorical variables
      2m 54s
    3. Creating histograms for quantitative variables
      5m 45s
    4. Creating box plots for quantitative variables
      5m 57s
  4. 33m 10s
    1. Recoding variables
      5m 33s
    2. Recoding with visual binning
      5m 33s
    3. Recoding by ranking cases
      5m 26s
    4. Computing new variables
      5m 37s
    5. Combining or excluding outliers
      5m 21s
    6. Transforming outliers
      5m 40s
  5. 28m 12s
    1. Selecting cases
      6m 44s
    2. Using the Split File command
      5m 12s
    3. Merging files
      5m 33s
    4. Using the Multiple Response command
      10m 43s
  6. 22m 14s
    1. Calculating frequencies
      8m 43s
    2. Calculating descriptives
      5m 31s
    3. Using the Explore command
      8m 0s
  7. 16m 3s
    1. Calculating inferential statistics for a single proportion
      6m 6s
    2. Calculating inferential statistics for a single mean
      5m 39s
    3. Calculating inferential statistics for a single categorical variable
      4m 18s
  8. 30m 43s
    1. Creating clustered bar charts
      7m 10s
    2. Creating scatterplots
      5m 8s
    3. Creating time series
      3m 24s
    4. Creating simple bar charts of group means
      4m 17s
    5. Creating population pyramids
      3m 0s
    6. Creating simple boxplots for groups
      3m 3s
    7. Creating side-by-side boxplots
      4m 41s
  9. 45m 28s
    1. Calculating correlations
      8m 17s
    2. Computing a bivariate regression
      6m 27s
    3. Creating crosstabs for categorical variables
      6m 34s
    4. Comparing means with the Means procedure
      6m 33s
    5. Comparing means with the t-test
      6m 4s
    6. Comparing means with a one-way ANOVA
      6m 30s
    7. Comparing paired means
      5m 3s
  10. 24m 30s
    1. Creating clustered bar charts for frequencies
      6m 34s
    2. Creating clustered bar charts for means
      3m 45s
    3. Creating scatterplots by group
      4m 13s
    4. Creating 3-D scatterplots
      4m 25s
    5. Creating scatterplot matrices
      5m 33s
  11. 30m 57s
    1. Using Automatic Linear Models
      11m 52s
    2. Calculating multiple regression
      9m 3s
    3. Comparing means with a two-factor ANOVA
      10m 2s
  12. 29m 29s
    1. Formatting descriptive statistics
      6m 1s
    2. Formatting correlations
      7m 49s
    3. Formatting regression
      10m 19s
    4. Exporting charts and tables
      5m 20s
  13. 51s
    1. What's next
      51s

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
SPSS Statistics Essential Training (2011)
5h 5m Beginner Aug 17, 2011

Viewers: in countries Watching now:

In this course, author Barton Poulson takes a practical, visual, and non-mathematical approach to the basics of statistical concepts and data analysis in SPSS, the statistical package for business, government, research, and academic organization. From importing spreadsheets to creating regression models to exporting presentation graphics, this course covers all the basics, with an emphasis on clarity, interpretation, communicability, and application.

Topics include:
  • Importing and entering data
  • Creating descriptive charts
  • Modifying and selecting cases
  • Calculating descriptive and inferential statistics
  • Modeling associations with correlations, contingency tables, and multiple regression
  • Formatting and exporting tables and charts
Subjects:
Business Data Analysis
Software:
SPSS
Author:
Barton Poulson

Reading data from a spreadsheet

While it's possible to enter data directly into SPSS or download it in the SPSS.sav format, data sets will often come to you in other formats, such as database files, text files, or frequently as spreadsheets, and there are actually advantages to this. Files in these other programs, such as spreadsheets, are usually easier to create and share than our SPSS files. Also, SPSS is well set up to import data from each of these formats. In this movie, I will show you how to work with spreadsheets in Microsoft's .xls and .xlsx format from Excel.

At the end of the movie, I will point you to SPSS's excellent instructions and tutorials on importing data from other sources as well. I'm going to begin by using a data set that I downloaded from Yahoo Financial about the 2,800 stocks in the NASDAQ index. This is called NASDAQ.xls. And what we have here is the Symbol, the Name for each stock, as well as the LastSale Price before I downloaded, the company's Total Market Capitalization, the Year of its initial public offering, its Sector, and its Industry. And if we scroll to the right, you can also see a web link for a summary quote.

Now to import this into SPSS, there are few things I need to do. Number one is I am going to get rid of some information that I just don't want. The information about the summary quotes here, I don't need that, so I am just going to come up here and I am going to delete that column. That makes things a little bit simpler. The second thing is I can't have variables that mix numbers and letters in them or SPSS treats them entirely as String variables or Word variables. The most egregious example here is the IPOYear. You see it says 1999 at the top, and then we have several N/As for Not Available, and what I need to do is I need to get rid of those N/As so SPSS will treat as strictly as a numerical variable.

The easiest way to do that is to sort the column. I just click on a cell in there and come up to Sort, and I see we go from 1970 and I can just scroll down. There we go. I see I can select all of the N/As. I start there and come down to row 2821, I Shift+Click, and then I can just hit Clear Contents. Now I also need to check the other two dollar values, the LastsSale and the MarketCap, just to double-check.

I am going to going to click on LastSale and I will sort that. See, it goes down to 1 cent. What's up at the top? Okay, I have a few N/As in there too, and if I left those in there, those three values could turn the 2800 and 18 others into String variables, so I don't want that. I'll press Clear Contents, and then I have a few here under MarketCap. I will clear those. I am going to sort MarketCap separately, just to double-check.

And look, we have one more right there. Once we have done that, I believe we are ready to import this. It's okay that I have N/As in Sector because that's a text variable anyhow. I am just going to come back over to the first column, Symbol, column A, and sort that by the Symbol again from top to bottom. So we start at the Australia Acquisition Corp. I am going to save this data set, and then I need to close it because SPSS can't open it if it's open in Excel.

So I am going to close the data set, minimize this, and here I am in SPSS now. If I just come over to File, to Open, to Data Set, and I simply navigate to the folder where I have this spreadsheet, now I need to tell SPSS that I am looking for a spreadsheet, because right now it's trying to report on .sav files. I come down to spreadsheets, and now it shows up, and I can just double-click on it to open it. It gives me a suggested range of the data. If there's more than one worksheet in the spreadsheet, it automatically suggests the first one; but if you have others, you can navigate to them in this way.

But I am going to use data--that's the Name of the worksheet--cells A1 to G2821. I will just press OK, and there we go. You see, for instance, that the variable names are listed across the top in the blue row and we have the Symbol, the Name, the LastSale, and the MarketCap, the IPO. Now in IPO I cleared out the N/As, and those were blank cells in Excel. Here they have dots. A dot is what goes into a blank numeric cell in SPSS.

So actually, that still indicates that those are missing. I am going to scroll over to the right for minute and see what else we have. We have Industry. I am going to make that little skinnier by just dragging it over,. I am going to come back, and I will take the Name, and I will make that skinnier so I can see more of the data. I do need to fix a couple of things. The LastSale and the MarketCap are both dollar values, and I need to turn them into dollar values and change the decimal places for both of them. So what I am going to do as I can either click on the Variable View tab at the bottom left or I can simply double-click on the name of the variable.

I will do that. And I can go to Type, until it's a Dollar value. And I will click this one down to the bottom, just two decimal places, and that should do. The LastSale, the highest value is in the thousands, but I do need to have two decimal places because they do use the cents. On the other hand, MarketCap is huge numbers. It goes up to hundreds of billions, and I don't need decimal places. I am going to tell that one that it's a Dollar value as well.

I will give it room for a lot of numbers, but no decimal places. I'm going to click OK, and now I can go back to the Data view and see what we got--and that looks like the correct format. And now I can simply save this data file as NASDAQ, and we are good to go. Now I want to show you that SPSS is able to import straight from databases or text files. In fact, if you go over to File, you will see here we have a command for opening from a database or reading text data.

Now I am not going to go through those. Instead, right now, I am just going to point you over to the Help menu, to Tutorial. When you click on that, this will open up web browser, even though it's a local file, and the Tutorial, I want you to see this one: Reading Data. And in fact, if we open that up, you can see Reading from a Database. And SPSS has a tutorial that will walk you through every step that you need, using a similar procedure to get the data from a database and into SPSS.

And so you see, with the proper preparation, it's a straightforward procedure to get data from one source--a spreadsheet, a text file, a database--into SPSS, so can begin exploring your data and seeing what your numbers can tell you.

There are currently no FAQs about SPSS Statistics Essential Training (2011).

 
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.
Upgrade now


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ.

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

join now Upgrade now

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed SPSS Statistics Essential Training (2011).

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.