home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / bit / listserv / sasl / 3751 < prev    next >
Encoding:
Text File  |  1992-08-17  |  1.3 KB  |  36 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!paladin.american.edu!auvm!SWIRL.MONSANTO.COM!GIBES
  3. Message-ID: <9208171310.AA18424@tin.monsanto.com>
  4. Newsgroups: bit.listserv.sas-l
  5. Date:         Mon, 17 Aug 1992 08:10:19 -0500
  6. Reply-To:     Kernon Gibes <gibes@SWIRL.MONSANTO.COM>
  7. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  8. From:         Kernon Gibes <gibes@SWIRL.MONSANTO.COM>
  9. Subject: RE: MEANS/SUMMARY and Weight Statement in 6.07
  10. Comments: To: SAS-L@uga.cc.uga.edu@tin.monsanto.com
  11. Comments: cc: GIBES@tin.monsanto.com
  12. Lines: 22
  13.  
  14.  CONTENT:   f/u on Howard's f/u
  15.  SUMMARY:   Agree, except probably want SELECT UNIQUE...
  16.  REL/PLTF:  6.07/ n.a.
  17.  E-ADDR:    gibes@swirl.monsanto.com
  18.  NAME:      Kernon Gibes
  19.  DATE:      17 August 1992
  20.  
  21. I agree with everything Howard Schreier had to say about my response
  22. to the PROC SUMMARY shortcut/SQL approach except that with respect to
  23. getting the global stats (_type_=0), Howard wrote:
  24.  
  25. >Same SELECT statement, but without the GROUP BY and ORDER BY
  26. >clauses,   should   do  it.   Also,  there  is  an  unstated
  27. >...
  28.  
  29. in addition, you'd probably want to add UNIQUE to the SELECT statement,
  30. as in:
  31.  
  32.    select unique myclass, /*** etc ***/
  33.  
  34. otherwise you'll get ALL the observations with the global summary stats
  35. merged back in instead of just one observation.
  36.