0% found this document useful (0 votes)
76 views17 pages

Chapter13-Using IBM SPSS Statistic

Uploaded by

chandora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
76 views17 pages

Chapter13-Using IBM SPSS Statistic

Uploaded by

chandora
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 17

CHAPTER

16
USING IBM SPSS
STATISTICS

Introduction 334 Generating a contingency table, chi-square,


and Cramér’s V343
Getting started in SPSS 335
Generating Pearson’s r and Spearman’s rho 344
Beginning SPSS 335
Generating scatter diagrams 345
Entering data in the Data Viewer 335
Comparing means and eta 346
Defining variables: variable names, missing
Generating a contingency table with
values, variable labels, and value labels 337
three variables 346
Recoding variables 338
Further operations in SPSS 347
Computing a new variable 340
Saving your data 347
Data analysis with SPSS 341
Retrieving your data 351
Generating a frequency table 341
Printing output 351
Generating a bar chart 342
Key points 351
Generating a pie chart 342
Generating a histogram 343 Questions for review 352
Generating the arithmetic mean, median,
standard deviation, range, and boxplots 343

CHAPTER OUTLINE

In order to implement the techniques that you learned in Chapter 15, you would need to do either of two
things: learn the underlying formula for each technique and apply your data to it, or use computer
software to analyse your data. The latter is the approach chosen in this book for two main reasons:

• it is closer to the way in which quantitative data analysis is carried out in real research nowadays;

• it helps to equip you with a useful transferable skill.

You will be learning IBM SPSS Statistics, which is the most widely used package of computer software for
doing this kind of analysis. It is relatively straightforward to use. We will be continuing to refer to the
techniques introduced in Chapter 15 and will continue to use the gym survey as an example.

This chapter largely operates in parallel to Chapter 15, so that you can see the links between the
techniques learned there and the use of SPSS to implement them.
334 16 Using IBM SPSS statistics

Introduction
This chapter aims to provide a familiarity with some using SPSS to implement the methods of analysis dis-
basic aspects of SPSS for Windows, which is possibly cussed in Chapter 15.
the most widely used computer software for the anal- SPSS operations will be presented in bold, for exam-
ysis of quantitative data for social scientists. SPSS, ple, Variable Name: and Analyze. Names given to varia-
which originally was short for Statistical Package for bles in the course of using SPSS will be presented in bold
the Social Sciences, has been in existence since the italics, e.g. gender and reasons. Labels given to values
mid-1960s and over the years has undergone many or to variables are also in bold, e.g. reasons for visit-
revisions, particularly since the arrival of personal ing and male. Tips and skills ‘Basic operations in SPSS’
computers. It is now known as IBM SPSS Statistics and presents a list summarizing these. One further element
the version that was used in preparing this chapter was in the presentation is that a right-pointing arrow (➔) will
Release 24. The gym survey used in Chapter 15 will be be used to denote ‘click once with the left-hand button of
employed to illustrate SPSS operations and methods of your mouse’. This action is employed to make selections
analysis. The aim of this chapter is to introduce ways of and for similar activities.

TIPS AND SKILLS


Basic operations in SPSS
• The SPSS Data Editor. This is the sphere of SPSS into which data are entered and subsequently edited and
defined. It is made up of two screens: the Data Viewer and the Variable Viewer. You move between these two
viewers by selecting the appropriate tab at the bottom left of the screen.
• The Data Viewer. This is the spreadsheet into which your data are entered. When you start up SPSS, the Data
Viewer will be facing you.
• The Variable Viewer. This is another spreadsheet, but this one displays information about each of the variables
and allows you to change that information. It is the platform from which you provide, for each variable, such
information as the variable name; a variable label; and value labels (see below).
• The Output Viewer. When you perform an analysis or produce a diagram (called a ‘chart’ in SPSS), your output
will be deposited here. The Output Viewer superimposes itself over the Data Editor after an analysis has been
performed or a chart generated.
• A Variable Name. This is the name that you give to a variable, e.g. gender. The name must be no more than
eight characters. Until you give a variable a name, it will be referred to as var00001, etc. When the variable
has been given a name, it will appear in the column for that variable in the Data View window. It is generated
from the Variable Viewer.
• A Variable Label. This is a label that you can give to a variable but which is not restricted to eight characters.
Spaces can be used, e.g. reasons for visiting. The Label will appear in any output you generate. It is generated
from the Variable Viewer.
• A Value Label. This is a label that you can attach to a code that has been used when entering data for all types
of variables other than interval/ratio variables. Thus, for var00001, we would attach the label ‘male’ to 1 and
‘female’ to 2. When you generate output, such as a frequency table or chart, the labels for each value will be
presented. This makes the interpretation of output easier. It is generated from the Variable Viewer.
• Missing Values. When you do not have data for a particular variable when entering data for a case, you must
specify how you are denoting missing values for that variable. Missing values are generated from the Variable
Viewer.
• Recode. A procedure that allows codes or numbers to be changed. It is especially helpful when you need to
combine groups of people—for example, when producing age bands.
Getting started in SPSS 335

• Compute. A procedure that allows you to combine two or more variables to form a new variable.
• Analyze. This is the point on the menu bar above the Data Editor from which you choose (via a dropdown
menu) which method of analysis you want to select. Note that, whenever an item on a menu appears with a
right-pointing arrowhead (➔) after it, this means that, if you select that option, a further menu will follow on.
• Graphs. This is the point on the menu bar above the Data Editor from which you choose (via a drop-down
menu) which chart you want to select.
• Chart Editor. When you produce a graph, you can edit it with the Chart Editor. To activate this editor,
double-click anywhere in the graph. A small chart editor window will appear and your main graph will appear
opaque until you exit the Editor. From the Editor, you can make various changes and enhancements to your
graph.

Getting started in SPSS


Beginning SPSS Plate 16.1). If it is not highlighted, simply click once
in that cell. Then, type the appropriate figure for that
To start SPSS, double-click on the IBM SPSS Statistics
cell—that is, 1. This number goes directly into that cell
icon on your computer screen. If there is no icon, ➔
and into the box beneath the toolbar. As an alternative
the Start button in the bottom left-hand corner of your
to using the mouse, many people find it easier to use the
screen. From the menu of programs, ➔ IBM SPSS Sta-
arrow keys on their keyboard to move from cell to cell.
tistics. A follow-on menu will appear, from which you
If you make a mistake at any point, simply click once
should select IBM SPSS Statistics 24. When SPSS loads,
in the cell in question, type in the correct value, and
you may be faced with an opening dialog box with the
click once more in that cell. When you have finished,
title ‘What do you want to do?’ and a list of options.
you should end up in the bottom right-hand cell of what
Many users prefer to disable this opening box. It is not
will be a perfect rectangle of data. Plate 16.2 shows
important in relation to the following exposition, so ➔
the Data Viewer with the data from the gym survey
Close. You will then be faced with the SPSS Data Edi-
entered (though only part of the set of data is visible,
tor. This is made up of two components: Data View and
in that only the first 37 respondents are visible). The
Variable View. In the following discussion, these two
top row of the Data Viewer contains the coded answers
screens are referred to as the Data Viewer and the Vari-
from the completed questionnaire in Chapter 15 (see
able Viewer. You move between these two viewers by
Tips and skills ‘A completed and processed question-
selecting the appropriate tab at the bottom of the screen.
naire’ in Chapter 15).
The Data Viewer is in the form of a spreadsheet grid into
In order to proceed further, you will find that SPSS
which you enter your data. The columns represent vari-
works in the following typical sequence for defining vari-
ables—in other words, information about characteristics
ables and analysing your data:
of each person in the gym study sample. Until data are
entered and names are given to variables, each column 1. You make a selection from the menu bar at the top of
simply has var as its heading. The rows represent cases, the screen, e.g. ➔ Analyze.
which can be people (as in the example you will be work- 2. From the menu that will appear, make a selection, e.g.
ing through) or any unit of analysis. Each block in the ➔ Descriptive Statistics ➔ Descriptives.
grid is referred to as a cell. Note also that when the data
3. This will bring up a dialog box in which you will usu-
are in the SPSS spreadsheet, they will look different; for
ally inform SPSS of what you are trying to do—e.g.
example, 1 will be 1.00.
which variables are to be analysed.
4. Very often, you then need to convey further informa-
Entering data in the Data Viewer tion and to do this you have to ➔ a button that will
To input the data into the Data Viewer, make sure that bring up what is called, following Bryman and Cra-
the top left-hand cell in the grid is highlighted (see mer (2011), a sub-dialog box.
336 16 Using IBM SPSS statistics

PLATE 16.1
The SPSS Data Viewer

Each row Each column


represents a case represents a variable

PLATE 16.2
The Data Viewer with ‘gym study’ data entered

This row shows the data for the first person


who answered the Gym Survey questionnaire
Getting started in SPSS 337
5. You then provide the information in the sub-dialog generally applies to variables that are not interval/
box and then go back to the dialog box. Sometimes, ratio variables. The latter, which are numeric vari-
you will need to bring up a further sub-dialog box and ables, do not need to be coded (unless you are group-
then go back to the dialog box. ing them in some way). To assign value labels, ➔ in
the Values column relating to the variable you are
When you have finished going through the entire proce-
working on. A small button with three dots on it will
dure, ➔ OK. The toolbar beneath the menu bar allows
appear. ➔ the button. The Value Labels dialog box
shortcut access to certain SPSS operations.
will appear (see Plate 16.4). ➔ the box to the right
of Value and begin to define the value labels. To do
Defining variables: variable names, this, enter the value (e.g. 1) in the area to the right
of Value and then the value label (e.g. relaxation) in
missing values, variable labels, and
the area to the right of Label. Then ➔ Add. Do this
value labels for each value. When you have finished, ➔ OK.
Once you have finished entering your data, you need to 5. You will then need to inform SPSS of the value that
define your variables. The following steps will allow you you have nominated for each variable to indicate a
to do this: missing value. In the case of reasons, the value is 0
1. ➔ the Variable View tab at the bottom of the Data View- (zero). To assign the missing value, ➔ the cell for this
er (opens the Variable Viewer shown in Plate 16.3). variable in the Missing column. Again, ➔ the button
that will appear with three dots on it. This will gener-
2. To provide a variable name, click on the current vari-
ate the Missing Values dialog box (see Plate 16.5).
able name (e.g. var00003) and type the name you
In the Missing Values dialog box, enter the missing
want to give it (e.g. reasons). Remember that this
value (0) below Discrete missing values: and then
name must be no more than eight characters and you
➔ OK.
cannot use spaces.
3. You can then give your variable a more detailed name, In order to simplify the following presentation, rea-
known in SPSS as a variable label. To do this, ➔ cell sons will be the only variable for which a variable label
in the Label column relating to the variable for which will be defined. Following the procedure in step 2, the
you want to supply a variable label. Then, simply type variables in the dataset are renamed for the remainder
in the variable label (i.e. reasons for visiting). of the presentation: var00001 is gender, var00002 is
age, var00003 is reasons, var00004 is carduse (uses
4. Then you will need to provide ‘value labels’ for vari-
cardio equipment), var00005 is weiuse (uses weights),
ables that have been given codes. The procedure
var00006 is frequent (frequency of visits), var00007

PLATE 16.3
The Variable Viewer

To create Missing Values for


var0003, click here. A little button
with three dots will appear.
338 16 Using IBM SPSS statistics

PLATE 16.4
The Value Labels dialog box

Remember to click on Add after


entering each Value and Label

PLATE 16.5
The Missing Values dialog box

Designates 0 as the
missing value for the
variable in question

is accomp (has accomplished set goals), var00008 is interval/ratio variable such as var00002, which we will
othsourc (uses other sources of exercise beyond visiting give the variable name age. SPSS offers two choices:
the gym), var00009 is exercise (number of exercises), you can recode age so that it will be changed in the Data
var00010 is cardmins (minutes of cardio), var00011 Viewer, or you can keep age as it is and create a new vari-
is weimins (minutes of weights), var00012 is othmins able. This latter option is desirable whenever you want to
(minutes of other sport). preserve the variable in question as well as create a new
one. Since we may want to carry out analyses involving
age as an interval/ratio variable, we will recode it so that
Recoding variables a new variable, which we will call agegp, for age groups,
Sometimes you need to recode variables—for example, will be created. The aim of the following operations is to
when you want to group people. You would need to do create a new variable—agegp—which will comprise five
this in order to produce a table like Table 15.3 for an age bands, as in Table 15.3.
Getting started in SPSS 339
PLATE 16.6
The Recode into Different Variables dialog box

Original name of variable Recoded name of variable

Click here to specify how


values are to be recoded

1. ➔Transform ➔ Recode into Different Variables … 3. ➔ the circle by System- or user-missing and by
[opens Recode into Different Variables dialog box System-missing under New Value, if you have miss-
shown in Plate 16.6] ing values for a variable, which is the case for this
2. ➔ age ➔ [puts age in Numeric Variable −> Output variable
Variable: box] ➔ box beneath Output Variable Name: 4. ➔ circle by Range, LOWEST through value: and
and type agegp ➔ Change [puts agegp in the Numeric type 20 in the box ➔ box by Value under New Value
Variable −> Output Variable: box] ➔ Old and New and type 1 ➔ Add [the new value will appear in the
Values … [opens Recode into Different Variables: Old Old −> New: box]
and New Values sub-dialog box shown in Plate 16.7]

PLATE 16.7
The Recode into Different Variables: Old and New Values sub-dialog box
340 16 Using IBM SPSS statistics

PLATE 16.8
The Compute Variable dialog box

5. ➔ first box by Range: and type 21 and in box after Computing a new variable
through type 30 ➔ box by Value under New Value
and type 2 ➔ Add A person’s total amount of time spent in the gym is made
up of three variables: cardmins, weimins, and othmins.
6. ➔ first box by Range: and type 31 and in box after
If we add these up, we should arrive at the total number
through type 40 ➔ box by Value under New Value
of minutes spent on activities in the gym. In so doing, we
and type 3 ➔ Add
will create a new variable totalmin. To do this, this pro-
7. ➔ first box by Range: and type 41 and in box after cedure should be followed:
through type 50 ➔ box by Value under New Value
and type 4 ➔ Add 1. ➔ Transform ➔ Compute Variable … [opens
the Compute Variable dialog box shown in Plate
8. ➔ circle by Range, value through HIGHEST and
16.8]
type 51 in the box ➔ box by Value in New Value and
type 5 ➔ Add ➔ Continue [closes the Recode into 2. under Target Variable: type totalmin
Different Variables: Old and New Values sub-dialog 3. from the list of variables at the left, ➔ cardmins
box shown in Plate 16.7 and returns you to the Re- [puts cardmins in box beneath Numeric Expression:]
code into Different Variables dialog box shown in ➔ +button ➔ weimins [puts weimins after +
Plate 16.6] sign] ➔ +button; ➔ othmins [puts othmins after
9. ➔ OK + sign]
4. ➔ OK
The new variable agegp will be created and will appear
in the Data Viewer. You would then need to gener- The new variable totalmin will be created and will
ate value labels for the five age bands and possibly a appear in the Data Editor.
variable label using the approach described above. Now at last, we can begin to analyse the data!
Data analysis with SPSS 341

Data analysis with SPSS


Generating a frequency table 2. ➔ reasons for visiting ➔ [puts reasons for visit-
ing in Variable[s]: box]
To produce a frequency table like the one in Table 15.2:
3. ➔ OK
1. ➔ Analyze ➔ Descriptive Statistics ➔ Frequen-
cies … [opens the Frequencies dialog box shown in The table will appear in the Output Viewer (see
Plate 16.9] Plate 16.10).

PLATE 16.9
The Frequencies dialog box

Select variable(s) to be Click here to send the selected


analysed from here variable(s) into the Variable(s): list

PLATE 16.10
The Output Viewer with Frequency table

Number of cases in Percentage of cases Percentage of cases in each


each category in each category category taking missing
values into account
342 16 Using IBM SPSS statistics

Note that in the Frequencies dialog box, variables that Generating a pie chart
have been assigned labels will appear in terms of their
variable labels, but those that have not been assigned To produce a pie chart like the one in Figure 15.3:
labels will appear in terms of their variable names. This 1. ➔ Graphs ➔ Chart Builder … [opens the Chart
is a feature of all dialog boxes produced via Analyze and Builder dialog box shown in Plate 16.12] ➔ Pie/
Graphs (see below). Polar below Choose from: and then ➔ the pie chart
format in the top left-hand corner of the Gallery and
Generating a bar chart drag and drop it into the area above it.
2. ➔ reasons for visiting from below Variables: and
To produce a bar chart like the one in Figure 15.2:
drag and drop into area marked in blue Slice by?]
1. ➔ Graphs ➔ Chart Builder … [opens Chart Builder 3. ➔ OK
dialog box shown in Plate 16.11]
In order to include percentages, as in Figure 15.3,
2. ➔ Bar below Choose from: and then ➔ the simple
double-click anywhere in the chart in order to bring up
bar format in the top left-hand corner of the Gallery
the Chart Editor. The chart will appear in the Chart
and drag and drop it into the area above it. Then ➔
Editor and the main figure will become opaque.
age and drag and drop in the same way as for a bar
Then ➔ Elements and then ➔ Show Data Labels.
chart.
This will place percentages in each slice as a default.
3. ➔ reasons for visiting from below Variables: and If you want the frequencies, ➔ Count in the Proper-
drag and drop into area marked in blue X-Axis? ties sub-dialog box that appears simultaneously (see
4. ➔ OK Plate 16.12).

PLATE 16.11
Creating a bar chart with the Chart Builder

3. Select variables from


here and drag and drop here

1. Select chart type from 2. Select format of graph


here (in this case Bar) here and drag and drop here
Data analysis with SPSS 343
PLATE 16.12
Creating a pie chart with the Chart Builder and Properties box

Your chart will be in colour, but, if you want to print it 2. ➔ age ➔ to the left of Dependent List: [puts age in
and have access only to a monochrome printer, you can the Dependent List: box] ➔ Statistics under Display
change your pie chart into patterns, which allows the ➔ OK
slices to be clearer. This can be done through the Chart
The output will also include the 95 per cent confidence
Editor.
interval for the mean, which is based on the standard error
of the mean. The output can be found in Table 16.1. If you
Generating a histogram select Plots …, the Explore: Plots sub-dialog box will
come up and you can elect to generate a histogram. To
In order to generate a histogram for an interval/ratio vari-
do this, you will need to select either Both or Plots under
able such as age, ➔ Graphs ➔ Chart Builder … [opens
Display on the Explore dialog box. In addition, selecting
the Chart Builder dialog box shown in Plate 16.12] ➔
Both or Plots will produce two further types of figure, one
Histogram below Choose from: and then ➔ the histo-
of which is a boxplot, which was covered in Chapter 15.
gram format you prefer from the Gallery and drag and
drop it into the area above it. Then ➔ age and drag and
drop it in the same way as for a bar chart. This procedure
Generating a contingency table,
will generate a histogram whose age bands are defined
by the software. By double-clicking on the diagram, the
chi-square, and Cramér’s V
histogram can be edited using the Chart Editor. In order to generate a contingency table, like that in Table
15.4, along with a chi-square test and Cramér’s V, use the
Generating the arithmetic mean, following procedure:

median, standard deviation, range, 1. ➔ Analyze ➔ Descriptive Statistics ➔ Cross-


and boxplots tabs … [opens the Crosstabs dialog box shown in
Plate 16.13]
To produce the mean, median, standard deviation, and the
2. ➔ reasons for visiting ➔ by Row[s] [reasons
range for an interval/ratio variable such as age, the fol-
for visiting will appear in the Row[s]: box] ➔ gen-
lowing steps should be followed:
der ➔ by Column[s]: [gender will appear in the
1. ➔ Analyze ➔ Descriptive Statistics ➔ Explore … Column[s]: box] ➔ Cells … [opens Cross-tabs: Cell
[opens the Explore dialog box] Display sub-dialog box shown in Plate 16.14]
344 16 Using IBM SPSS statistics

TABLE 16.1
Explore output for age (SPSS output)
Explore

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

age 89 98.9% 1 1.1% 90 100.0%

Descriptives

Statistic Std. Error

age Mean 33.5955 .94197


95% Confidence Interval for Mean Lower Bound 31.7235
Upper Bound 35.4675
5% Trimmed Mean 33.3159
Median 31.0000
Variance 78.971
Std. Deviation 8.88656
Minimum 18.00
Maximum 57.00
Range 39.00
Interquartile Range 14.00
Skewness .446 .255
Kurtosis −.645 .506

3. Make sure Observed in the Counts box has been se- Generating Pearson’s r and Spearman’s
lected. Make sure Column under Percentages has
rho
been selected. If either of these has not been selected,
simply click at the relevant point. ➔ Continue [closes To produce Pearson’s r in order to find the correlations
Crosstabs: Cell Display sub-dialog box and returns between age, cardmins, and weimins, follow these
you to the Crosstabs dialog box shown in Plate 16.13] steps:
4. ➔ Statistics … [opens the Crosstabs: Statistics sub- 1. ➔ Analyze ➔ Correlate ➔ Bivariate … [opens Bi-
dialog box shown in Plate 16.15] variate Correlations dialog box shown in Plate
5. ➔ Chi-square ➔ Phi and Cramér’s V ➔ Continue 16.16]
[closes Crosstabs: Statistics sub-dialog box and 2. ➔ age ➔ ➔ cardmins ➔ ➔ weimins ➔
returns you to the Crosstabs dialog box shown in [age, cardmins, and weimins should now be in the
Plate 16.13] Variables: box] ➔ Pearson [if not already selected]
6. ➔ OK ➔ OK

The resulting output can be found in Table 16.2. The resulting output is in Table 16.3.
If you have a table with two dichotomous variables, To produce correlations with Spearman's rho (ρ), follow
you would use the same sequence of steps to produce the same procedure, but, instead of selecting Pearson,
phi. you should ➔ Spearman instead.
Data analysis with SPSS 345
PLATE 16.13
The Crosstabs dialog box

Select and place here the variable that will make Select and place here the variable that
up the rows. This will be the dependent variable will make up the columns. This will be the
if it is possible and legitimate to make a independent variable if it is possible and
claim about likely causality legitimate to make a claim about likely causality

Click here to bring up the Crosstabs: Statistics Click here to bring up the Crosstabs: Cell Display
sub-dialog box (Plate 16.15) in order to select sub-dialog box (Plate 16.14) to select the
chi-square and other measures of association kinds of information that will be included in
that often accompany contingency tables each cell, such as column percentages

Generating scatter diagrams format which is in the top left-hand corner and drag
and drop into the area above the scatter diagram
Scatter diagrams, known as scatterplots in SPSS, are pro- formats
duced in the following way. Let us say that we want to plot
3. ➔ cardmins and drag and drop into area designated
the relationship between age and cardmins. There is a
Y-Axis? and ➔ age and drag and drop into area des-
convention that, if one variable can be identified as likely
ignated X-Axis? (see Plate 16.17)
to be the independent variable, it should be placed on the x
axis—that is, the horizontal axis. Since age is bound to be A scatter diagram in the default format is shown in Figure
the independent variable, we would follow these steps: 16.1. The scatter diagram can then be edited by bringing
up the Chart Editor by double-clicking anywhere in the
1. ➔ Graphs ➔ Chart Builder [opens the Chart Builder diagram. For example, the type and size of the markers
dialog box shown in Plate 16.17] can be changed by clicking anywhere in the chart in the
2. ➔ Scatter/Dot from below Choose from:. Then Chart Editor. This brings up a Properties sub-dialog
select from the scatter diagram formats, the basic box, which allows a variety of changes to the appearance
346 16 Using IBM SPSS statistics

PLATE 16.14
The Crosstabs: Cell Display sub-dialog box

Select Observed to show the number


of cases in each cell in the table

Select Column for the percentage of cases


of each category of a column variable

of the diagram, such as colour and appearance of the Generating a contingency table with
points on the plot.
three variables
To create a table like that in Table 15.7, you would need
Comparing means and eta to follow these steps:
To produce a table like Table 15.5, these steps should be
1. ➔ Analyze ➔ Descriptive Statistics ➔ Crosstabs …
followed:
[opens the Crosstabs dialog box shown in Plate 16.13]
1. ➔ Analyze ➔ Compare Means ➔ Means … [opens 2. ➔ othsourc ➔ Independent List: by Row[s]
the Means dialog box shown in Plate 16.18] [othsourc will appear in the Row[s]: box]
2. ➔ cardmins ➔ to the left of Dependent List: 3. ➔ age3 [this is the name we gave when we created a
[puts cardmins in the Dependent List: box] ➔ rea- new variable with age recoded into three categories] ➔
sons for visiting ➔ to the left of Independent Independent List: by Column[s]: [age3 will appear
List: [puts reasons for visiting in the Independent in the Column[s]: box] ➔ gender ➔ Independent
List:box]➔ Options … [opens the Means: Options List: beneath Previous [gender will appear in the box
sub-dialog box] underneath Layer 1 of 1] ➔ Cells [opens Crosstabs:
3. ➔ Anova table and eta underneath Statistics for Cell Display sub-dialog box shown in Plate 16.14]
First Layer ➔ Continue [closes the Means: Options 4. Make sure Observed in the Counts box has been se-
sub-dialog box and returns you to the Means dialog lected. Make sure Column under Percentages has
box shown in Plate 16.18] ➔ OK been selected. If either of these has not been selected,
Further operations in SPSS 347
PLATE 16.15
The Crosstabs: Statistics sub-dialog box

Select to provide a chi-square


statistic for the contingency table

Select to generate phi and/or Cramer’s V

simply click at the relevant point. ➔ Continue [closes The Save Data As dialog box will then appear. You
Crosstabs: Cell Display sub-dialog box and returns will need to provide a name for your data, which will
you to the Crosstabs dialog box shown in Plate 16.13] be placed after File name: We called the file ‘gym
5. ➔ OK study’. You also need to decide where you are going to
save the data—for example, onto a memory stick. To
The resulting table will look somewhat different from select the destination drive, ➔ the downward pointing
Table 15.7 in that gender will appear as a row rather than arrow to the left of Look in and then select the drive
as a column variable. and folder into which you want to place your data.
Then ➔ Save.
Remember that this procedure saves your data and
Further operations any other work you have done on your data—for exam-
ple, value labels and recoded variables. If you subse-
in SPSS quently use the data again and do more work on your
data, such as creating a new variable, you will need to
save the data again or the new work will be lost. SPSS
Saving your data will give you a choice of renaming your data, in which
You will need to save your data for future use. To do this, case you will have two files of data (one with the original
make sure that the Data Editor is the active window. data and one with any changes), or keeping the same
Then: name, in which case the file will be changed and the
➔ File ➔ Save As … existing name retained.
348 16 Using IBM SPSS statistics

TABLE 16.2
Contingency table for reasons for visiting by gender (SPSS output
Crosstabs

Case Processing Summary

Cases

Valid Missing Total

N Percent N Percent N Percent

reasons for visiting * gender 90 100.0% 0 0.0% 90 100.0%

reasons for visiting * gender Crosstabulation

gender

Male Female Total

reasons for visiting relaxation Count 3 6 9


% within gender 7.1% 12.5% 10.0%
fitness Count 15 16 31
% within gender 35.7% 33.3% 34.4%
lose weight Count 8 25 33
% within gender 19.0% 52.1% 36.7%
build strength Count 16 1 17
% within gender 38.1% 2.1% 18.9%
Total Count 42 48 90
% within gender 100.0% 100.0% 100.0%

Chi-Square Tests

Value df Asymp. Sig. (2-sided)

Pearson Chi-Square 22.726a 3 .000


Likelihood Ratio 25.805 3 .000
Linear-by-Linear Association 9.716 1 .002
N of Valid Cases 90

a
2 cells (25.0%) have expected count less than 5. The minimum expected count is 4.20.

Symmetric Measures

Value Approx. Sig.

Nominal by Nominal Phi .503 .000


Cramer’s V .503 .000
N of Valid Cases 90
Further operations in SPSS 349
PLATE 16.16
The Bivariate Correlations dialog box

All variables to be
correlated go here

Select Pearson and Spearman


depending on the kinds of
variables being analysed

TABLE 16.3
Correlations output for age, weimins, and cardmins (SPSS output)
Correlations

Correlations

age cardmins weimins

age Pearson Correlation 1 −.109 −.273**


Sig. (2-tailed) .311 .010
N 89 89 89
cardmins Pearson Correlation −.109 1 −.161
Sig. (2-tailed) .311 .130
N 89 90 90
weimins Pearson Correlation −.273** −.161 1
Sig. (2-tailed) .010 .130
N 89 90 90

**.Correlation is significant at the 0.01 level (2-tailed).

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy