<?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 one way table - chi square test. in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/one-way-table-chi-square-test/m-p/587139#M167660</link>
    <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using one way freq .&lt;/P&gt;
&lt;P&gt;I want to perform chi square test.&lt;/P&gt;
&lt;P&gt;I get an error&lt;/P&gt;
&lt;P&gt;____&lt;BR /&gt;180&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=sashelp.cars;
tables origin /chisq;
testp=(0.35 0.40 0.25);
Run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 09 Sep 2019 06:05:06 GMT</pubDate>
    <dc:creator>Ronein</dc:creator>
    <dc:date>2019-09-09T06:05:06Z</dc:date>
    <item>
      <title>one way table - chi square test.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/one-way-table-chi-square-test/m-p/587139#M167660</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I am using one way freq .&lt;/P&gt;
&lt;P&gt;I want to perform chi square test.&lt;/P&gt;
&lt;P&gt;I get an error&lt;/P&gt;
&lt;P&gt;____&lt;BR /&gt;180&lt;BR /&gt;ERROR 180-322: Statement is not valid or it is used out of proper order.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=sashelp.cars;
tables origin /chisq;
testp=(0.35 0.40 0.25);
Run;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 Sep 2019 06:05:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/one-way-table-chi-square-test/m-p/587139#M167660</guid>
      <dc:creator>Ronein</dc:creator>
      <dc:date>2019-09-09T06:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: one way table - chi square test.</title>
      <link>https://communities.sas.com/t5/SAS-Programming/one-way-table-chi-square-test/m-p/587143#M167661</link>
      <description>&lt;P&gt;As the &lt;A href="https://documentation.sas.com/?docsetId=statug&amp;amp;docsetTarget=statug_freq_syntax.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;PROC FREQ Doc&lt;/A&gt; indicates, &lt;STRONG&gt;testp&lt;/STRONG&gt; is an option to the Tables Statement, not a statement fo its own.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So do this instead&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=sashelp.cars;
tables origin /chisq testp=(0.35 0.40 0.25);
Run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Sep 2019 06:22:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/one-way-table-chi-square-test/m-p/587143#M167661</guid>
      <dc:creator>PeterClemmensen</dc:creator>
      <dc:date>2019-09-09T06:22:18Z</dc:date>
    </item>
  </channel>
</rss>

