Date: Wed, 1 Sep 1999 07:31:35 -0400
Reply-To: Raynald Levesque <rlevesque@VIDEOTRON.CA>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Raynald Levesque <rlevesque@VIDEOTRON.CA>
Subject: Re: Point Biserial Correlation
Content-type: text/plain; charset=iso-8859-1
Hi Grant
This will do it:
DO REPEAT V=q1 TO q2 /N=qtop1 TO qtop2.
COUNT N= V(1) V(2) .
END REPEAT.
EXECUTE .
(You do not need the IF ... END IF sequence)
HTH
Raynald Levesque rlevesque@videotron.ca
----- Original Message -----
From: Grant <grant@ASKAFRIKA.CO.ZA>
Newsgroups: bit.listserv.spssx-l
To: <SPSSX-L@LISTSERV.UGA.EDU>
Sent: Wednesday, September 01, 1999 4:42 AM
Subject: Re: Point Biserial Correlation
> Hi all,
>
> I would appreciate some help with the DO REPEAT sub command. I been
> unsuccessful after a number of attempts. I need to create a new variable
> variable indicating if the respondent made a 1 or 2 selection on a 5
> point scale. This new variable is the used to indicate the percentage of
> respondents selecting either a 1 or 2. This has to be repeated about 73
> times.
>
> This syntax works when done one by one, but I have been unable to the DO
> REPEAT to work.
>
> DO IF (q1=1 or q1= 2 or q1= 3 or q1= 4 or q1= 5) .
> COUNT
> q1top= q1(1) q1(2) .
> END IF .
> EXECUTE .
>
>
> Any suggestions will be greatly appreciated.
>
> Regards,
> Grant
|