<?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: proc univariate - kernel in Graphics Programming</title>
    <link>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124620#M4837</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is easier to help if you provide more information.&amp;nbsp; If you want to get histograms of two variables, you can do that using SGPLOT procedure with two variables like below.&amp;nbsp; You can add Normal and Kernel density plots, or customize the plot as you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TwoVarHistogram.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/3829_TwoVarHistogram.png" /&gt;&lt;/P&gt;&lt;P&gt;title 'Distribution of Blood Pressure';&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.heart;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram systolic / transparency=0.5 binwidth=5;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram diastolic / transparency=0.5 binwidth=5;&lt;/P&gt;&lt;P&gt;&amp;nbsp; keylegend / location=inside position=topright across=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; xaxis display=(nolabel);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 02 Jul 2013 13:00:07 GMT</pubDate>
    <dc:creator>Jay54</dc:creator>
    <dc:date>2013-07-02T13:00:07Z</dc:date>
    <item>
      <title>proc univariate - kernel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124619#M4836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can anyone tell me how i can put 2 variables on the same plot ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CL &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 12:22:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124619#M4836</guid>
      <dc:creator>clcl</dc:creator>
      <dc:date>2013-07-02T12:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate - kernel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124620#M4837</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is easier to help if you provide more information.&amp;nbsp; If you want to get histograms of two variables, you can do that using SGPLOT procedure with two variables like below.&amp;nbsp; You can add Normal and Kernel density plots, or customize the plot as you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="TwoVarHistogram.png" class="jive-image" src="https://communities.sas.com/legacyfs/online/3829_TwoVarHistogram.png" /&gt;&lt;/P&gt;&lt;P&gt;title 'Distribution of Blood Pressure';&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.heart;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram systolic / transparency=0.5 binwidth=5;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram diastolic / transparency=0.5 binwidth=5;&lt;/P&gt;&lt;P&gt;&amp;nbsp; keylegend / location=inside position=topright across=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; xaxis display=(nolabel);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:00:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124620#M4837</guid>
      <dc:creator>Jay54</dc:creator>
      <dc:date>2013-07-02T13:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate - kernel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124621#M4838</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;how do i add the kernel plot ? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:31:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124621#M4838</guid>
      <dc:creator>clcl</dc:creator>
      <dc:date>2013-07-02T13:31:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc univariate - kernel</title>
      <link>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124622#M4839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc sgplot data=sashelp.heart;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram systolic / transparency=0.5 binwidth=5 ;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;&amp;nbsp; density systolic / type=kernel (c = 0.75);&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; histogram diastolic / transparency=0.5 binwidth=5;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="color: #0000ff;"&gt;&amp;nbsp; &lt;/STRONG&gt; keylegend / location=inside position=topright across=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; xaxis display=(nolabel);&lt;/P&gt;&lt;P&gt; run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anca.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jul 2013 13:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Graphics-Programming/proc-univariate-kernel/m-p/124622#M4839</guid>
      <dc:creator>AncaTilea</dc:creator>
      <dc:date>2013-07-02T13:44:41Z</dc:date>
    </item>
  </channel>
</rss>

