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 (June 2007)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 14 Jun 2007 15:06:58 +0000
Reply-To:     behnaz shirazi <mehr59@hotmail.com>
Sender:       "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:         behnaz shirazi <mehr59@hotmail.com>
Subject:      Re: Pair T-Test & Charts
Comments: To: biostatistics@terra.es
In-Reply-To:  <1773143203.20070614110408@terra.es>
Content-Type: text/plain; format=flowed

Thank you very much Marta.Unfortunately as you said this code with a big sample size doesn't work.I think I have to start involving with GPL.

Thanks again for your help Behnaz

>From: Marta García-Granero <biostatistics@terra.es> >Reply-To: Marta García-Granero <biostatistics@terra.es> >To: SPSSX-L@LISTSERV.UGA.EDU >Subject: Re: Pair T-Test & Charts >Date: Thu, 14 Jun 2007 11:04:08 +0200 > >Hi > >Wednesday, June 13, 2007, 9:17:38 PM, You wrote: > >bs> Thank you very much for your useful help.But I wonder how can I have >more >bs> than one pair because I have 8 pair which I would like to show them in >one >bs> chart. I tried to put them all but I can not have more than one Index. > >This example works with two pairs of variables, and it can be easily >extended to more: > >* Sample dataset, replace by your own data *. >DATA LIST LIST/Before1 After1 Before2 After2. >BEGIN DATA > 7.6 14.7 8.1 10.3 > 9.9 14.1 7.1 9.2 > 8.6 11.8 8.7 11.5 > 9.5 16.1 5.9 8.6 > 8.4 14.7 4.1 7.9 > 9.2 14.1 7.4 11.1 > 6.4 13.2 7.1 8.9 > 9.9 14.9 8.9 11.2 > 8.7 12.2 9.0 12.4 > 10.3 13.4 8.3 10.7 > 8.3 14.0 6.6 9.9 >END DATA. > >* For 8 variables, change "Variable(2)" by "Variable(8)" *. >VARSTOCASES /ID = id > /MAKE Result FROM Before1 TO After2 > /INDEX = Variable(2) Index(2). > >* For 8 variables, add labels to Variable 1'First'.... 8'Eighth' *. >VAL LABEL Index 1'Before' 2'After'/ > Variable 1'First' 2'Second'. >GRAPH > /LINE(MULTIPLE)MEAN(Result) BY Index BY id > /PANEL ROWVAR=Variable ROWOP=CROSS . > >HTH & regards, >Marta

_________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


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