<?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 Decimals in Chi Square Test in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Decimals-in-Chi-Square-Test/m-p/706088#M216694</link>
    <description>&lt;P&gt;Hello, I am running a chi-square test and I am trying to produce my value and p-value to have only two decimal places but I am ending up with 4. How can I fix this? My code is pasted below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC REPORT&lt;BR /&gt;DATA = Work.1;&lt;BR /&gt;COLUMN Statistic ("Statistical Results" DF Value Prob);&lt;BR /&gt;DEFINE Statistic / 'Test';&lt;BR /&gt;Define DF/ 'DF';&lt;BR /&gt;DEFINE Value/ 'Value' ;&lt;BR /&gt;DEFINE Prob / 'P-value' ;&lt;BR /&gt;RUN;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
    <pubDate>Tue, 15 Dec 2020 19:15:04 GMT</pubDate>
    <dc:creator>morganmetzger</dc:creator>
    <dc:date>2020-12-15T19:15:04Z</dc:date>
    <item>
      <title>Decimals in Chi Square Test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Decimals-in-Chi-Square-Test/m-p/706088#M216694</link>
      <description>&lt;P&gt;Hello, I am running a chi-square test and I am trying to produce my value and p-value to have only two decimal places but I am ending up with 4. How can I fix this? My code is pasted below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC REPORT&lt;BR /&gt;DATA = Work.1;&lt;BR /&gt;COLUMN Statistic ("Statistical Results" DF Value Prob);&lt;BR /&gt;DEFINE Statistic / 'Test';&lt;BR /&gt;Define DF/ 'DF';&lt;BR /&gt;DEFINE Value/ 'Value' ;&lt;BR /&gt;DEFINE Prob / 'P-value' ;&lt;BR /&gt;RUN;&lt;BR /&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Dec 2020 19:15:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Decimals-in-Chi-Square-Test/m-p/706088#M216694</guid>
      <dc:creator>morganmetzger</dc:creator>
      <dc:date>2020-12-15T19:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Decimals in Chi Square Test</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Decimals-in-Chi-Square-Test/m-p/706090#M216695</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;DEFINE Prob / 'P-value'  format=pvalue6.4;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Dec 2020 19:19:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Decimals-in-Chi-Square-Test/m-p/706090#M216695</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-12-15T19:19:07Z</dc:date>
    </item>
  </channel>
</rss>

