LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (December 2011)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 15 Dec 2011 20:36:07 +0000
Reply-To:     "Poes, Matthew Joseph" <mpoes@UILLINOIS.EDU>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         "Poes, Matthew Joseph" <mpoes@UILLINOIS.EDU>
Subject:      Re: Calculating BDI score with SPSS20
Comments: To: SPSS Giesel <spss.giesel@yahoo.de>
In-Reply-To:  <41AE3ADE-5D1B-42D5-A030-1DD85DEECAA8@yahoo.de>
Content-Type: text/plain; charset="us-ascii"

I think below would potentially be problematic if there was missing data. The problem you can run into is that missing is also not equal to yes.

I would probably handle it this way. Do if Q19b="no". Compute Q19a_r=Q19a. End if.

Or

If Q19b="no" Q19a_r=Q19a.

Note that "No" is often coded as a number, if it actually says No in the data set and is thus a string variable, you would need to use the " around the NO. However, since it only can read the string exactly as it's written, I typically recode these kinds of string variables and do a check to be sure that they are all correctly recoded to a new indicator variable (typically 0=No and 1=Yes).

Another solution that would use the below method acceptably is to do a recode.

Recode Q19b ("yes"=0)("no"=1) into Q19bx. Compute q19a_r=Q19a*Q19bx.

All of these approaches do the same thing. You just need to watch if a specific approach might include a group you don't want to include, such as those missing data.

Matthew J Poes Research Data Specialist Center for Prevention Research and Development University of Illinois

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of SPSS Giesel Sent: Thursday, December 15, 2011 2:21 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Re: Calculating BDI score with SPSS20

COMPUTE q19score = (q19b NE "yes") * q19a.

Untested. Hope that helps.

Good Luck, Mario

================== Mario Giesel Im Kirchwinkel 12 52499 Baesweiler Tel. 02401 / 693 9040 ==================

Am 15.12.2011 um 20:42 schrieb benfranklin23 <coogan@upenn.edu>:

> I am a novice SPSS user and have (I believe) a fairly straightforward > question, but don't know the correct terminology, so have been unable > to find an answer online. I apologize in advance if this question is > simplistic! > > I want to calculate scores for the Beck Depression Inventory (BDI) and > already know how to create a variable for the total score (I have > numbered responses of 0-3 for each question, and for most questions it > is just a matter of adding up the responses) . However, question 19 has two parts. > Part A is a normal 0-3 scale, but Part B has a yes or no response. If > the response is "yes", part A should not be included in the total > score, but if the response is "no" than Part A needs to be added. > > What is the correct terminology for the calculation I need to do, and > can anyone explain to me how to do it? > > Thanks a lot! > > -- > View this message in context: > http://spssx-discussion.1045642.n5.nabble.com/Calculating-BDI-score-wi > th-SPSS20-tp5078520p5078520.html Sent from the SPSSX Discussion > mailing list archive at Nabble.com. > > ===================== > To manage your subscription to SPSSX-L, send a message to > LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except > the command. To leave the list, send the command SIGNOFF SPSSX-L For a > list of commands to manage subscriptions, send the command INFO > REFCARD

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page