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 (March 2003, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Mon, 10 Mar 2003 10:46:05 -0500
Reply-To:   "Brucken, Nancy" <Nancy.Brucken@PFIZER.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Brucken, Nancy" <Nancy.Brucken@PFIZER.COM>
Subject:   Re: how to get mode as output varialbe
Content-Type:   text/plain; charset="iso-8859-1"

Hi Juan, You can get the mode of a variable output to a SAS dataset with PROC UNIVARIATE:

proc univariate data=mydata; var myvar; output out=stats mode=modemyvar; run;

Hope this helps, Nancy

Nancy Brucken Development Informatics Pfizer Global Research & Development, Ann Arbor (734) 622-5767 E-mail address: Nancy.Brucken@pfizer.com

-----Original Message----- From: Juan [mailto:juan.news.invalid@WEB2NEWS.NET] Sent: Monday, March 10, 2003 10:39 AM To: SAS-L@LISTSERV.UGA.EDU Subject: how to get mode as output varialbe

Hello,

Does anybody know in which proc step I can get mode of a variable as an output to a sasdataset?

Thanks in advance

Juan -- Direct access to this group with http://web2news.com http://web2news.com/?comp.soft-sys.sas

LEGAL NOTICE Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.


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