Religion 2: Exercise Using SPSS to Explore Relationships Among Variables (RELG2R) (NEW)© The Author, 2010; Last Modified July 8, 2010
Author: Ed Nelson Please contact the author for
additional information. Note to the instructor: The data set used in this exercise is gss0204_subset_for_classes.sav which is a
combination of the 2002 and 2004 General Social Surveys. (Some of the variables in the GSS have been
recoded to make them easier to use and some new variables have been
created.) The data have been weighted
according to instructions from the Goals of Exercise The goal of this exercise is
to explore the relationship between religiosity and other variables using
crosstabulation. This exercise will
focus on two-variable relationships and then on three-variable relationships. The concepts of explanation, spuriousness, and
replication will also be explored. I’m attaching the following files:
Part I--Recoding We’re going to use the
General Social Survey (GSS) for this exercise.
The GSS is a national probability sample of adults in the Religiosity is the strength
of an individual’s attachment to his or her religious affiliation. Several questions on the GSS are possible
indicants of religiosity. One of the
questions asks respondents to estimate the strength of their religious
affiliation. This variable in the GSS is
called RELITEN. Respondents were also
asked how often they attend religious services (ATTEND) and how often they pray
(PRAY). These are all possible indicants
of religiosity, but we’re going to use ATTEND in this exercise. Before you start, run
FREQUENCIES in SPSS to get the frequency distributions for ATTEND. The variable ATTEND has nine
categories. Let’s start by reducing the
number of categories. We’ll combine
every week (value 7) and more than once a week (8) into one category and give
this category a value of 1. Combine once
a month (4), two to three times a month (5), and nearly every week (6) into
another category and give this a value of 2.
Finally, combine never (0), less than once a year (1), once a year (2),
and several times a year (3) into another category and give this a value of
3. Now we have three categories--often
(1), sometimes (2), and infrequently (3).
Be sure to add value labels to make the output easier to read. (Hint: When you use RECODE in SPSS, you can
recode in two different ways—into the same variable or into different
variables. If you recode into the same
variable, be careful. It’s easier, but
if you make a mistake, you will not be able to go back and recode it
again. You will have to close SPSS
without saving the data set and then reopen the data set to get a fresh, clean
copy of the data. So for this exercise
recode into different variables. You’ll
have to give your recoded variable a new name.
Call this one ATTEND1.) Now that you have recoded
these variables, run FREQUENCIES in SPSS to get a frequency distribution for
ATTEND1. Compare this distribution to
the distribution you ran before you started to see if you made any
mistakes. If you made a mistake, redo
this part of the exercise. If you
recoded into the same variable, you will have to exit SPSS (or close your file)
being sure NOT to save it. Then
get back into SPSS and open the gss0204_subset_for_classes.sav file again. The reason for this is that you have altered
the coding of these three variables and will have to get another copy of the
data file to start over. If you saved the
data file, then you would have written over the original copy. So be careful. That’s why we said to recode into different
variables in this exercise. Part II—Analysis of two
variable relationships Let’s start by exploring the
relationship between our measure of religiosity and whether or not respondents
think pornography ought to be illegal to all or only illegal for those under
the age of 18. The variable PORNLAW includes the respondents answers to the
question “Which of these statements comes closest to your feelings about
pornography laws? There should be laws
against the distribution of pornography whatever the age. There should be laws against the distribution
of pornography to persons under 18.
There should be no laws against the distribution of pornography.” Use CROSSTABS in SPSS to get
the crosstabulation of ATTEND1 and PORNLAW.
Be careful when you select the independent and dependent variables. Be sure to select the correct percentages, Part III—Analysis of two
variable relationships continued We know that there are other
variables related to ATTEND1 and PORNLAW.
For example, other research has shown that women are more likely than
men to attend church. Perhaps women are
also more likely than men to feel that pornography ought to be illegal to
everyone. Let’s see if we find these
relationships in our data. Use CROSSTABS to get the
crosstabulation of SEX and ATTEND1 and the relationship of SEX and
PORNLAW. Be sure to select the proper
independent and dependent variables and to ask for the correct percentages, Write a paragraph or two
describing the relationships you find.
Were they what you expected to find? Part IV—Analysis of
multivariate relationships Perhaps the reason that more
religious people are more likely to feel that pornography ought to be illegal
to all regardless of age is that women are more religious than men and women
are also more likely to feel that pornography ought to be illegal to
everyone. If this was true and we were
to take the effect of gender out of the relationship, then we would expect the
relationship between ATTEND1 and PORNLAW to disappear (or to be reduced
considerably). To check on this, let’s do a
three-variable table. Your independent
variable would be ATTEND1; your dependent variable would be PORNLAW; your
control (or test) variable would be SEX.
Be sure to get the correct percentages, If the relationship between
ATTEND1 and PORNLAW goes away for both men and women (or decreases sharply),
then we would say the relationship was spurious and that we have explained away
the relationship between religiosity and feelings about pornography laws. This is often referred to as
explanation. If the relationship between
ATTEND1 and PORNLAW does not change when we control for sex, then we would say
that we have replicated the relationship.
The control variable has not affected the relationship between the
independent and dependent variables. We
call this replication because the relationship between ATTEND1 and PORNLAW has
been replicated (or repeated) for both men and women. Write a paragraph or two
describing what you found when you controlled for gender. Use the percentages, |