<?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: paired t-test macro in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/paired-t-test-macro/m-p/302491#M16082</link>
    <description>&lt;P&gt;I think that's just an ANOVA?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the examples of multiple comparison. Make sure to adjust for multiple tests.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_anova_sect027.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_anova_sect027.htm&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 05 Oct 2016 00:04:53 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-10-05T00:04:53Z</dc:date>
    <item>
      <title>paired t-test macro</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/paired-t-test-macro/m-p/302487#M16081</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need some help with a macro procedure for paired t-tests in a sample of stocks independently sorted across two variables (please see the top of the attached text file). There are 25 groups that have been formed out of the intersections of the variable rankings (each variable has 5 distinct groups). The means within these groups are of variable DEX. I would like to be able to test the paired t-test for the groups at the outskirts of the rankings; for example the intersection of BM_RK "1" and DEX_RK "1" against the intersection of BM_RK "5" and DEX_RK "1". Following that pattern there would be five test results on the right hand side of the transposed table (see bottom portion of the attached text file) and five test results at the bottom of the table.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been able to form individual data sets from the sample to capture the needed intersections of the ranked variables but the effort is not very efficient and I believe that there might be a better technique that I am currently not familiar with.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for help.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Oct 2016 23:29:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/paired-t-test-macro/m-p/302487#M16081</guid>
      <dc:creator>paldejong</dc:creator>
      <dc:date>2016-10-04T23:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: paired t-test macro</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/paired-t-test-macro/m-p/302491#M16082</link>
      <description>&lt;P&gt;I think that's just an ANOVA?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See the examples of multiple comparison. Make sure to adjust for multiple tests.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_anova_sect027.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/viewer.htm#statug_anova_sect027.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 00:04:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/paired-t-test-macro/m-p/302491#M16082</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-10-05T00:04:53Z</dc:date>
    </item>
    <item>
      <title>Re: paired t-test macro</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/paired-t-test-macro/m-p/302501#M16083</link>
      <description>&lt;P&gt;You could build on:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc sort data=myData; 
by dex_rk bm_rk; 
run;

proc ttest data=myData(where=(bm_rk in (1, 5)));
by dex_rk;
class bm_rk;
var dex;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Note: that's not what is called a "paired t-test".&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Oct 2016 02:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/paired-t-test-macro/m-p/302501#M16083</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2016-10-05T02:43:41Z</dc:date>
    </item>
  </channel>
</rss>

