<?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 Proc Freq and Chisq - how &amp;quot;to keep&amp;quot; just what is needed in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-and-Chisq-how-quot-to-keep-quot-just-what-is-needed/m-p/391672#M94131</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=titanicX;
	tables class*survived / chisq ;
	output out=sampleX chisq (keep=_PCHI_ P_PCHI_); 
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need to keep just Chisq and p-value in the output file. The option 'keep' above is not functioning. Could you please help with the issue. Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Aug 2017 21:36:23 GMT</pubDate>
    <dc:creator>DmytroYermak</dc:creator>
    <dc:date>2017-08-29T21:36:23Z</dc:date>
    <item>
      <title>Proc Freq and Chisq - how "to keep" just what is needed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-and-Chisq-how-quot-to-keep-quot-just-what-is-needed/m-p/391672#M94131</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the following code:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=titanicX;
	tables class*survived / chisq ;
	output out=sampleX chisq (keep=_PCHI_ P_PCHI_); 
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I need to keep just Chisq and p-value in the output file. The option 'keep' above is not functioning. Could you please help with the issue. Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 21:36:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-and-Chisq-how-quot-to-keep-quot-just-what-is-needed/m-p/391672#M94131</guid>
      <dc:creator>DmytroYermak</dc:creator>
      <dc:date>2017-08-29T21:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq and Chisq - how "to keep" just what is needed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-and-Chisq-how-quot-to-keep-quot-just-what-is-needed/m-p/391678#M94134</link>
      <description>&lt;P&gt;(KEEP=...) is a data set option. &amp;nbsp;You have to put it right after the data set name.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Aug 2017 22:21:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-and-Chisq-how-quot-to-keep-quot-just-what-is-needed/m-p/391678#M94134</guid>
      <dc:creator>WarrenKuhfeld</dc:creator>
      <dc:date>2017-08-29T22:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Freq and Chisq - how "to keep" just what is needed</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-and-Chisq-how-quot-to-keep-quot-just-what-is-needed/m-p/391720#M94154</link>
      <description>&lt;P&gt;Thank you, Warren. You are completely right, it was the showstopper &lt;img id="robotmad" class="emoticon emoticon-robotmad" src="https://communities.sas.com/i/smilies/16x16_robot-mad.png" alt="Robot Mad" title="Robot Mad" /&gt; &amp;nbsp;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc freq data=sample&amp;amp;i noprint;
			tables class*survived / chisq;
			output out=sampleX&amp;amp;i (keep=_PCHI_ P_PCHI)chisq;
		run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 30 Aug 2017 04:04:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-Freq-and-Chisq-how-quot-to-keep-quot-just-what-is-needed/m-p/391720#M94154</guid>
      <dc:creator>DmytroYermak</dc:creator>
      <dc:date>2017-08-30T04:04:29Z</dc:date>
    </item>
  </channel>
</rss>

