<?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 T TEST in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/T-TEST/m-p/74301#M3577</link>
    <description>Hello All,&lt;BR /&gt;
&lt;BR /&gt;
I have two datasets: one &amp;amp; two. I want to test if there is a difference in the mean score (variable 'SCORE')  of two persons in these two datasets. The variable PERSON has two persons (A &amp;amp; B) in it in both datasets.&lt;BR /&gt;
&lt;BR /&gt;
Could anyone please suggest me a code to deal with two datasets in PROC t test ?&lt;BR /&gt;
&lt;BR /&gt;
Kindest Regards,&lt;BR /&gt;
Kriti</description>
    <pubDate>Thu, 23 Sep 2010 18:43:41 GMT</pubDate>
    <dc:creator>deleted_user</dc:creator>
    <dc:date>2010-09-23T18:43:41Z</dc:date>
    <item>
      <title>T TEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/T-TEST/m-p/74301#M3577</link>
      <description>Hello All,&lt;BR /&gt;
&lt;BR /&gt;
I have two datasets: one &amp;amp; two. I want to test if there is a difference in the mean score (variable 'SCORE')  of two persons in these two datasets. The variable PERSON has two persons (A &amp;amp; B) in it in both datasets.&lt;BR /&gt;
&lt;BR /&gt;
Could anyone please suggest me a code to deal with two datasets in PROC t test ?&lt;BR /&gt;
&lt;BR /&gt;
Kindest Regards,&lt;BR /&gt;
Kriti</description>
      <pubDate>Thu, 23 Sep 2010 18:43:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/T-TEST/m-p/74301#M3577</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2010-09-23T18:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: T TEST</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/T-TEST/m-p/74302#M3578</link>
      <description>you need to provide more detail.  We need some sample data and a more precise statement of how the variables relate to each other and to PERSON.&lt;BR /&gt;
&lt;BR /&gt;
In general, you need to combine the two datasets into one.  You can do that with the DATA step.  If the two datasets represent pairings, then the MERGE statement would be needed; otherwise SET.  In SQL, the comparable clauses are JOIN and UNION.&lt;BR /&gt;
&lt;BR /&gt;
If your two scores are paired, then you need to take the difference and compare that to 0 using PROC MEANS.  If they are independent, you would use the TTEST procedure with some classification variable.&lt;BR /&gt;
&lt;BR /&gt;
The BY statement takes care of the person variable.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke</description>
      <pubDate>Thu, 23 Sep 2010 19:57:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/T-TEST/m-p/74302#M3578</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2010-09-23T19:57:36Z</dc:date>
    </item>
  </channel>
</rss>

