<?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 MIANALYZE with Poisson regression with robust error variance in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-with-Poisson-regression-with-robust-error/m-p/414923#M21783</link>
    <description>&lt;P&gt;In general, unless you are using the TEST statement or the MULT option, it is not necessary to include the COVB= and PARMINFO= data sets in Proc MIANALYZE.&amp;nbsp; Thus if you provide just the PARMS(CLASSVAR=LEVEL)= data set then you should be good to go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc genmod data=outmi;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;class a id;&lt;BR /&gt;model y=a x/d=bin link=log;&lt;BR /&gt;repeated subject=id;&lt;BR /&gt;ods output geeemppest=parms;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc mianalyze parms(classvar=level)=parms;&lt;BR /&gt;class a;&lt;BR /&gt;modeleffects intercept a x;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Nov 2017 18:34:53 GMT</pubDate>
    <dc:creator>SAS_Rob</dc:creator>
    <dc:date>2017-11-20T18:34:53Z</dc:date>
    <item>
      <title>Proc MIANALYZE with Poisson regression with robust error variance</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-with-Poisson-regression-with-robust-error/m-p/414202#M21723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I encountered a trouble when I wanted to use PROC MIANALYZE with&amp;nbsp;poisson regression with robust error variance, which was performed by PROC GENMOD + repeated statement (see link &lt;A href="https://stats.idre.ucla.edu/sas/faq/how-can-i-estimate-relative-risk-in-sas-using-proc-genmod-for-common-outcomes-in-cohort-studies/" target="_self"&gt;ESTIMATE RELATIVE RISK IN SAS USING PROC GENMOD&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the example on SAS website (&lt;A href="https://support.sas.com/documentation/cdl/en/statug/63347/HTML/default/viewer.htm#statug_mianalyze_sect023.htm" target="_self"&gt;Reading Generalized Linear Model Results&lt;/A&gt;), I need three dataset to make MIANALYZE work. They are datasets for parameter estimates, parameter information and covariance matrix.&amp;nbsp;Because my procedure is for poisson regression with repeated statement, I output three tables "GEEEmpPEst", "ParmInfo" and "CovB" for the three datasets needed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The issue is, the approach works when I have only one predictor but does not work if I&amp;nbsp;had multiple predictors. The error info says "CovB" was not created, which basically means it does not&amp;nbsp;generate the CovB dataset. I tried to get table "GEERCov" and "GEENCov" and none of them exist.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My question is, how can I get a covariance matrix from a model with more than one predictor using &lt;SPAN&gt;p&lt;/SPAN&gt;&lt;SPAN&gt;oisson regression with robust error variance, to apply to the MIANALYZE procedure?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 17 Nov 2017 01:02:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-with-Poisson-regression-with-robust-error/m-p/414202#M21723</guid>
      <dc:creator>llu</dc:creator>
      <dc:date>2017-11-17T01:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MIANALYZE with Poisson regression with robust error variance</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-with-Poisson-regression-with-robust-error/m-p/414923#M21783</link>
      <description>&lt;P&gt;In general, unless you are using the TEST statement or the MULT option, it is not necessary to include the COVB= and PARMINFO= data sets in Proc MIANALYZE.&amp;nbsp; Thus if you provide just the PARMS(CLASSVAR=LEVEL)= data set then you should be good to go.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc genmod data=outmi;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;class a id;&lt;BR /&gt;model y=a x/d=bin link=log;&lt;BR /&gt;repeated subject=id;&lt;BR /&gt;ods output geeemppest=parms;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;proc mianalyze parms(classvar=level)=parms;&lt;BR /&gt;class a;&lt;BR /&gt;modeleffects intercept a x;&lt;BR /&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Nov 2017 18:34:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-with-Poisson-regression-with-robust-error/m-p/414923#M21783</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2017-11-20T18:34:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MIANALYZE with Poisson regression with robust error variance</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-with-Poisson-regression-with-robust-error/m-p/415529#M21801</link>
      <description>&lt;P&gt;Thank you Rob!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Actually, I also found that if I requested the&amp;nbsp;GEE covariance matrix&amp;nbsp;by adding "ecovb" after the repeated statement, then I am able to get the GEE empirical covariance matrix "GEERCov".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your advice!&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 15:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-with-Poisson-regression-with-robust-error/m-p/415529#M21801</guid>
      <dc:creator>llu</dc:creator>
      <dc:date>2017-11-22T15:00:53Z</dc:date>
    </item>
  </channel>
</rss>

