<?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 Proc TTest Between two columns in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-TTest-Between-two-columns/m-p/265269#M57865</link>
    <description>&lt;P&gt;RIght now, I'm trying to run a t-Test in sas (or rather a WMW test) but the variables are two different columns rather than two treatments under the same column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e. instead of something like this:&lt;/P&gt;&lt;P&gt;Method Grade&lt;/P&gt;&lt;P&gt;c 80&lt;/P&gt;&lt;P&gt;c 93&lt;/P&gt;&lt;P&gt;c 83&lt;/P&gt;&lt;P&gt;c 89&lt;/P&gt;&lt;P&gt;c 98&lt;/P&gt;&lt;P&gt;t 100&lt;/P&gt;&lt;P&gt;t 103&lt;/P&gt;&lt;P&gt;t 104&lt;/P&gt;&lt;P&gt;t 99&lt;/P&gt;&lt;P&gt;t 102&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have something like this:&lt;/P&gt;&lt;P&gt;c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t&lt;/P&gt;&lt;P&gt;80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;/P&gt;&lt;P&gt;93 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;103&lt;/P&gt;&lt;P&gt;83 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;104&lt;/P&gt;&lt;P&gt;89 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 99&lt;/P&gt;&lt;P&gt;98 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;102&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to run a WMW test on data that looks like the second case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 20 Apr 2016 23:00:22 GMT</pubDate>
    <dc:creator>SasUniversity</dc:creator>
    <dc:date>2016-04-20T23:00:22Z</dc:date>
    <item>
      <title>Proc TTest Between two columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-TTest-Between-two-columns/m-p/265269#M57865</link>
      <description>&lt;P&gt;RIght now, I'm trying to run a t-Test in sas (or rather a WMW test) but the variables are two different columns rather than two treatments under the same column.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I.e. instead of something like this:&lt;/P&gt;&lt;P&gt;Method Grade&lt;/P&gt;&lt;P&gt;c 80&lt;/P&gt;&lt;P&gt;c 93&lt;/P&gt;&lt;P&gt;c 83&lt;/P&gt;&lt;P&gt;c 89&lt;/P&gt;&lt;P&gt;c 98&lt;/P&gt;&lt;P&gt;t 100&lt;/P&gt;&lt;P&gt;t 103&lt;/P&gt;&lt;P&gt;t 104&lt;/P&gt;&lt;P&gt;t 99&lt;/P&gt;&lt;P&gt;t 102&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have something like this:&lt;/P&gt;&lt;P&gt;c &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; t&lt;/P&gt;&lt;P&gt;80 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;100&lt;/P&gt;&lt;P&gt;93 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;103&lt;/P&gt;&lt;P&gt;83 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;104&lt;/P&gt;&lt;P&gt;89 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 99&lt;/P&gt;&lt;P&gt;98 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;102&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there anyway to run a WMW test on data that looks like the second case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Apr 2016 23:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-TTest-Between-two-columns/m-p/265269#M57865</guid>
      <dc:creator>SasUniversity</dc:creator>
      <dc:date>2016-04-20T23:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: Proc TTest Between two columns</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-TTest-Between-two-columns/m-p/265271#M57866</link>
      <description>&lt;P&gt;Is your current data such that it is actually paired? That the C=80 and t=100 should be considered such as a before/after or other natural pairing? Then Proc Ttest with Paired c*t would be natural.&lt;/P&gt;
&lt;P&gt;Otherwise it might be that transposing the data would be appropriate.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data want;
   set have;
   method = 'C'; value=c;output;
   method = 'T'; Value=t;output;
   keep method value;
run;

proc ttest data=want;
  class method;
  var value;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 20 Apr 2016 23:12:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-TTest-Between-two-columns/m-p/265271#M57866</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2016-04-20T23:12:09Z</dc:date>
    </item>
  </channel>
</rss>

