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 (October 2010, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 21 Oct 2010 09:28:04 -0500
Reply-To:   "Data _null_;" <iebupdte@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Data _null_;" <iebupdte@GMAIL.COM>
Subject:   Re: Saving the sub-means
Comments:   To: toby dunn <tobydunn@hotmail.com>
In-Reply-To:   <BAY123-W43075EEA293BDBB841CDAFDE5D0@phx.gbl>
Content-Type:   text/plain; charset=ISO-8859-1

On Thu, Oct 21, 2010 at 8:52 AM, toby dunn <tobydunn@hotmail.com> wrote: > The proper way to do the Mean Procedure, I stuck with the Class statement because one doesn't have to have it sorted like in the previous Data Step Statement. > However, that means I had to use the Where data step option on the resulting data set.: > > Proc Means > Data = Psy NoPrint ; > Class Student_Id ; > Var Hours GPA ; > ID ACT ; > OutPut Out = Need3 ( Drop = _Type_ _Freq_ > Where = ( Not Missing( Student_ID ) ) ) > Mean = Hours_mean GPA_mean ; > Run ;

Can you explain this a bit more for us commoners. What is different about MEANS that a WHERE data set option is needed? Couldn't you use virtually then same syntax for either MEANS or SUMMARY, e.g. NWAY.


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