<?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: DENSITYOVERLAY in KDE Works Incorrectly in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/DENSITYOVERLAY-in-KDE-Works-Incorrectly/m-p/571072#M28098</link>
    <description>Your bandwidth multiplier is causing the issue. Make it bigger or use bandwidth (BW) setting alone instead of the multiplier version, unless you understand what it's doing and that's what you want.</description>
    <pubDate>Wed, 03 Jul 2019 20:10:59 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2019-07-03T20:10:59Z</dc:date>
    <item>
      <title>DENSITYOVERLAY in KDE Works Incorrectly</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/DENSITYOVERLAY-in-KDE-Works-Incorrectly/m-p/571065#M28097</link>
      <description>&lt;P&gt;The following HAVE contains X and Y, which are normally distributed.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data have;
do i=1 to 5000;
x=rannor(1);
y=rannor(1);
output;
end;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;KDE estimates the kernel densities.&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ods listing gpath="!userprofile\desktop\";
ods graphics on;
proc kde;
univar x(bwm=0.05) y(bwm=0.05)/plots=(density densityoverlay);
run;
ods graphics off;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The code spits out the following three plots—(1) the kernel density of X, (2) that of Y, and (3) the overlapped one.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 236px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30734iDC392B07F450E583/image-size/small?v=v2&amp;amp;px=200" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 236px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30735i2E6D4CBBC01F25B5/image-size/small?v=v2&amp;amp;px=200" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="3.png" style="width: 236px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/30736i4C0B8E3616F77C8E/image-size/small?v=v2&amp;amp;px=200" role="button" title="3.png" alt="3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The problem is the third one, which poorly overlaps the first two. Though it works well without the BWMs above, I practically need to use them. What is the problem here? Thanks a lot.&lt;/P&gt;</description>
      <pubDate>Wed, 03 Jul 2019 19:40:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/DENSITYOVERLAY-in-KDE-Works-Incorrectly/m-p/571065#M28097</guid>
      <dc:creator>Junyong</dc:creator>
      <dc:date>2019-07-03T19:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: DENSITYOVERLAY in KDE Works Incorrectly</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/DENSITYOVERLAY-in-KDE-Works-Incorrectly/m-p/571072#M28098</link>
      <description>Your bandwidth multiplier is causing the issue. Make it bigger or use bandwidth (BW) setting alone instead of the multiplier version, unless you understand what it's doing and that's what you want.</description>
      <pubDate>Wed, 03 Jul 2019 20:10:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/DENSITYOVERLAY-in-KDE-Works-Incorrectly/m-p/571072#M28098</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2019-07-03T20:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: DENSITYOVERLAY in KDE Works Incorrectly</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/DENSITYOVERLAY-in-KDE-Works-Incorrectly/m-p/571081#M28099</link>
      <description>I misunderstood the function of BW and BWM so far. Thanks for the notice.</description>
      <pubDate>Wed, 03 Jul 2019 20:23:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/DENSITYOVERLAY-in-KDE-Works-Incorrectly/m-p/571081#M28099</guid>
      <dc:creator>Junyong</dc:creator>
      <dc:date>2019-07-03T20:23:19Z</dc:date>
    </item>
  </channel>
</rss>

