<?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: Proc Freq Trend Test Output in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241703#M55717</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, the output using the Output statement is more useful. Many Thanks!&lt;/P&gt;</description>
    <pubDate>Mon, 04 Jan 2016 18:40:04 GMT</pubDate>
    <dc:creator>BTAinRVA</dc:creator>
    <dc:date>2016-01-04T18:40:04Z</dc:date>
    <item>
      <title>Proc Freq Trend Test Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241679#M55714</link>
      <description>&lt;P&gt;I'm runing the code below to get Cochran-Armitage trend test output for each medical facility. Is there a way to get all test results outputted to a single table? The code below doesn't give me the trend test results.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;freq&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt; = PPIP_new ; &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;tables&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; Tmt_ID_Name*PPH*CQ / &lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;trend&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;out&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;=trend_data;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;title&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt; &lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;&lt;FONT color="#800080" face="Courier New" size="2"&gt;'trend by MTF for each cq'&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; ;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;Thanks,&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 17:00:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241679#M55714</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2016-01-04T17:00:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq Trend Test Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241689#M55715</link>
      <description>Use the ODS TABLES. This post details how to filter/select your tables and save them to a dataset.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/Okay-ODS-just-give-me-what-I-want/ta-p/221750" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/Okay-ODS-just-give-me-what-I-want/ta-p/221750&lt;/A&gt;</description>
      <pubDate>Mon, 04 Jan 2016 17:19:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241689#M55715</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-01-04T17:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq Trend Test Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241690#M55716</link>
      <description>&lt;P&gt;Using the ODS tables, as &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13879"&gt;@Reeza﻿&lt;/a&gt;&amp;nbsp;has suggested, is always possible. In this specific case, however, I personally would prefer the OUTPUT statement:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data = PPIP_new;
tables Tmt_ID_Name*PPH*CQ / trend out=trend_data;
output out=catest trend;
title 'trend by MTF for each cq';
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;(CATEST is just an arbitrary dataset name.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find the structure of this output dataset more convenient than that of the TrendTest ODS output dataset, which you could create as follows:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods output TrendTest=tt;
proc freq data = PPIP_new;
tables Tmt_ID_Name*PPH*CQ / trend out=trend_data;
title 'trend by MTF for each cq';
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You will see, for example, that CATEST contains variable Tmt_ID_Name, whereas dataset TT (again an arbitrary name) does not.&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 17:35:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241690#M55716</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2016-01-04T17:35:18Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq Trend Test Output</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241703#M55717</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/32733"&gt;@FreelanceReinh﻿&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, the output using the Output statement is more useful. Many Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Jan 2016 18:40:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Freq-Trend-Test-Output/m-p/241703#M55717</guid>
      <dc:creator>BTAinRVA</dc:creator>
      <dc:date>2016-01-04T18:40:04Z</dc:date>
    </item>
  </channel>
</rss>

