<?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: Kolmogorov and Smirnov D in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715865#M80099</link>
    <description>&lt;P&gt;Hi Reeza&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No there were no ties. I am attaching the Excel file again. Please try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S_pera&lt;/P&gt;</description>
    <pubDate>Mon, 01 Feb 2021 18:57:13 GMT</pubDate>
    <dc:creator>S_pera</dc:creator>
    <dc:date>2021-02-01T18:57:13Z</dc:date>
    <item>
      <title>Kolmogorov and Smirnov D</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715853#M80097</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I find an inconsistency of results with two datasets. With the first dataset, the manually calculated answer is consistent with SAS output. But with the second dataset, it is not the case. Please see the attached Excel sheet. Please let me know where the error is.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;&lt;P&gt;S_pera&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 18:28:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715853#M80097</guid>
      <dc:creator>S_pera</dc:creator>
      <dc:date>2021-02-01T18:28:45Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov and Smirnov D</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715855#M80098</link>
      <description>Excel file isn't displaying for some reason. You also need to provide the SAS code you used. My first guess is ties - does your data have tied values in it?</description>
      <pubDate>Mon, 01 Feb 2021 18:36:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715855#M80098</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-02-01T18:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov and Smirnov D</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715865#M80099</link>
      <description>&lt;P&gt;Hi Reeza&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No there were no ties. I am attaching the Excel file again. Please try.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S_pera&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 18:57:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715865#M80099</guid>
      <dc:creator>S_pera</dc:creator>
      <dc:date>2021-02-01T18:57:13Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov and Smirnov D</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715867#M80100</link>
      <description>&lt;P&gt;Your formula is incorrect. The KS statistic does not use the AbsDiff column.&lt;/P&gt;
&lt;P&gt;Instead you need three columns:&lt;/P&gt;
&lt;P&gt;1. LowSn = (cumFreq-1)/5&lt;/P&gt;
&lt;P&gt;2. DPlus = F(X) - LowSn&lt;/P&gt;
&lt;P&gt;3. DMinus = Sn - F(X)&lt;/P&gt;
&lt;P&gt;Then KS = max(DPlus, DMinus)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For more information, see &lt;A href="https://blogs.sas.com/content/iml/2019/05/15/kolmogorov-d-statistic.html" target="_self"&gt;What is Kolmogorov's D Statistic&amp;nbsp;&lt;/A&gt;and especially the section "Compute the statistic manually".&lt;/P&gt;</description>
      <pubDate>Mon, 01 Feb 2021 19:09:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715867#M80100</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2021-02-01T19:09:30Z</dc:date>
    </item>
    <item>
      <title>Re: Kolmogorov and Smirnov D</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715958#M80104</link>
      <description>&lt;P&gt;Dear Rick_SAS&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorted. Thank you very much.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;S_pera&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Feb 2021 05:30:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Kolmogorov-and-Smirnov-D/m-p/715958#M80104</guid>
      <dc:creator>S_pera</dc:creator>
      <dc:date>2021-02-02T05:30:26Z</dc:date>
    </item>
  </channel>
</rss>

