<?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 in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/paired-t-test/m-p/486852#M287237</link>
    <description>&lt;P&gt;No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your first use of WHERE as a dataset option is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the values to be&amp;nbsp;paired ( _1_sbt_total,&amp;nbsp;&amp;nbsp;_16_sbt_total) must reside in the same observation. You will need to reorganize your data.&lt;/P&gt;</description>
    <pubDate>Tue, 14 Aug 2018 21:43:06 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2018-08-14T21:43:06Z</dc:date>
    <item>
      <title>paired t test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/paired-t-test/m-p/486848#M287236</link>
      <description>&lt;P&gt;can you put "where" syntax in proc ttest?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I essentially want to do a paired t test between _1_sbt_total (where v2_dlqi_total = '1')&amp;nbsp; and _16_sbt_total (where&amp;nbsp;&lt;SPAN&gt;v5_dlqi_total = '1')&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;_sbt_total variables are continuous and dlqi_total variables I have it formatted it to be categorical&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc format;&lt;/P&gt;&lt;P&gt;value v2_dlqi_total low-5 = '1' 6-high ='2';&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;value v5_dlqi_total low-5 = '1' 6-high ='2';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc ttest data=work.data (where = (include=1 ));&lt;BR /&gt;paired ( _1_sbt_total where v2_dlqi_total = '1') * ( _16_sbt_total where v5_dlqi_total = '1');&lt;BR /&gt;format v2_dlqi_total v2_dlqi_total. v5_dlqi_total v5_dlqi_total.;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 21:13:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/paired-t-test/m-p/486848#M287236</guid>
      <dc:creator>starz4ever2007</dc:creator>
      <dc:date>2018-08-14T21:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: paired t test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/paired-t-test/m-p/486852#M287237</link>
      <description>&lt;P&gt;No.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your first use of WHERE as a dataset option is correct.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But the values to be&amp;nbsp;paired ( _1_sbt_total,&amp;nbsp;&amp;nbsp;_16_sbt_total) must reside in the same observation. You will need to reorganize your data.&lt;/P&gt;</description>
      <pubDate>Tue, 14 Aug 2018 21:43:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/paired-t-test/m-p/486852#M287237</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-08-14T21:43:06Z</dc:date>
    </item>
  </channel>
</rss>

