home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!spool.mu.edu!darwin.sura.net!paladin.american.edu!auvm!SUVM.BITNET!SKPWORK
- From: SKPWORK@SUVM.BITNET (Sanjay K. Pandey)
- Newsgroups: bit.listserv.sas-l
- Subject: reshaping raw data ...
- Message-ID: <SAS-L%92110721553891@VM.MARIST.EDU>
- Date: 8 Nov 92 02:52:25 GMT
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- Reply-To: "Sanjay K. Pandey" <SKPWORK@SUVM.BITNET>
- Lines: 26
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
-
- Fellow SAS-lers:
-
- I am stumped on how to do the following with some raw data
- I have. I would be grateful for any advice on how to accomplish
- this task.
-
- I have a dataset of the following form which I wish to transform:
-
- ORIGINAL TRANSFORMED
-
- ID X1 X2 X3 X4 X5 ID X1 X2 X3 X4 X5
-
- 1 1 . 2 . . 1 1 3 2 4 .
- 1 . 3 . 4 . 2 1 2 3 . 4
- 1 . . . . . 3 1 . . . .
- 2 1 2 3 . .
- 2 . . . . 4
- 3 1 . . . .
-
- X1 to X5 are measures on a given ID and they are recorded as
- separate observations. I want to read a particular ID value
- as one observation. For a given ID there is only
- one non-missing value for x1-x5.
-
- Thanks
- sanjay
-