Date: Tue, 7 Jun 2005 22:57:13 -0400
Reply-To: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Howard Schreier <hs AT dc-sug DOT org>" <nospam@HOWLES.COM>
Subject: Re: transposing or something like that
Shouldn't the last obs. for s1 be
s1 B 2 3 2 4
rather than
s1 B 1 1 2 4
?
On Tue, 7 Jun 2005 16:09:29 -0700, anne olean <annekolean@YAHOO.COM> wrote:
>Hi all, I have a dataset that is arranged as follows:
>
>id "A,1,1,1" "A,1,1,2" "A,1,2,1" "A,1,2,2" ...
>"B,1,1,1", "B,1,1,2" etc.
>s1 2 2 3 ... 2 4
>s2 3 5 4 ... 3 8
>
>
>A and B refer to two different conditions
>the first number refers to 1 of two phases
>the second number refers to 1 of 3 days
>the third number refers to 1 of 2 time points
>
>what I want to create is this:
>
>ID cond phase day time y
>s1 A 1 1 1 2
>s1 A 1 1 2 2
>s1 A 1 2 1 3
>...
>s1 B 1 1 1 2
>s1 B 1 1 2 4
>
>...
>
>
>does anyone know how to do this? i can't figure it
>out. i'm not even sure it's possible..maybe i have to
>create separate files for the two conditions (A and B)
>and then later merge them??
>
>any help is much appreciated. ako
>
>
>
>
>
>
>
>
>
>
>__________________________________
>Discover Yahoo!
>Stay in touch with email, IM, photo sharing and more. Check it out!
>http://discover.yahoo.com/stayintouch.html
|