Hi.
I have a SAS script that does various analysis on my data set, like
glm. Like as follows:
proc glm DATA = vc_roi;
class Scanner;
model XLH_2 XLH_3 = Scanner /nouni;
repeated fig 2/ nom mean;
run;
The problem is that I need to run 100+ of different Analysis on the
data. Every procedure gives me a multiple pages of output. So after
the analysis I have tons of output. (See:
http://www.ccbi.cmu.edu/temp/sas.lst for the an output example.) Then
I have to go through the output by hand and pick out the few answers I
need. My question is can I specify in SAS which number(s) of the
output to output(print), or repress some of the output, or better put
some specific output in a variable or table?
Thanks,
Marc Data Mining, Quant, Statistics, Computer Science: Jobs, Resumes :: SAS programming and onsite coordinator. Data Extraction from various sources like Oracle, Flat files, Excel spread sheets and manipulated to the format of http://www.datashaping.com/resumes15208r.shtmlHOME |
Hi Marc,
The short answer to your question is to use ODS to direct the output to a data set
Good luck
The Plumber
You need to start tracing the ODS output like this...
ods trace on;
...sas code...
Then, in the SAS log, each piece of output will have an ODS name.
Once you know which specific bits of output you need, you can
select/exclude particular names:
ods select "some-output-name".
which must appear before the procedure whose output you want to filter. Computational Statistics:: Texts: R. Cody & Smith, Applied Statistics and the SAS Programming Language, SAS procedures discussed include ANOVA, CORR, FORMAT, FREQ, GLM, GCHART, http://www.math.luc.edu/~gmf/courses/303/HOME | To ODS RTF and Beyond, Third Edition:: File Format: PDF/Adobe Acrobat - View as HTMLFor several years as both a statistician and SAS programmer one of the most consistent problems .. ods rtf(2) file="partial glm output.rtf" style=plain; http://www.lexjansen.com/phuse/2005/ts/ts01.pdfHOME |
I did find the ODS function, but I didn't see how I could direct the
output to a data set. Is there an example somewhere?
Marc Microsoft PowerPoint - SAS op HPC_en_Final.ppt:: File Format: PDF/Adobe Acrobat - View as HTMLOutput will be written to the current directory myprogram.lst. If you want to redirect the log or . Disconnect from the main program to a new SAS session http://ludit.kuleuven.be/onderzoek/images/9/93/SASopHPC.pdfHOME | Pearson - Applied Statistics and the SAS Programming Language, 4/E:: Generalizing the Program for a Variable Number of Questions. PROC CORR. PROC DATASETS. PROC FACTOR. PROC FORMAT. PROC FREQ. PROC GLM. PROC LOGISTIC. http://www.pearsonhighered.com/academic/product/0,,0137436424,00+en-USS_01DBC.htmlHOME |
Microsoft Unleashes Visual Studio .NET
IBM's iPhrase Buy Adds to WebSphere
|