<?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: Need help for estimated statement: Zero-inflated count data in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-for-estimated-statement-Zero-inflated-count-data/m-p/961490#M48171</link>
    <description>&lt;P&gt;As discussed in &lt;A href="http://support.sas.com/kb/44354" target="_self"&gt;this note&lt;/A&gt;, you cannot use the ESTIMATE statement to obtain estimated means from zero-inflated models fit by PROC GENMOD. See the methods shown in the note to estimate means under the model.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can search the SAS Notes and Samples at &lt;A href="https://support.sas.com/en/knowledge-base.html" target="_blank"&gt;https://support.sas.com/en/knowledge-base.html&lt;/A&gt;&amp;nbsp;and the list of Frequently-Asked for Statistics at &lt;A href="https://support.sas.com/kb/30/333.html" target="_blank"&gt;https://support.sas.com/kb/30/333.html&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Mar 2025 21:26:51 GMT</pubDate>
    <dc:creator>StatDave</dc:creator>
    <dc:date>2025-03-10T21:26:51Z</dc:date>
    <item>
      <title>Need help for estimated statement: Zero-inflated count data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-for-estimated-statement-Zero-inflated-count-data/m-p/960826#M48123</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I appreciate your assistance. Thanks you in advance!&lt;/P&gt;
&lt;P&gt;I need help writing an estimated statement of 4-level variable _cause. Please see SAS codes/analyses below and the attached SAS outcome.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;title1 'zero-inflated Poisson regression analysis - _sex';&lt;BR /&gt;proc genmod data = COVID.kh_analyse;&lt;BR /&gt;class _cause /param=glm;&lt;BR /&gt;model days_adm_death = _cause age_60 _eth / type3 dist=zip;&lt;BR /&gt;zeromodel _sex /link = logit;&lt;BR /&gt;estimate "_cause = 0" intercept 1 age_60 .46 _cause 0 1 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 1 _sex .45; &lt;BR /&gt;estimate "_cause = 1" intercept 1 age_60 .46 _cause 1 0 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 1 _sex .45; &lt;BR /&gt;estimate "_cause = 0" intercept 1 age_60 .46 _cause 1 0 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 1 _sex .45; &lt;BR /&gt;estimate "_cause = 2" intercept 1 age_60 .46 _cause 1 0 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 1 _sex .45; &lt;BR /&gt;estimate "_cause = 0" intercept 1 age_60 .46 _cause 0 1 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 3 _sex .45; &lt;BR /&gt;estimate "_cause = 3" intercept 1 age_60 .46 _cause 1 0 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 1 _sex .45; &lt;BR /&gt;estimate "_cause = 0" intercept 1 age_60 .46 _cause 0 1 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 4 _sex .45; &lt;BR /&gt;estimate "_cause = 4" intercept 1 age_60 .46 _cause 1 0 &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/29974"&gt;@Zero&lt;/a&gt; intercept 4 _sex .45; &lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc means data = COVID.kh_analyse mean std min max var;&lt;BR /&gt;var days_adm_death age_60 _sex;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;proc freq data = COVID.kh_analyse;&lt;BR /&gt;tables _cause;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 14:06:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-for-estimated-statement-Zero-inflated-count-data/m-p/960826#M48123</guid>
      <dc:creator>PhanS</dc:creator>
      <dc:date>2025-03-04T14:06:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need help for estimated statement: Zero-inflated count data</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Need-help-for-estimated-statement-Zero-inflated-count-data/m-p/961490#M48171</link>
      <description>&lt;P&gt;As discussed in &lt;A href="http://support.sas.com/kb/44354" target="_self"&gt;this note&lt;/A&gt;, you cannot use the ESTIMATE statement to obtain estimated means from zero-inflated models fit by PROC GENMOD. See the methods shown in the note to estimate means under the model.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can search the SAS Notes and Samples at &lt;A href="https://support.sas.com/en/knowledge-base.html" target="_blank"&gt;https://support.sas.com/en/knowledge-base.html&lt;/A&gt;&amp;nbsp;and the list of Frequently-Asked for Statistics at &lt;A href="https://support.sas.com/kb/30/333.html" target="_blank"&gt;https://support.sas.com/kb/30/333.html&lt;/A&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 21:26:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Need-help-for-estimated-statement-Zero-inflated-count-data/m-p/961490#M48171</guid>
      <dc:creator>StatDave</dc:creator>
      <dc:date>2025-03-10T21:26:51Z</dc:date>
    </item>
  </channel>
</rss>

