<?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: Is a two sample t-test different from a two-tailed t-test? Is code below correct for 2-tailed T- in New SAS User</title>
    <link>https://communities.sas.com/t5/New-SAS-User/Is-a-two-sample-t-test-different-from-a-two-tailed-t-test-Is/m-p/848464#M37030</link>
    <description>&lt;P&gt;If &lt;EM&gt;h1_unmet&lt;/EM&gt; takes two values, the statement &lt;STRONG&gt;Class h1_unmet;&lt;/STRONG&gt; defines two samples. The option &lt;STRONG&gt;sides=2&lt;/STRONG&gt; requests a two-sided test, i.e. the &lt;EM&gt;cg_age&lt;/EM&gt; difference will be significant if it falls on the extreme left tail or the extreme right tail of the T distribution.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Dec 2022 04:23:01 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2022-12-08T04:23:01Z</dc:date>
    <item>
      <title>Is a two sample t-test different from a two-tailed t-test? Is code below correct for 2-tailed T-test</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-a-two-sample-t-test-different-from-a-two-tailed-t-test-Is/m-p/848447#M37026</link>
      <description>&lt;P&gt;I want to run two-tailed t-tests using the following code:&lt;/P&gt;&lt;P&gt;Title "Age and Dementia Education";&lt;BR /&gt;Proc ttest data = X sides = 2 alpha = 0.05 h0=0;&lt;BR /&gt;Class h1_unmet;&lt;BR /&gt;Var cg_age;&lt;BR /&gt;Run;&lt;/P&gt;&lt;P&gt;Is this the correct code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've seen both two-tailed t-test and two sample t-tests mentioned. Are they different? I yes, what is the difference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 01:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-a-two-sample-t-test-different-from-a-two-tailed-t-test-Is/m-p/848447#M37026</guid>
      <dc:creator>gtucke1</dc:creator>
      <dc:date>2022-12-08T01:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is a two sample t-test different from a two-tailed t-test? Is code below correct for 2-tailed T-</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-a-two-sample-t-test-different-from-a-two-tailed-t-test-Is/m-p/848464#M37030</link>
      <description>&lt;P&gt;If &lt;EM&gt;h1_unmet&lt;/EM&gt; takes two values, the statement &lt;STRONG&gt;Class h1_unmet;&lt;/STRONG&gt; defines two samples. The option &lt;STRONG&gt;sides=2&lt;/STRONG&gt; requests a two-sided test, i.e. the &lt;EM&gt;cg_age&lt;/EM&gt; difference will be significant if it falls on the extreme left tail or the extreme right tail of the T distribution.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 04:23:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-a-two-sample-t-test-different-from-a-two-tailed-t-test-Is/m-p/848464#M37030</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2022-12-08T04:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is a two sample t-test different from a two-tailed t-test? Is code below correct for 2-tailed T-</title>
      <link>https://communities.sas.com/t5/New-SAS-User/Is-a-two-sample-t-test-different-from-a-two-tailed-t-test-Is/m-p/848528#M37053</link>
      <description>&lt;P&gt;If you have a data set and you want to compare the mean to a specific value (usually zero, but other values are possible), this is a one sample t-test. The hypothesis you are testing is H0: Mean = k&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the data set has two groups (such as male and female), and you want to compare the mean of group 1 to the mean of group two, this is a two sample t-test. The hypothesis you are testing is H0: Mean 1 = Mean 2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Both of the above are two-sided tests, because either the mean &amp;gt; k or mean &amp;lt; k would be a violation of H0&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you want to test to see if the mean is greater than or equal to some value k (as opposed to the mean being equal to k), this is a one sided test. For the two sample case, the one sided test would be H0: Mean1 &amp;gt; Mean 2&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 12:33:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/New-SAS-User/Is-a-two-sample-t-test-different-from-a-two-tailed-t-test-Is/m-p/848528#M37053</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-12-08T12:33:20Z</dc:date>
    </item>
  </channel>
</rss>

