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 2002, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 10 Jul 2002 14:37:56 -0400
Reply-To:   SAlbert@AOL.COM
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   Steve Albert <SAlbert@AOL.COM>
Subject:   Re: PROC FREQ vs. PROC MEANS
Content-Type:   text/plain; charset=iso-8859-1

Benjamen,

What's the source of the data? Is it integer, or might you actually have some small fractional parts that are unequal, but are close enough together that the values display as equal? (And is there anything odd going on in the formats for these variables?) That might explain the multiple "equal" rows from PROC FREQ, and perhaps even why FREQ and MEANS give different results -- though not the dramatic differences in values that you show!

I like the earlier suggestion of working with a small subset to figure out what's going on; I'd add a suggestion that you standardize all formats to something with enough precision to tell in detail what you've got, and perhaps even explicitly test whether you have small hidden fractions by testing whether x=floor(x).

>Now, the problem is that the data being counted doesn't merely appear >the way PROC FREQ counts it. In fact, when looking at the data (having >saved it to a permanent record a couple times), I would see several >identical rows together, each with a COUNT of 1; these are rows that >should have been combined.

Steve Albert Director of Biostatistics Spectrum Pharmaceutical Research Corp. San Antonio, TX SAlbert at SpectrumCRO dot com


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