<?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: formally test difference of two distributions in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/742062#M36091</link>
    <description>&lt;P&gt;Thanks everyone for the suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up using proc ttest (paired)&amp;nbsp; and npar1way to analyse the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Qui&lt;/P&gt;</description>
    <pubDate>Tue, 18 May 2021 06:01:58 GMT</pubDate>
    <dc:creator>quiphan</dc:creator>
    <dc:date>2021-05-18T06:01:58Z</dc:date>
    <item>
      <title>formally test difference of two distributions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740356#M35983</link>
      <description>&lt;P&gt;hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two distributions A and B as per attached spreadsheet.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Using Sas stat, which procedure will test they are similar or different?&lt;/P&gt;&lt;P&gt;thanks in advance for your help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Qui&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 03:04:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740356#M35983</guid>
      <dc:creator>quiphan</dc:creator>
      <dc:date>2021-05-11T03:04:04Z</dc:date>
    </item>
    <item>
      <title>Re: formally test difference of two distributions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740358#M35984</link>
      <description>If you had the raw numbers I'd say PROC FREQ + Chi squared. If you don't I think you can try PROC NPAR1WAY.&lt;BR /&gt;You'll need to restructure your data so you have it in one column and another variable identifying your groups. &lt;BR /&gt;&lt;BR /&gt;See this tutorial here to see if matches what you're trying to do:&lt;BR /&gt;&lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-test-for-equality-of-distribution/" target="_blank"&gt;https://stats.idre.ucla.edu/sas/faq/how-can-i-test-for-equality-of-distribution/&lt;/A&gt;</description>
      <pubDate>Tue, 11 May 2021 03:17:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740358#M35984</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-05-11T03:17:32Z</dc:date>
    </item>
    <item>
      <title>Re: formally test difference of two distributions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740440#M35987</link>
      <description>You could try Kolmogorov-Smirnov test is 0.0164. &lt;BR /&gt;This supports rejection of the null hypothesis&lt;BR /&gt;that the distributions are the same for the two samples.&lt;BR /&gt;&lt;BR /&gt;Check its Example :&lt;BR /&gt;Example 85.2: EDF Statistics and EDF Plot&lt;BR /&gt;&lt;BR /&gt;ods graphics on;&lt;BR /&gt;proc npar1way edf plots=edfplot data=Arthritis;&lt;BR /&gt;class Treatment;&lt;BR /&gt;var Response;&lt;BR /&gt;freq Freq;&lt;BR /&gt;run;&lt;BR /&gt;ods graphics off;&lt;BR /&gt;&lt;BR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13684"&gt;@Rick_SAS&lt;/a&gt; wrote a blog about it before .</description>
      <pubDate>Tue, 11 May 2021 12:18:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740440#M35987</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2021-05-11T12:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: formally test difference of two distributions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740450#M35988</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;You could try Kolmogorov-Smirnov test is 0.0164. &lt;BR /&gt;This supports rejection of the null hypothesis&lt;BR /&gt;that the distributions are the same for the two samples.&lt;BR /&gt;&lt;BR /&gt;Check its Example :&lt;BR /&gt;Example 85.2: EDF Statistics and EDF Plot&lt;BR /&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Just to avoid a possible misunderstanding: The p-value 0.0164 refers to the&amp;nbsp;&lt;A href="https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.3/statug/statug_npar1way_examples02.htm" target="_blank" rel="noopener"&gt;example from the PROC NPAR1WAY documentation&lt;/A&gt;, not to&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/73809"&gt;@quiphan&lt;/a&gt;'s sample data. Without knowing anything about the sample sizes, i.e., based on &lt;EM&gt;relative&lt;/EM&gt; frequencies alone, &lt;EM&gt;no&lt;/EM&gt; statistical test can determine whether the differences between the two empirical distributions are significant.&lt;/P&gt;</description>
      <pubDate>Tue, 11 May 2021 13:02:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/740450#M35988</guid>
      <dc:creator>FreelanceReinh</dc:creator>
      <dc:date>2021-05-11T13:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: formally test difference of two distributions</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/742062#M36091</link>
      <description>&lt;P&gt;Thanks everyone for the suggestions.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I ended up using proc ttest (paired)&amp;nbsp; and npar1way to analyse the data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Qui&lt;/P&gt;</description>
      <pubDate>Tue, 18 May 2021 06:01:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/formally-test-difference-of-two-distributions/m-p/742062#M36091</guid>
      <dc:creator>quiphan</dc:creator>
      <dc:date>2021-05-18T06:01:58Z</dc:date>
    </item>
  </channel>
</rss>

