<?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 [SAS] Help! How to do joint t-tests in SAS? in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Help-How-to-do-joint-t-tests-in-SAS/m-p/891570#M44188</link>
    <description>&lt;P&gt;Hi all, I know that we can use proc ttest in SAS to test the mean difference between two samples. But, if we have multiple pairwise samples and conduct multiple t-tests for each pairwise sample, how can we do a joint test for them? For example, suppose there are four samples 1-4, and the H0: the means of samples 1 and 2 are equal and the means of samples 3 and 4 are equal. How can I specify the paired samples instead of comparing all the randomly selected two samples?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for all your help! Do appreciate!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2023 18:26:59 GMT</pubDate>
    <dc:creator>xizidememeda</dc:creator>
    <dc:date>2023-08-29T18:26:59Z</dc:date>
    <item>
      <title>[SAS] Help! How to do joint t-tests in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Help-How-to-do-joint-t-tests-in-SAS/m-p/891570#M44188</link>
      <description>&lt;P&gt;Hi all, I know that we can use proc ttest in SAS to test the mean difference between two samples. But, if we have multiple pairwise samples and conduct multiple t-tests for each pairwise sample, how can we do a joint test for them? For example, suppose there are four samples 1-4, and the H0: the means of samples 1 and 2 are equal and the means of samples 3 and 4 are equal. How can I specify the paired samples instead of comparing all the randomly selected two samples?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for all your help! Do appreciate!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2023 18:26:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Help-How-to-do-joint-t-tests-in-SAS/m-p/891570#M44188</guid>
      <dc:creator>xizidememeda</dc:creator>
      <dc:date>2023-08-29T18:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: [SAS] Help! How to do joint t-tests in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Help-How-to-do-joint-t-tests-in-SAS/m-p/891593#M44189</link>
      <description>&lt;P&gt;If you mean that you want a joint test comparing only two selected pairs of four means, then you can do that in many procedures with the LSMESTIMATE statement as follows. In a procedure (like PROC LOGISTIC) you might need to&amp;nbsp; add the PARAM=GLM option in the CLASS statement. In procedures that don't directly support the LSMESTIMATE statement but do support the STORE statement (like PROC GLM), you will need to use the STORE statement to save the fitted model and then use the LSMESTIMATE statement in PROC PLM.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;class group;
model y=group;
lsmestimate group '12' 1 -1 0 0, '34' 0 0 1 -1 / joint(label='12&amp;amp;34');
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 29 Aug 2023 20:53:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Help-How-to-do-joint-t-tests-in-SAS/m-p/891593#M44189</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2023-08-29T20:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: [SAS] Help! How to do joint t-tests in SAS?</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/SAS-Help-How-to-do-joint-t-tests-in-SAS/m-p/891676#M44196</link>
      <description>You should resort to ANOVA by PROC GLM +LSMEANS.&lt;BR /&gt;Or check PROC MULTTEST on its second example for multiple t-tests.</description>
      <pubDate>Wed, 30 Aug 2023 11:51:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/SAS-Help-How-to-do-joint-t-tests-in-SAS/m-p/891676#M44196</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2023-08-30T11:51:26Z</dc:date>
    </item>
  </channel>
</rss>

