<?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 Fitting poisson distribution to a histogram in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52554#M2405</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Estimate the parameter with PROC GENMOD: &lt;A href="http://support.sas.com/kb/24/166.html"&gt;http://support.sas.com/kb/24/166.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) Use the DATA step and he tPDF function to compute the Poisson PDF (well, really the PMF=probability mass function) for the range of x values of interest.&lt;/P&gt;&lt;P&gt;3) The Poisson is a discrete distribution, so your data should be plotted with a bar chart. Because PROC SGPLOT doesn't enable you to overlay a bar chart and a scatter plot of (x, pdf(x)), you need to use the GTL to overlay the two plots.&lt;/P&gt;&lt;P&gt;4) You can create a Q-Q plot by following the steps laid out in my blog: &lt;A href="http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot/"&gt;http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Apr 2012 13:39:09 GMT</pubDate>
    <dc:creator>Rick_SAS</dc:creator>
    <dc:date>2012-04-02T13:39:09Z</dc:date>
    <item>
      <title>Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52552#M2403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I want to chart the poisson distribution on a histogram and subsequently to a qqplot. Proc univariate doesn't seem to support this. Any help is deeply appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 00:22:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52552#M2403</guid>
      <dc:creator>JatinRai</dc:creator>
      <dc:date>2012-04-02T00:22:37Z</dc:date>
    </item>
    <item>
      <title>Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52553#M2404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Do you have access to SAS/QC?&amp;nbsp; If so, PROC CAPABILITY should be able to help with this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 12:15:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52553#M2404</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-04-02T12:15:00Z</dc:date>
    </item>
    <item>
      <title>Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52554#M2405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;1) Estimate the parameter with PROC GENMOD: &lt;A href="http://support.sas.com/kb/24/166.html"&gt;http://support.sas.com/kb/24/166.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2) Use the DATA step and he tPDF function to compute the Poisson PDF (well, really the PMF=probability mass function) for the range of x values of interest.&lt;/P&gt;&lt;P&gt;3) The Poisson is a discrete distribution, so your data should be plotted with a bar chart. Because PROC SGPLOT doesn't enable you to overlay a bar chart and a scatter plot of (x, pdf(x)), you need to use the GTL to overlay the two plots.&lt;/P&gt;&lt;P&gt;4) You can create a Q-Q plot by following the steps laid out in my blog: &lt;A href="http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot/"&gt;http://blogs.sas.com/content/iml/2011/10/28/modeling-the-distribution-of-data-create-a-qq-plot/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 13:39:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52554#M2405</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-04-02T13:39:09Z</dc:date>
    </item>
    <item>
      <title>Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52555#M2406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great advice! There is even an easier way to do step 3 now. The VBARPARM can be combined with SERIES plots in SGPLOT (I think this is new to 9.3). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PG&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 14:54:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52555#M2406</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2012-04-02T14:54:48Z</dc:date>
    </item>
    <item>
      <title>Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52556#M2407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Clever! Yes, you can use PROC FREQ to tabulate the data. You'll want to scale the PERCENT variable to a proportion so that it is on the same scale as the PDF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2012 15:23:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52556#M2407</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-04-02T15:23:20Z</dc:date>
    </item>
    <item>
      <title>Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52557#M2408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I explain the details of my answer and give an example (which includes PGStats's suggestion) on my blog in the article "&lt;A href="http://blogs.sas.com/content/iml/?p=4876"&gt;Fitting a Poisson Distribution to Data in SAS&lt;/A&gt;."&lt;/P&gt;&lt;P&gt;The same approach should work for other discrete distributions such as negative binomial and geometric distributions.&lt;/P&gt;&lt;P&gt;Rick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Apr 2012 09:55:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52557#M2408</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-04-04T09:55:39Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52558#M2409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately I don't have access to SAS/QC.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:24:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52558#M2409</guid>
      <dc:creator>JatinRai</dc:creator>
      <dc:date>2012-04-12T15:24:21Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52559#M2410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you so much for the response and then subsequently backing this with your blog. I have read and shared your blogs in the past and they have always worked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jatin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:25:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52559#M2410</guid>
      <dc:creator>JatinRai</dc:creator>
      <dc:date>2012-04-12T15:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52560#M2411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome. And thanks to you for the interesting idea.&lt;/P&gt;&lt;P&gt;For those who do not read my blog, I followed up my first post with a second: &lt;A class="active_link" href="http://blogs.sas.com/content/iml/2012/04/12/the-poissonness-plot-a-goodness-of-fit-diagnostic/" rel="bookmark" title="Permalink to The Poissonness plot: A goodness-of-fit diagnostic"&gt;The Poissonness plot: A goodness-of-fit diagnostic&lt;/A&gt; &lt;/P&gt;&lt;P&gt;in which I present a graphical diagnostic plot that is an alternative to using a Q-Q plots.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:31:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52560#M2411</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-04-12T15:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52561#M2412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CAPABILITY and UNIVARIATE only model continuous distributions. The Poisson distribution is discrete.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Apr 2012 15:32:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52561#M2412</guid>
      <dc:creator>Rick_SAS</dc:creator>
      <dc:date>2012-04-12T15:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fitting poisson distribution to a histogram</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52562#M2413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I apologize--I gave an answer without checking the documentation.&amp;nbsp; I knew CAPABILITY had several distributions, and wrongly assumed that it included the Poisson.&amp;nbsp; There is nothing that is better than reading the manual, and I missed it on this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Apr 2012 11:44:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Fitting-poisson-distribution-to-a-histogram/m-p/52562#M2413</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-04-13T11:44:19Z</dc:date>
    </item>
  </channel>
</rss>

