<?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: Attempting to split data set by specific data to run proc ttest.  Keep getting errors. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Attempting-to-split-data-set-by-specific-data-to-run-proc-ttest/m-p/578865#M164245</link>
    <description>&lt;P&gt;Looks like you are trying to do:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest h0=0 side=u data=NHL1819;
	class Conference;
	var DIFF;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sat, 03 Aug 2019 03:58:15 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2019-08-03T03:58:15Z</dc:date>
    <item>
      <title>Attempting to split data set by specific data to run proc ttest.  Keep getting errors.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Attempting-to-split-data-set-by-specific-data-to-run-proc-ttest/m-p/578864#M164244</link>
      <description>&lt;P&gt;I am attempting to test the actual average goal differential of the East conference is different form that of the West conference with proc ttest.&amp;nbsp; I was able to get it to work in R (I can include my code for that if needed).&amp;nbsp; I don't know if I am not splitting the data correctly into east and west or if something else is wrong with my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data work.NHL1819;&lt;BR /&gt;set work.Hockey;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;data work.hockey;&lt;BR /&gt;	set work.nhl(where=(Conference='Eastern'));&lt;BR /&gt;run;&lt;BR /&gt;data work.hockey;&lt;BR /&gt;	set work.nhl(where=(Conference='Western'));&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc ttest h0=0 side=u;&lt;BR /&gt;	class Eastern;&lt;BR /&gt;	var DIFF;&lt;BR /&gt;run;&lt;BR /&gt;&lt;BR /&gt;proc ttest h0=0;&lt;BR /&gt;	class Eastern;&lt;BR /&gt;	var DIFF;&lt;BR /&gt;Run;&lt;/PRE&gt;&lt;DIV class="sasSource"&gt;1 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;72&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;73 proc ttest h0=0 side=u;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;74 class Eastern;&lt;/DIV&gt;&lt;DIV class="sasError"&gt;ERROR: Variable EASTERN not found.&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;75 var DIFF;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;76 run;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: The SAS System stopped processing this step because of errors.&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;NOTE: PROCEDURE TTEST used (Total process time):&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;real time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;cpu time 0.00 seconds&lt;/DIV&gt;&lt;DIV class="sasNote"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;77&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;78 OPTIONS NONOTES NOSTIMER NOSOURCE NOSYNTAXCHECK;&lt;/DIV&gt;&lt;DIV class="sasSource"&gt;90&lt;/DIV&gt;</description>
      <pubDate>Sat, 03 Aug 2019 03:11:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Attempting-to-split-data-set-by-specific-data-to-run-proc-ttest/m-p/578864#M164244</guid>
      <dc:creator>MarvelJJ</dc:creator>
      <dc:date>2019-08-03T03:11:39Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to split data set by specific data to run proc ttest.  Keep getting errors.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Attempting-to-split-data-set-by-specific-data-to-run-proc-ttest/m-p/578865#M164245</link>
      <description>&lt;P&gt;Looks like you are trying to do:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc ttest h0=0 side=u data=NHL1819;
	class Conference;
	var DIFF;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sat, 03 Aug 2019 03:58:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Attempting-to-split-data-set-by-specific-data-to-run-proc-ttest/m-p/578865#M164245</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2019-08-03T03:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Attempting to split data set by specific data to run proc ttest.  Keep getting errors.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Attempting-to-split-data-set-by-specific-data-to-run-proc-ttest/m-p/578866#M164246</link>
      <description>&lt;P&gt;Thank you!&amp;nbsp; I am still pretty novice, so sometimes I make things harder than they should be.&lt;/P&gt;</description>
      <pubDate>Sat, 03 Aug 2019 04:02:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Attempting-to-split-data-set-by-specific-data-to-run-proc-ttest/m-p/578866#M164246</guid>
      <dc:creator>MarvelJJ</dc:creator>
      <dc:date>2019-08-03T04:02:41Z</dc:date>
    </item>
  </channel>
</rss>

