<?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 Output parameter names for zero-inflated negative binomial regression in proc genmod? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Output-parameter-names-for-zero-inflated-negative-binomial/m-p/788984#M40098</link>
    <description>&lt;P&gt;I'm running a&amp;nbsp;zero-inflated negative binomial regression model with proc genmod and would like to output the parameter names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the mean (or lambda) =p and zero-inflation constant = pzero, but can't find the output name for the dispersion parameter in the documentation (&lt;A href="https://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_genmod_syntax24.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_genmod_syntax24.htm&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data =dataset;
  	model y = / dist=zinb;
  	zeromodel / link = logit;
	output out=ZINBFit p=lambda pzero=pzero dispersion(?)=k;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 07 Jan 2022 23:03:46 GMT</pubDate>
    <dc:creator>RobertWF1</dc:creator>
    <dc:date>2022-01-07T23:03:46Z</dc:date>
    <item>
      <title>Output parameter names for zero-inflated negative binomial regression in proc genmod?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Output-parameter-names-for-zero-inflated-negative-binomial/m-p/788984#M40098</link>
      <description>&lt;P&gt;I'm running a&amp;nbsp;zero-inflated negative binomial regression model with proc genmod and would like to output the parameter names.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I think the mean (or lambda) =p and zero-inflation constant = pzero, but can't find the output name for the dispersion parameter in the documentation (&lt;A href="https://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_genmod_syntax24.htm" target="_blank"&gt;https://support.sas.com/documentation/cdl/en/statug/68162/HTML/default/viewer.htm#statug_genmod_syntax24.htm&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc genmod data =dataset;
  	model y = / dist=zinb;
  	zeromodel / link = logit;
	output out=ZINBFit p=lambda pzero=pzero dispersion(?)=k;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 07 Jan 2022 23:03:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Output-parameter-names-for-zero-inflated-negative-binomial/m-p/788984#M40098</guid>
      <dc:creator>RobertWF1</dc:creator>
      <dc:date>2022-01-07T23:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Output parameter names for zero-inflated negative binomial regression in proc genmod?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/Output-parameter-names-for-zero-inflated-negative-binomial/m-p/789007#M40099</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS OUTPUT&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;statement , you can capture a table that is in your output window (Results) in a data set.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Use&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS TRACE ON;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;before your PROC GENMOD statement to know about the name of the output object. The names of all output objects (tables and graphs) are published in the LOG.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the table | output object you are interested in (because it contains the dispersion) is called ABC, then do :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;ODS OUTPUT ABC = WORK.DISPERSION;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Sat, 08 Jan 2022 00:55:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/Output-parameter-names-for-zero-inflated-negative-binomial/m-p/789007#M40099</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2022-01-08T00:55:54Z</dc:date>
    </item>
  </channel>
</rss>

