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 (July 2004, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 29 Jul 2004 10:27:59 -0400
Reply-To:     Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Howard Schreier <Howard_Schreier@ITA.DOC.GOV>
Subject:      Re: proc means

Very strange.

I get the same thing (V. 9.0).

Here's the code to set up the input dataset:

data back_in; input (OHED OIFF OSG1 OIPV OCON OAGI)($) freq; retain v 1; do i = 1 to freq; seq = ranuni(1); output; end; drop freq i; cards; N N N N N N 48843 N N N Y N N 8593 N N N Y Y N 164 Y N N N N N 3 ;

proc sort data=back_in out=mydata(drop=seq); by seq; run;

On Wed, 28 Jul 2004 18:53:30 -0700, Nathan Nissim Broudo <Nathan.N.Broudo@HEALTHNET.COM> wrote:

>I'm getting different output through the print and noprint options of proc >means: > >When I run: > >proc means data=mydata sum; > var v; > class OHED OIFF OSG1 OIPV OCON OAGI; > types OHED*OIFF*OSG1*OIPV*OCON*OAGI; > output sum= out=count; > run; > >My Output window shows: > > Analysis Variable : v > >OHED OIFF OSG1 OIPV OCON OAGI N Obs Sum >--------------------------------------------------------------------- >N N N N N N 48843 48843.00 > > Y N N 8593 8593.00 > > Y N 164 164.0000000 > >Y N N N N N 3 3.0000000 >--------------------------------------------------------------------- > >While my dataset "count" is: > >Obs OHED OIFF OSG1 OIPV OCON OAGI _TYPE_ _FREQ_ >v > > 1 N N N N N N 63 48843 >48843 > 2 N N N Y N N 63 8593 >8593 > 3 N N N Y Y N 63 164 >164 > 4 Y N N N N N 63 3 >3 > >What's going on ? > > > > >This message,together with any attachments, is >intended only for the use of the individual or entity >to which it is addressed. It may contain information >that is confidential and prohibited from disclosure. >If you are not the intended recipient, you are hereby >notified that any dissemination or copying of this >message or any attachment is strictly prohibited. If >you have received this message in error, please notify >the original sender immediately by telephone or by >return e-mail and delete this message, along with any >attachments, from your computer. Thank you.


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