Date: Mon, 22 Dec 1997 17:14:11 +0100
Reply-To: Jaap Vink <jgavink@XS4ALL.NL>
Sender: "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From: Jaap Vink <jgavink@XS4ALL.NL>
Organization: XS4ALL, networking for the masses
Subject: Re: Control file
Try this:
COMPUTE LINENR=$CASENUM.
!DEFINE !WILCOX().
!LET !A=0.
!DO !I=50 !TO 50000 !BY 50.
TEMPORARY.
SELECT IF LINENR>!A AND LINENR<=!I.
NPAR TEST
/WILCOXON=var0001 WITH var0002 (PAIRED)
/MISSING ANALYSIS.
LET !A=!I.
!DOEND.
!ENDDEFINE.
!WILCOX.
Good Luck !!!
Jaap Vink
Quantitative Information Consultants
jgavink@xs4all.nl
Magid Gadad wrote in message
<3.0.1.32.19971222051114.006c4b54@155.245.119.254>...
>Hi
>I am trying to write control file to do the loop statement. I have 50000
>observations and I am trying to do wilcoxon test for group of 50 lines at
>time. I want to repeart the same test for 1000 times.
>
>This is wilcoxon test, but i am not sure how to the do repeart for wilcoxon
>test.
>
>NPAR TEST
> /WILCOXON=var0001 WITH var0002 (PAIRED)
> /MISSING ANALYSIS.
>
>Any body can help
>
>best regards
>Magid Gadad
>
>========
>Magid Gadad
>AFM DPT.
>UNIVERSITY OF ESSEX
>WIVENHOE PARK
>COLCHESTER CO4 3SQ
>ENGLAND
>TEL. 01206-873871-2 OR 0468-517469
|