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 (April 2009, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 15 Apr 2009 13:13:41 -0400
Reply-To:     Nathaniel.Wooding@DOM.COM
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Nat Wooding <Nathaniel.Wooding@DOM.COM>
Subject:      Re: simple min function
In-Reply-To:  <200904151659.n3FAoejB021737@malibu.cc.uga.edu>
Content-Type: text/plain; charset="US-ASCII"

Terry

The min function returns the non-missing min of the variables whose values are not missing so use

min_value = min(of v1-v10);

min_value = min(of v: );

Nat Wooding Environmental Specialist III Dominion, Environmental Biology 4111 Castlewood Rd Richmond, VA 23234 Phone:804-271-5313, Fax: 804-271-2977

Terry He <he.terry@GMAIL.C OM> To Sent by: "SAS(r) SAS-L@LISTSERV.UGA.EDU Discussion" cc <SAS-L@LISTSERV.U GA.EDU> Subject simple min function

04/15/2009 12:59 PM

Please respond to Terry He <he.terry@GMAIL.C OM>

Dear All,

I have 10 numerical variables which are V1-V10.

I want to get the min value of the non missing value from V1-V10.

For example. If V1 is missing and V2-V10 is not missing, then

min_value = min(of v2-v10);

How could I achieve this by simple functions?

Thanks

CONFIDENTIALITY NOTICE: This electronic message contains information which may be legally confidential and or privileged and does not in any case represent a firm ENERGY COMMODITY bid or offer relating thereto which binds the sender without an additional express written confirmation to that effect. The information is intended solely for the individual or entity named above and access by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution, or use of the contents of this information is prohibited and may be unlawful. If you have received this electronic transmission in error, please reply immediately to the sender that you have received the message in error, and delete it. Thank you.


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