home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / bit / listserv / sasl / 5473 < prev    next >
Encoding:
Text File  |  1992-12-23  |  1.5 KB  |  45 lines

  1. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!!INFO,
  3. X-Envelope-to: sas-l@ohstvma.bitnet
  4. X-VMS-To: SASL
  5. MIME-version: 1.0
  6. Content-transfer-encoding: 7BIT
  7. Message-ID: <01GSNIFQVB9E8ZDXQ1@CUBLDR.Colorado.EDU>
  8. Newsgroups: bit.listserv.sas-l
  9. Date:         Wed, 23 Dec 1992 11:05:54 -0700
  10. Reply-To:     "Gary Pfeifer, Research & Info,
  11.               2-6743" <PFEIFER_G@CUBLDR.COLORADO.EDU>
  12. Sender:       "SAS(r) Discussion" <SAS-L@UGA.BITNET>
  13. From:         "Gary Pfeifer, Research & Info,
  14.               2-6743" <PFEIFER_G@CUBLDR.COLORADO.EDU>
  15. Subject:      Re: proc means: changing output order
  16. Comments: To: sas-l@ohstvma.bitnet
  17. Lines: 26
  18.  
  19. heinz otten <UMM200@RHRZ.UNI-BONN.DE> writes:
  20.  
  21. >Is there any possibility to change the order of the requested statistics of pro
  22. >c means? I need them in the order std.dev, mean, min, max but even if I request
  23. > the statistics in this order, proc means output goes min max mean std.dev.
  24. >Any help would be appreciated,
  25. >bernd
  26.  
  27. to which Robert Hamer replies:
  28.  
  29. >Output the descriptive statistics to a SAS dataset and then print them
  30. >in any order you want with PROC PRINT, PROC REPORT, or DATA step
  31. >statements.
  32.  
  33. this is certainly one way to do it, but a much easier way exists:
  34.  
  35. simply put the stats you want on the PROC MEANS statement itself, in the
  36. order you want them printed.
  37.  
  38.   PROC MEANS data=x std mean min max ... ;
  39.     var ... ;
  40.    run ;
  41.  
  42. That at least is the way it works in SAS 6.07 on MVS.
  43.  
  44. Gary Pfeifer
  45.