3 SPSS Shortcuts that Make Life Easier

by Karen Grace-Martin

Okay, maybe you whole life won’t be easier, but your work life will, at least the SPSS part of it.

When I consult with researchers, a common part of that is going through their analysis together.  Sometimes I notice that they’re using some shortcut in SPSS that I had not known about.

Or sometimes they could be saving themselves some headaches.

So I thought I’d share three buttons you may not have noticed before that will make your data analysis more efficient.

1. The Paste Button

(note: to see any of the following screenshot graphics larger, just click them)

I was actually going to skip this one because I figured everyone knows about it, but I realized I was probably being over-optimistic.

spss1

This is the #1 most helpful button, because recording and using syntax has so many advantages.

Virtually every dialog window in SPSS has a Paste button, and it’s right next to OK.

Unlike OK, which actually runs your syntax, Paste puts a copy of the syntax that is underlying those menu options you’ve chosen in that box.

This, to me, is one of the great advantages of SPSS–you don’t have to remember every coding option in order to code the syntax.  Just run the dialog box, choose the options you want, and hit Paste.

It works not just for analyses, but opening files, doing data manipulations–just about anything you need SPSS to do.

2. The History Button

spss2
If you are using the menu dialogs, you will inevitably have a situation where you need to redo an analysis or data manipulation.  Maybe just change an option.

Rather than go trough the menus again, just hit the History button.

It will display about 10 recent dialogs you’ve used.  When you click on one of those dialogs in the list, it brings the dialog up, complete with the variables and options you used the last time.

Is it a huge time saver?  No.  But it adds up.

Take the Chi-Square test as as example.   Using the menus requires going to Analyze–>Nonparametrics–>Legacy Dialogs–>Chi Square.  That’s a lot of finding things within menus, vs. two clicks for the History button.

3. The Variables Button

spss3

Another very helpful button is the Variables button.

Clicking it brings up the Variables window, which is really just a list of the variables, with variable information about each one.

What’s the big deal? you ask.  (I can hear you).  Why not just look in the Variable View tab?

Agreed.  Many times that’s all you need.  The problem this solves is when you have a large data set, and you want to easily find the variable you want.  If you know its name or at least that it starts with “wei” for example, you can simply do the following:

1. Click on the variable list.

2. Without pausing, type the name of the variable. If you’re looking for a variable weight, as you type, it will go to the next variable that begins with w, then we, then wei, etc.  As soon as you pause, it will stop looking.

If there are 14 versions of variables that all start with “wei” (eg. weight1, weight2, etc.) and you can’t remember which one you want, just keep typing “wei” until you hit the one you need.

You can then either click “Go To” to go directly to that variable in the data set or “Paste” to paste that variable name into whatever syntax you were just writing.

——–

If you’re interested in learning more about using SPSS, you may want to check out our online Introduction to Data Analysis with SPSS workshop!


Bookmark and Share

{ 1 comment… read it below or add one }

John Hall

Karen

Another useful facility is:

Data > Define Variable Properties.

t’s supposed to be for building up a saved file, but I use it for checking existing files, particularly other people’s. It’s particularly good when you want to check value labels and missing values, especially if they have not been declared, even if they have been labelled. The big advantage is that as well as displaying variable properties it also shows counts for each value encountered. If you change any of the properties of any variable it produces syntax to send to the active syntax editor. Sometimes the syntax is incredibly repetitive, but it’s accurate. I usually edit this down later to avoid all those repeat commands.

Another facility I didn’t know about is one for changing the order in which columns are displayed in Variable View. I used to drag them to new positions by highlighting the column header, but you can also use:

View > Customize variable View

in which you can check or uncheck attributes to display and also move them up and down the order of display.

John

Reply

Leave a Comment

Please note that, due to the large number of comments submitted, any comments on problems related to a personal study/project will not be answered. We suggest joining Statistically Speaking, where you have access to a private forum and more resources 24/7.

Previous post:

Next post: