How many cases with multiple responses?

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How many cases with multiple responses?

lts1
Hi SPSSers,

I have a set of variables (E20a to E20g). They are dummy variables with a
value of either 0 ro 1.

I am trying to find out how many cases contain a value of 1 in two or more
of these variables. Can anyone think of a quick and easy way to do this?

Thanks in advance.

   Best,
      Lisa

Lisa T. Stickney, Ph.D.
Assistant Professor
Merrick School of Business
University of Baltimore
[hidden email]

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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
Reply | Threaded
Open this post in threaded view
|

Re: How many cases with multiple responses?

Lightfoot Russell
I'd just do the following:

compute test = sum(E20a to E20g).
exe.
freq test.

You can then read how many cases contain a value of 1 in two or more of the variables from the frequency table.

hth--Russ

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of lts1
Sent: Tuesday, April 28, 2009 12:45 PM
To: [hidden email]
Subject: How many cases with multiple responses?

Hi SPSSers,

I have a set of variables (E20a to E20g). They are dummy variables with a value of either 0 ro 1.

I am trying to find out how many cases contain a value of 1 in two or more of these variables. Can anyone think of a quick and easy way to do this?

Thanks in advance.

   Best,
      Lisa

Lisa T. Stickney, Ph.D.
Assistant Professor
Merrick School of Business
University of Baltimore
[hidden email]

=====================
To manage your subscription to SPSSX-L, send a message to [hidden email] (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
[hidden email] (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
Reply | Threaded
Open this post in threaded view
|

Re: How many cases with multiple responses?

Marks, Jim
In reply to this post by lts1
Not tested, but should do the job:

COUNT dummies = E20a TO E20g (1).

--jim

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of lts1
Sent: Tuesday, April 28, 2009 11:45 AM
To: [hidden email]
Subject: How many cases with multiple responses?

Hi SPSSers,

I have a set of variables (E20a to E20g). They are dummy variables with a
value of either 0 ro 1.

I am trying to find out how many cases contain a value of 1 in two or more
of these variables. Can anyone think of a quick and easy way to do this?

Thanks in advance.

   Best,
      Lisa

Lisa T. Stickney, Ph.D.
Assistant Professor
Merrick School of Business
University of Baltimore
[hidden email]

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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
[hidden email] (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
Reply | Threaded
Open this post in threaded view
|

Re: How many cases with multiple responses?

lts1
My thanks to all who replied! As always, you were most helpful.

   Cheers,
      Lisa :)


On Tue, 28 Apr 2009 12:45:25 -0500, "Marks, Jim" <[hidden email]>
wrote:

> Not tested, but should do the job:
>
> COUNT dummies = E20a TO E20g (1).
>
> --jim
>
> -----Original Message-----
> From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of
> lts1
> Sent: Tuesday, April 28, 2009 11:45 AM
> To: [hidden email]
> Subject: How many cases with multiple responses?
>
> Hi SPSSers,
>
> I have a set of variables (E20a to E20g). They are dummy variables with a
> value of either 0 ro 1.
>
> I am trying to find out how many cases contain a value of 1 in two or
more

> of these variables. Can anyone think of a quick and easy way to do this?
>
> Thanks in advance.
>
>    Best,
>       Lisa
>
> Lisa T. Stickney, Ph.D.
> Assistant Professor
> Merrick School of Business
> University of Baltimore
> [hidden email]
>
> =====================
> To manage your subscription to SPSSX-L, send a message to
> [hidden email] (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
> [hidden email] (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
[hidden email] (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