<?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: proc ttest in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/478451#M123395</link>
    <description>&lt;P&gt;Ran your code, modifying it to use SASHELP.SHOES and no errors were generated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Couple of reasons why this may happen:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Code shown is not the&amp;nbsp;cause of the error&lt;/LI&gt;
&lt;LI&gt;Code used is different than what's posted&lt;/LI&gt;
&lt;LI&gt;You're using an older version of SAS and are using some option that isn't supported in that version&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'm guessing on #1 or #3.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check your version using&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You're specifically looking for your SAS version and SAS/ETS versions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/217926"&gt;@asifgeneral&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, Here is the code that I have written. The file is stored in the work library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc ttest data=work.Ameshousing&lt;BR /&gt;plots(shownull)=interval&lt;BR /&gt;H0=135000;&lt;BR /&gt;var SalePrice;&lt;BR /&gt;title "One-Sample t-test testing whether mean SalePrice=$135,000";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;title;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting the below error&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, ALPHA, CI, COCHRAN, DATA, H0.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jul 2018 18:00:27 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2018-07-16T18:00:27Z</dc:date>
    <item>
      <title>proc ttest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/478438#M123392</link>
      <description>&lt;P&gt;Hi, Here is the code that I have written. The file is stored in the work library.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc ttest data=work.Ameshousing&lt;BR /&gt;plots(shownull)=interval&lt;BR /&gt;H0=135000;&lt;BR /&gt;var SalePrice;&lt;BR /&gt;title "One-Sample t-test testing whether mean SalePrice=$135,000";&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;title;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am getting the below error&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, ALPHA, CI, COCHRAN, DATA, H0.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 17:34:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/478438#M123392</guid>
      <dc:creator>asifgeneral</dc:creator>
      <dc:date>2018-07-16T17:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: proc ttest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/478444#M123393</link>
      <description>&lt;P&gt;Please make our life easier. Show us the relevant parts of the SASLOG, in this case the entire PROC TTEST code and associated warnings and error messages, so we can see where the error appears.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;CLick on the {i} icon and paste your SASLOG into the window that appears.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 17:48:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/478444#M123393</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2018-07-16T17:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: proc ttest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/478451#M123395</link>
      <description>&lt;P&gt;Ran your code, modifying it to use SASHELP.SHOES and no errors were generated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Couple of reasons why this may happen:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Code shown is not the&amp;nbsp;cause of the error&lt;/LI&gt;
&lt;LI&gt;Code used is different than what's posted&lt;/LI&gt;
&lt;LI&gt;You're using an older version of SAS and are using some option that isn't supported in that version&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I'm guessing on #1 or #3.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can check your version using&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc product_status;run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;You're specifically looking for your SAS version and SAS/ETS versions.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/217926"&gt;@asifgeneral&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi, Here is the code that I have written. The file is stored in the work library.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc ttest data=work.Ameshousing&lt;BR /&gt;plots(shownull)=interval&lt;BR /&gt;H0=135000;&lt;BR /&gt;var SalePrice;&lt;BR /&gt;title "One-Sample t-test testing whether mean SalePrice=$135,000";&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;title;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting the below error&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ERROR 22-322: Syntax error, expecting one of the following: ;, (, ALPHA, CI, COCHRAN, DATA, H0.&lt;BR /&gt;ERROR 76-322: Syntax error, statement will be ignored.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jul 2018 18:00:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/478451#M123395</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-07-16T18:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: proc ttest</title>
      <link>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/480218#M124091</link>
      <description>point no. 3&lt;BR /&gt;&lt;BR /&gt;thank you!</description>
      <pubDate>Sun, 22 Jul 2018 08:14:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/proc-ttest/m-p/480218#M124091</guid>
      <dc:creator>asifgeneral1</dc:creator>
      <dc:date>2018-07-22T08:14:04Z</dc:date>
    </item>
  </channel>
</rss>

