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 (December 1999, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 13 Dec 1999 00:07:24 +0000
Reply-To:     John Whittington <John.W@MEDISCIENCE.CO.UK>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         John Whittington <John.W@MEDISCIENCE.CO.UK>
Subject:      Re: RETAIN or NOT RETAIN ?
Comments: To: "Paul M. Dorfman" <sashole@EARTHLINK.NET>
In-Reply-To:  <199912121927.TAA12134@vicar.netnames.net>
Content-Type: text/plain; charset="us-ascii"

At 14:32 12/12/99 -0500, Paul M. Dorfman wrote:

>John, >It seems to me that the way the problem is set, ID = . check is superfluous >- Toben wanted to replace all non-first values in a BY-group with the first >one regardless of what they are. Your code has its own value of leaving all >non-first, non-missing IDs in the BY-group intact. Thus,

Paul, I can't really disagree with that - the code I produced was, as I said, based on the data sample that Toben provided. For that data (i.e. if all non-first values are missing), either your code or mine will do the job (without counting characters, I think mine involves fractionally less typing!). However, if some of the non-first values may be NON-missing, but Toben still wants to replace them with the first value, then he'd need your code, not mine.

Kind Regards,

John

---------------------------------------------------------------- Dr John Whittington, Voice: +44 (0) 1296 730225 Mediscience Services Fax: +44 (0) 1296 738893 Twyford Manor, Twyford, E-mail: John.W@mediscience.co.uk Buckingham MK18 4EL, UK mediscience@compuserve.com ----------------------------------------------------------------


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