home *** CD-ROM | disk | FTP | other *** search
- Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!paladin.american.edu!auvm!!INFO,
- X-Envelope-to: sas-l@ohstvma.bitnet
- X-VMS-To: SASL
- MIME-version: 1.0
- Content-transfer-encoding: 7BIT
- Message-ID: <01GSNIFQVB9E8ZDXQ1@CUBLDR.Colorado.EDU>
- Newsgroups: bit.listserv.sas-l
- Date: Wed, 23 Dec 1992 11:05:54 -0700
- Reply-To: "Gary Pfeifer, Research & Info,
- 2-6743" <PFEIFER_G@CUBLDR.COLORADO.EDU>
- Sender: "SAS(r) Discussion" <SAS-L@UGA.BITNET>
- From: "Gary Pfeifer, Research & Info,
- 2-6743" <PFEIFER_G@CUBLDR.COLORADO.EDU>
- Subject: Re: proc means: changing output order
- Comments: To: sas-l@ohstvma.bitnet
- Lines: 26
-
- heinz otten <UMM200@RHRZ.UNI-BONN.DE> writes:
-
- >Is there any possibility to change the order of the requested statistics of pro
- >c means? I need them in the order std.dev, mean, min, max but even if I request
- > the statistics in this order, proc means output goes min max mean std.dev.
- >Any help would be appreciated,
- >bernd
-
- to which Robert Hamer replies:
-
- >Output the descriptive statistics to a SAS dataset and then print them
- >in any order you want with PROC PRINT, PROC REPORT, or DATA step
- >statements.
-
- this is certainly one way to do it, but a much easier way exists:
-
- simply put the stats you want on the PROC MEANS statement itself, in the
- order you want them printed.
-
- PROC MEANS data=x std mean min max ... ;
- var ... ;
- run ;
-
- That at least is the way it works in SAS 6.07 on MVS.
-
- Gary Pfeifer
-