Date: Mon, 5 Mar 2012 15:09:56 +0000
Reply-To: "Zdeb, Michael S" <mzdeb@ALBANY.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Zdeb, Michael S" <mzdeb@ALBANY.EDU>
Subject: Re: output from regression?
In-Reply-To: <201203051403.q2555FW4022822@waikiki.cc.uga.edu>
Content-Type: text/plain; charset="us-ascii"
hi ... I think that the original posting wanted to know if there was some way to create a data set of observations that were used by the PROC in the MODEL creation rather than just produce summary stats and I don't think that's possible even with any of the ODS tables
since it's usually the case that a MODEL statement uses any obs with no missing data, it's easy in a data step to find all observations with no missing data since CMISS counts missing NUM and CHAR variables (though the original post wanted to avoid a data step !) ...
data nomiss;
set mydata;
if ^cmiss(of _all_);
run;
Mike Zdeb
U@Albany School of Public Health
One University Place (Room 119)
Rensselaer, New York 12144-3456
P/518-402-6479 F/630-604-1475
________________________________________
From: SAS(r) Discussion [SAS-L@LISTSERV.UGA.EDU] on behalf of Rick Wicklin [rick.wicklin@SAS.COM]
Sent: Monday, March 05, 2012 9:03 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: Re: output from regression?
On Sun, 4 Mar 2012 10:11:09 -0800, Fareeza Khurshed <fkhurshed@GMAIL.COM>
wrote:
>Try the simple option in the proc logistic statement for simple
descriptive statistics. You can save these using an ods statement.
>
>Fareeza
>
Yes. And just to be clear, the SIMPLE option is also supported in PROC
REG. It produces descriptive statistics for those observations that are
actually used in the analysis. The variables shown are those in the MODEL
statement (or VAR statement).
Many SAS/STAT procedures support the SIMPLE option, although the
statistics vary from PROC to PROC.
Rick Wicklin
Statistical programming and SAS/IML blog: http://blogs.sas.com/content/iml