<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: IMPROVE SAS OUTPUT in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/IMPROVE-SAS-OUTPUT/m-p/54303#M1446</link>
    <description>Hello L&amp;amp;L,&lt;BR /&gt;
&lt;BR /&gt;
I think that you need some output from ANOVA in the form of a dataset. It is very easy to achieve with ODS output tables like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ODS output HOVFTest=HT;&lt;BR /&gt;
proc anova data=sashelp.class;&lt;BR /&gt;
  class age;&lt;BR /&gt;
  model Height=age;&lt;BR /&gt;
  means age/hovtest=levene;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
The procedure creates a dataset HT containing p-value and other parameters of Levene's test. Then you can add/merge this dataset with descriptive statistics. The list of all available ODS tables for ANOVA you can find in DETAILS/ODS TABLE NAMES section of HELP for this procedure.&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
    <pubDate>Thu, 23 Dec 2010 16:53:02 GMT</pubDate>
    <dc:creator>SPR</dc:creator>
    <dc:date>2010-12-23T16:53:02Z</dc:date>
    <item>
      <title>IMPROVE SAS OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/IMPROVE-SAS-OUTPUT/m-p/54302#M1445</link>
      <description>Dear all,&lt;BR /&gt;
&lt;BR /&gt;
I would like to improve the quality of a statistic report. &lt;BR /&gt;
Actually, if I want to report differences among groups I proceed as follow (for example in case of quantitative variable first I produce a table with a descriptive analisys and second a proc anova or a non parametric test):&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
1)	PROC TABULATE DATA=XX;&lt;BR /&gt;
    &lt;BR /&gt;
		CLASS YY / missing  ORDER=formatted descending;&lt;BR /&gt;
		var JJ;&lt;BR /&gt;
		classlev YY; 	 	&lt;BR /&gt;
                                TABLE &lt;BR /&gt;
	    	YY=’Label ',&lt;BR /&gt;
    		all='Total', &lt;BR /&gt;
	    	JJ='Mean'*(mean='Mean' StdDev='SD' min='Min' max='Max' &lt;BR /&gt;
		 p25='' median='Median' p75='' N )/misstext='0.00';&lt;BR /&gt;
     	           RUN;&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;
2)	 title "ANOVA";&lt;BR /&gt;
&lt;BR /&gt;
                  PROC ANOVA DATA=XX;&lt;BR /&gt;
		CLASS YY;&lt;BR /&gt;
    		MODEL JJ = YY;    &lt;BR /&gt;
		MEANS YY / HOVTEST=LEVENE ;&lt;BR /&gt;
                  RUN;&lt;BR /&gt;
&lt;BR /&gt;
Do you have any idea to summarize the results in one table (for example the descriptive analisys together with the p-value)?&lt;BR /&gt;
&lt;BR /&gt;
Thanks in advance for your input!</description>
      <pubDate>Thu, 23 Dec 2010 13:41:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/IMPROVE-SAS-OUTPUT/m-p/54302#M1445</guid>
      <dc:creator>L_L</dc:creator>
      <dc:date>2010-12-23T13:41:18Z</dc:date>
    </item>
    <item>
      <title>Re: IMPROVE SAS OUTPUT</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/IMPROVE-SAS-OUTPUT/m-p/54303#M1446</link>
      <description>Hello L&amp;amp;L,&lt;BR /&gt;
&lt;BR /&gt;
I think that you need some output from ANOVA in the form of a dataset. It is very easy to achieve with ODS output tables like this:&lt;BR /&gt;
[pre]&lt;BR /&gt;
ODS output HOVFTest=HT;&lt;BR /&gt;
proc anova data=sashelp.class;&lt;BR /&gt;
  class age;&lt;BR /&gt;
  model Height=age;&lt;BR /&gt;
  means age/hovtest=levene;&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
The procedure creates a dataset HT containing p-value and other parameters of Levene's test. Then you can add/merge this dataset with descriptive statistics. The list of all available ODS tables for ANOVA you can find in DETAILS/ODS TABLE NAMES section of HELP for this procedure.&lt;BR /&gt;
Sincerely,&lt;BR /&gt;
SPR</description>
      <pubDate>Thu, 23 Dec 2010 16:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/IMPROVE-SAS-OUTPUT/m-p/54303#M1446</guid>
      <dc:creator>SPR</dc:creator>
      <dc:date>2010-12-23T16:53:02Z</dc:date>
    </item>
  </channel>
</rss>

