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 2011, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 3 Mar 2011 08:08:49 -0800
Reply-To:     hua gang <hg448@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         hua gang <hg448@YAHOO.COM>
Subject:      a function or quick way to compute average with min number of
              non-missing data points
In-Reply-To:  <201103031531.p23BleZf005376@waikiki.cc.uga.edu>
Content-Type: text/plain; charset=us-ascii

I wanted the average for each subject as long as they have 3 non-missing data points (id 03 should be dropped because he only has two non-missing data points). Is there any quick way to do it?

Thanks,

Jian

datalines; 01 1 3 4 . 02 1 2 1 2 03 1 . 2 . ;


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