<?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: Using t test for testing the hypothesis that 2 means are equal in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-t-test-for-testing-the-hypothesis-that-2-means-are-equal/m-p/880676#M43166</link>
    <description>&lt;P&gt;One of the SAS supplied data sets will actually allow use of your variables:&lt;/P&gt;
&lt;PRE&gt;proc ttest data=sashelp.class;
  class sex;
  var height;
run;  &lt;/PRE&gt;
&lt;P&gt;The grouping variable goes on a Class statement. Variables to test on the VAR statement. The SIDES= option on the Proc statement is used to control one or two sided and which direction for one sided. Sides=2 is the default, L for one-tailed lower or U for one-tailed upper. Make separate procedure calls with different Sides=. Hint: Use a Title statement with your code so you can tell which option is generating which output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc ttest data=sashelp.class sides=L;
  class sex;
  var height;
run;  &lt;/PRE&gt;</description>
    <pubDate>Wed, 14 Jun 2023 14:30:56 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2023-06-14T14:30:56Z</dc:date>
    <item>
      <title>Using t test for testing the hypothesis that 2 means are equal</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-t-test-for-testing-the-hypothesis-that-2-means-are-equal/m-p/880651#M43156</link>
      <description>&lt;P&gt;I need to test that average height in my data between two sexes is equal or not. I want to find the p-value for two sided and one sided t test. How can i do that?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 13:12:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-t-test-for-testing-the-hypothesis-that-2-means-are-equal/m-p/880651#M43156</guid>
      <dc:creator>Meisterbecker</dc:creator>
      <dc:date>2023-06-14T13:12:48Z</dc:date>
    </item>
    <item>
      <title>Re: Using t test for testing the hypothesis that 2 means are equal</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-t-test-for-testing-the-hypothesis-that-2-means-are-equal/m-p/880653#M43157</link>
      <description>&lt;P&gt;Use PROC TTEST. See this example:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_ttest_gettingstarted02.htm" target="_blank"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_ttest_gettingstarted02.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jun 2023 13:16:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-t-test-for-testing-the-hypothesis-that-2-means-are-equal/m-p/880653#M43157</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2023-06-14T13:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Using t test for testing the hypothesis that 2 means are equal</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-t-test-for-testing-the-hypothesis-that-2-means-are-equal/m-p/880676#M43166</link>
      <description>&lt;P&gt;One of the SAS supplied data sets will actually allow use of your variables:&lt;/P&gt;
&lt;PRE&gt;proc ttest data=sashelp.class;
  class sex;
  var height;
run;  &lt;/PRE&gt;
&lt;P&gt;The grouping variable goes on a Class statement. Variables to test on the VAR statement. The SIDES= option on the Proc statement is used to control one or two sided and which direction for one sided. Sides=2 is the default, L for one-tailed lower or U for one-tailed upper. Make separate procedure calls with different Sides=. Hint: Use a Title statement with your code so you can tell which option is generating which output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc ttest data=sashelp.class sides=L;
  class sex;
  var height;
run;  &lt;/PRE&gt;</description>
      <pubDate>Wed, 14 Jun 2023 14:30:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Using-t-test-for-testing-the-hypothesis-that-2-means-are-equal/m-p/880676#M43166</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2023-06-14T14:30:56Z</dc:date>
    </item>
  </channel>
</rss>

