<?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: Dispersion Parameter of Neg Binomial Dist in Genmode procedure in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97713#M4883</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Arial, sans-serif; color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;Ok but &lt;SPAN style="color: black; background: white; font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;I need to estimate the parameters for negative binomial distribution (pdf) using maximun likelihood, then estimate the parameter for the Poisson by ML, which can be done by hand, but later I need to conduct a likelihood ratio test between these two distributions.&amp;nbsp; The problem is that, I have SAS Base 9.1 and SAS Stat, all the procedures I found were made to work with regression models.&amp;nbsp; Do you know if there's a way to conduct this distributional analysis.&amp;nbsp; Thanks a lot.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Oct 2012 06:19:01 GMT</pubDate>
    <dc:creator>Agnes</dc:creator>
    <dc:date>2012-10-19T06:19:01Z</dc:date>
    <item>
      <title>Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97709#M4879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I need to know if the dispersion estimate showed in the output of the of genmode procedure for the negative binomial dist is an estimation made before making the estimation of the general linear model predictor coefficients. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Oct 2012 15:10:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97709#M4879</guid>
      <dc:creator>Agnes</dc:creator>
      <dc:date>2012-10-17T15:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97710#M4880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if this is the answer, but in the Details section of the documentation, in the Dispersion Parameter section, the final sentence is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the case of the negative binomial distribution, PROC GENMOD reports the &lt;SPAN class="quote"&gt;“&lt;SPAN class="quote"&gt;dispersion&lt;/SPAN&gt;”&lt;/SPAN&gt; parameter estimated by maximum likelihood. This is the negative binomial parameter &lt;SPAN class="phrase mathtext"&gt;k&lt;/SPAN&gt; defined in the section &lt;A _jive_internal="true" class="olink" href="/ms-its:C:\Program Files\SASHome\SASFoundation\9.3\core\help\en\statug.chm::/statug.hlp/statug_genmod_details01.htm#statug.genmod.genmodrpd"&gt;Response Probability Distributions&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To me this would indicate that the dispersion estimate is not made before the estimation, but is "simultaneously" estimated.&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>Thu, 18 Oct 2012 11:56:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97710#M4880</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-10-18T11:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97711#M4881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt; color: #333333; font-family: 'Arial';"&gt;Thank you for your answer, but I’ve read that documentation as well as other documentations about genmode proc.&amp;nbsp; In one of them says “&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; font-family: 'Arial';"&gt;The methodology of generalized linear models (GLMs) requires that estimation be in terms of µ; Le. in the case of the negative binomial k is placed into the variance and deviance function as a known constant as µ varies.&lt;/SPAN&gt;&lt;SPAN style="font-size: 12pt; color: #333333; font-family: 'Arial';"&gt;” I want to know if one do not specify the constant for k, SAS estimates it using MLE by default, in order to begin the MLE of the linear model, so its like solving a problem of estimating the distribution parameter (the parameter r -&amp;gt; k=1/r) of the neg binomial using MLE without considering or using the GLM.&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 14:22:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97711#M4881</guid>
      <dc:creator>Agnes</dc:creator>
      <dc:date>2012-10-18T14:22:06Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97712#M4882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's my feeling: It is included as yet another parameter in the likelihood function, with an initial value from a weighted least squares estimate, the same as any of the other parameters.&amp;nbsp; &lt;/P&gt;&lt;P&gt;For an example, using the Poisson regression example in the Getting Started section, and changing the code slightly:&lt;/P&gt;&lt;P&gt;proc genmod data=insure;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; class car age;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; model c = car age / dist&amp;nbsp;&amp;nbsp; = &lt;STRONG&gt;negbin&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; link&amp;nbsp;&amp;nbsp; = log&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; offset = ln&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;itprint&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hopefully, this answer makes some sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will give the value of the parameters at each step in the iteration in the output.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Oct 2012 14:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97712#M4882</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-10-18T14:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97713#M4883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11pt; font-family: Arial, sans-serif; color: black; background-color: white; background-position: initial initial; background-repeat: initial initial;"&gt;Ok but &lt;SPAN style="color: black; background: white; font-size: 11.0pt; font-family: 'Arial','sans-serif';"&gt;I need to estimate the parameters for negative binomial distribution (pdf) using maximun likelihood, then estimate the parameter for the Poisson by ML, which can be done by hand, but later I need to conduct a likelihood ratio test between these two distributions.&amp;nbsp; The problem is that, I have SAS Base 9.1 and SAS Stat, all the procedures I found were made to work with regression models.&amp;nbsp; Do you know if there's a way to conduct this distributional analysis.&amp;nbsp; Thanks a lot.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 06:19:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97713#M4883</guid>
      <dc:creator>Agnes</dc:creator>
      <dc:date>2012-10-19T06:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97714#M4884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This one I do have some ideas about.&amp;nbsp; From each run, you will get a table of information criteria, giving things like Akaike's Information Criteria, etc. Now a likelihood ratio test looking at change in -2 log likelihood is possible, BUT since the models are not nested, getting the proper degrees of freedom is difficult, and really, I don't know that the difference will even be distributed as chi-squared.&amp;nbsp; However, if the fixed effects are identical in the two models, a direct comparison of the various IC results can indicate which distribution better fits your data.&amp;nbsp; SAS uses the smaller is better criterion.&amp;nbsp; If there is a decided advantage to one of the distributions, then I would proceed with using it for subsequent analysis.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps.&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, 19 Oct 2012 12:23:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97714#M4884</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-10-19T12:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97715#M4885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So basically I can run the model with a response variable (the one I'm analyzing) and no predictors, use the information displayed in the "&lt;SPAN style="color: #000000; font-family: Arial, 'Albany AMT', Helvetica, Helv; font-size: x-small; background-color: #f5f7f1;"&gt;Analysis Of Maximum Likelihood Parameter Estimates&lt;/SPAN&gt;" table to calculate the MLE of the distribution parameters and then use the &lt;SPAN style="font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; background-color: #ffffff;"&gt;Akaike's Information Criteria to evaluate which model better fits the data. Am I right?&amp;nbsp; Once again, thank you very very much. &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2012 20:59:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97715#M4885</guid>
      <dc:creator>Agnes</dc:creator>
      <dc:date>2012-10-19T20:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97716#M4886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is close. I would include the predictors, as the dispersion parameter for the negative binomial is going to be data dependent.&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, 22 Oct 2012 11:41:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97716#M4886</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2012-10-22T11:41:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dispersion Parameter of Neg Binomial Dist in Genmode procedure</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97717#M4887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The thing is that I want to fit the parameters to a single data set. I found a way to do this&amp;nbsp; using SAS IML but I only have SAS Base 9.1 and SAS Stat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Oct 2012 15:37:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Dispersion-Parameter-of-Neg-Binomial-Dist-in-Genmode-procedure/m-p/97717#M4887</guid>
      <dc:creator>Agnes</dc:creator>
      <dc:date>2012-10-22T15:37:12Z</dc:date>
    </item>
  </channel>
</rss>

