Site icon DW Faisalabad

SPSS Output – Basics, Tips & Tricks

Exporting SPSS output is usually easier and faster than copy-pasting

SPSS Output Introduction

In SPSS, we usually work from 3 windows. These are

Our previous tutorials discussed the data editor and the syntax editor windows. So let’s now take a look at the output viewer. We suggest you follow along by downloading and opening bank.sav, part of which is shown below.

SPSS Output – First Steps

Right. So with out data open, let’s create some output by running the syntax below.

*Run frequency tables and bar charts on 3 variables.

frequencies educ marit jtype
/barchart
/order variable.

Running this syntax opens an output viewer window as shown below.

As illustrated, the SPSS output viewer window always has 2 main panes:

In the output outline, you can also delete output items -SPSS often produces way more output than you ask for. Use the ctrl key to select multiple items. A faster way for deleting a selection of output items is OUTPUT MODIFY.
You can also collapse and reorder output items in the outline but I don’t find that too useful. So let’s turn to the actual output items. The most important ones are tables and charts so we’ll discuss those separately.

SPSS Output – Tables

We’ll usually want to make some adjustments to our output tables. One option for doing so is right-clicking the table and selecting Edit content  In Separate Window as shown below.

The pivot table editor window (shown below) allows us to adjust basically anything about our table.

That being said, we recommend youyou only use the pivot table editor if everything else fails.One reason is that you can’t replicate and rerun whatever you do in the pivot table editor. And more importantly, there are faster options with which you can adjust many tables in one go. So let’s explore some of those.

Variable and Value Labels in Output Tables

When I’m inspecting my data, I want to see variable names and labels in my output. The same goes for values and value labels because I want to know how my variables have been coded.

However, I want to see only labels in the final tables that I’ll report. One way for doing so is navigating to Edit  Options and selecting the Output tab.

Oddly, the options dialog has no Paste button. This is because it creates very messy syntax. A much better option for this than the crappy menu is just running the syntax below.

*Show only value labels and variable labels in output tables.
set
tnumbers labels
tvars labels.

Running this syntax is a much better option than using the aforementioned menu. After doing so, all output tables we’ll run will show only variable and value labels.

SPSS Table Templates

Another thing I don’t like about these tables is their styling: grey fonts with grey backgrounds. The best way to fix this is setting a table template before running any tables. Running set tlook ‘C:\Program Files\IBM\SPSS\Statistics\24\Looks\Original.stt’.does the trick for me. On your computer, you may need a slightly different path. If I now rerun my frequency distributions, they’ll look much nicer as shown below.

Right. So those are the main basics regarding output tables. Let’s now turn to our charts.

SPSS Output – Charts

First off, you can adjust basically anything about charts in the chart editor window. You can open one by right clicking a chart as shown below.

This opens a chart editor window as shown below.

As a rule of thumb,only use the chart editor if everything else fails.There’s better ways to adjust charts than using the chart editor window. So let’s explore some of those.

SPSS Chart Templates

You can apply styling -colors, borders, sizes and so on- to charts by setting a chart template before running any charts. The proper way to do so is running something likeSET CTEMPLATE ‘C:\Program Files\IBM\SPSS\Statistics\24\Looks\sometemplate.sgt’.After doing so, all of our bar charts look as shown below. If you have some nice chart templates, it’s a matter of seconds to have all of your charts look great.

SPSS – All Output to WORD

A great way to convert SPSS output to WORD is exporting all contents of the output viewer in one go. You can do so by navigating to File  Export as shown below.

Selecting the options below results in a WORD document containing all tables and charts shown in your output viewer. This is the ideal starting point for writing your report.

Since you can batch edit tables and charts in SPSS -but not in WORD- make sure your output is as good as it gets before converting it. A great way to adjust tables and delete unwanted output items is OUTPUT MODIFY.

Copy-Pasting SPSS Output Tables to WORD

If you need only a handful of output items in WORD, you can also just copy-paste them. The ctrl + c and ctrl + v shortkeys usually work fine for both tables and charts. If it fails, however, use copy special for tables as shown below.

The same goes for copy-pasting charts to WORD: first try ctrl + c. If that doesn’t work, copy the chart as an image as shown below.

SPSS – All Output to Excel

You can convert all contents of your output window -including all tables and charts- in one go to a single Excel sheet. For doing so, navigate to File  Export and select the options shown below.

Copy-Pasting SPSS Output Tables to Excel

If you need just a couple of output tables in Excel, you can copy-paste them with the ctrl + c and ctrl + v shortkeys. If that fails, use copy special as Excel worksheet as shown below.

SPSS Output Tricks

SPSS users tend to waste a lot of time and effort on manually adjusting output items. The easiest way for doing so -like discussed- is using the pivot table editor and chart editor windows. We also suggested to use these only if everything else fails. So which are better -and especially faster– alternatives?

SPSS Output – Final Notes

Right, so that’ll do for introducing SPSS output. I hope we clarified some basics. Some of the output tricks may be suitable only for experienced or even expert SPSS users. However, I thought you should at least be aware that they exist.

Exit mobile version