<?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: KS vs D. Which one to use? in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/KS-vs-D-Which-one-to-use/m-p/811840#M4433</link>
    <description>thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
    <pubDate>Fri, 06 May 2022 11:11:22 GMT</pubDate>
    <dc:creator>Toni2</dc:creator>
    <dc:date>2022-05-06T11:11:22Z</dc:date>
    <item>
      <title>KS vs D. Which one to use?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/KS-vs-D-Which-one-to-use/m-p/811824#M4431</link>
      <description>&lt;P&gt;i have more than 100 variables and use npar1way to estimate KS.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My aim is each variable to be tested based on the class variable&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="sas"&gt;proc npar1way edf data=mydata noprint;
class source;
var &amp;amp;val;
output out=stat ks;
run;&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Below is an example of the outcome for one variable. My question is, do i need to use the KS or the D statistic?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 192pt;" border="0" width="256" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD colspan="4" width="255px" height="19" class="xl71" style="height: 14.4pt; width: 192pt;"&gt;Kolmogorov-Smirnov Two-Sample Test&amp;nbsp;(Asymptotic)&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD colspan="4" width="255px" height="20" class="xl73" style="height: 15.0pt; width: 192pt;"&gt;&amp;nbsp;&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.0pt;"&gt;
&lt;TD width="42.13px" height="20" class="xl68" style="height: 15.0pt;"&gt;KS&lt;/TD&gt;
&lt;TD width="78.28px" class="xl63"&gt;0.038621&lt;/TD&gt;
&lt;TD width="74.33px" class="xl67"&gt;D&lt;/TD&gt;
&lt;TD width="60.26px" class="xl64"&gt;0.1039&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 14.4pt;"&gt;
&lt;TD width="42.13px" height="19" class="xl69" style="height: 14.4pt;"&gt;KSa&lt;/TD&gt;
&lt;TD width="78.28px" class="xl65"&gt;1.07377&lt;/TD&gt;
&lt;TD width="74.33px" class="xl70"&gt;Pr &amp;gt; KSa&lt;/TD&gt;
&lt;TD width="60.26px" class="xl66"&gt;0.1991&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 09:51:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/KS-vs-D-Which-one-to-use/m-p/811824#M4431</guid>
      <dc:creator>Toni2</dc:creator>
      <dc:date>2022-05-06T09:51:30Z</dc:date>
    </item>
    <item>
      <title>Re: KS vs D. Which one to use?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/KS-vs-D-Which-one-to-use/m-p/811837#M4432</link>
      <description>&lt;P&gt;For comparing two different distributions, look at the graphic at Wikipedia, D is the size vertically of the black arrow, it is the maximum vertical difference between the two distribution. That's the one you want.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The documentation explains the difference:&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_npar1way_details24.htm" target="_blank" rel="noopener"&gt;https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_npar1way_details24.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 11:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/KS-vs-D-Which-one-to-use/m-p/811837#M4432</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2022-05-06T11:01:58Z</dc:date>
    </item>
    <item>
      <title>Re: KS vs D. Which one to use?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/KS-vs-D-Which-one-to-use/m-p/811840#M4433</link>
      <description>thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;</description>
      <pubDate>Fri, 06 May 2022 11:11:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/KS-vs-D-Which-one-to-use/m-p/811840#M4433</guid>
      <dc:creator>Toni2</dc:creator>
      <dc:date>2022-05-06T11:11:22Z</dc:date>
    </item>
  </channel>
</rss>

