<?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: Problem with PROC MIANALYZE in LBetaEstimate using modified Poisson Regression in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840291#M41647</link>
    <description>&lt;P&gt;Thank you Rob, since the&amp;nbsp;&lt;SPAN&gt;the last column is the p-value for testing that the estimate=0, How can I get the p value that for the model effect of variable "group"? How shoud I get the P&amp;gt;Chisq?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 24 Oct 2022 14:43:36 GMT</pubDate>
    <dc:creator>Diels_O</dc:creator>
    <dc:date>2022-10-24T14:43:36Z</dc:date>
    <item>
      <title>Problem with PROC MIANALYZE in LBetaEstimate using modified Poisson Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840250#M41641</link>
      <description>&lt;P&gt;Here's the code's run, And using PROC MIANALYZE don't get the p value, and the SD is larger than any individual outcome&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc MI data = ITT1 seed = 128 nimpute = 10 out = aftermi;
class score90day IVT group;
fcs logistic(score90day = age baseline_covriate onset_to_randomization group score30day);
var score90day group age baseline_covriate  onset_to_randomization score30day;
run;
proc print data = aftermi;
run;
data aftermi;
set aftermi;
if score90day = 0 then score90day_0to1 = 1;
else if score90day = 1 then score90day_0to1 = 1;
else score90day_0to1 = 0;
run;
/*modified Poisson Regression*/
proc genmod data = aftermi;
by _Imputation_;
class enroll_order group(desc) score90day_0to1(desc) IVT/PARAM = GLM;
model score90day = group onset_to_randomization baseline_covriate  age/ dist = poisson link = log covb corrb;
ods output GEEEmpPEst=gmparms parminfo=gmpinfo Covb=gmcovb;
repeated subject = enroll_order/type = un modelse;
estimate "beta" group 1 -1/exp;
ods output Estimates=est_ds(where=(index(label,'Exp')=1));
lsmeans group/diff exp cl;
run;
proc sort data=est_ds;
by label _imputation_;
run;
proc mianalyze data=est_ds;
by label;
modeleffects LBetaEstimate;
stderr stderr;
run;


&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;And I get the result like this for each generated dataset&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the estimated result&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when using the PROC MIANALYZE for LbetaEstimate;&lt;/P&gt;
&lt;P&gt;I found that the&amp;nbsp;Std Error seems to be larger than any Std Error in each dataset of the 10 generated. And I couldn't get the P value, can any Proffessor help me ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas" style="font-size: 16px; white-space: normal;"&gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 15:01:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840250#M41641</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2022-10-24T15:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with PROC MIANALYZE in LBetaEstimate using modified Poisson Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840290#M41646</link>
      <description>&lt;P&gt;In the Parameter Estimates table output from Proc MIANALYZE, the last column is the p-value for testing that the estimate=0 (in your case it is very small, i.e. less than .0001).&amp;nbsp; If you want the actual value then you would either need to format the output by modifying the template (cumbersome) or saving the table to a SAS dataset and then applying a FORMAT.&lt;/P&gt;
&lt;P&gt;proc mianalyze data=est_ds;&lt;BR /&gt;by label;&lt;BR /&gt;modeleffects LBetaEstimate;&lt;BR /&gt;stderr stderr;&lt;/P&gt;
&lt;P&gt;ods output ParameterEstimates=parms;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;proc print data=parms;&lt;/P&gt;
&lt;P&gt;format Probt 10.8;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The combined standard error will almost always be larger than any of the standard errors for the single estimates by design.&amp;nbsp; Part of what makes multiple imputation appealing and a good tool to reduce bias is the fact that it introduces variability across the imputations and not just within the imputations.&amp;nbsp; In other words, the variance for the estimates includes two factors--the within imputation variance and the between imputation variance.&amp;nbsp; The formulas in the documentation are informative in that regard.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/doc/en/pgmsascdc/9.4_3.5/statug/statug_mianalyze_details08.htm" target="_blank"&gt;SAS Help Center: Combining Inferences from Imputed Data Sets&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:33:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840290#M41646</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2022-10-24T14:33:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with PROC MIANALYZE in LBetaEstimate using modified Poisson Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840291#M41647</link>
      <description>&lt;P&gt;Thank you Rob, since the&amp;nbsp;&lt;SPAN&gt;the last column is the p-value for testing that the estimate=0, How can I get the p value that for the model effect of variable "group"? How shoud I get the P&amp;gt;Chisq?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:43:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840291#M41647</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2022-10-24T14:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with PROC MIANALYZE in LBetaEstimate using modified Poisson Regression</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840297#M41648</link>
      <description>&lt;P&gt;Thank Dr. Rob, I have find it out; I will just use the estimate result rather than the result with exp function; After the PROC MIANALYZE just calculate the EXP value, many thanks to you!&lt;/P&gt;</description>
      <pubDate>Mon, 24 Oct 2022 14:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Problem-with-PROC-MIANALYZE-in-LBetaEstimate-using-modified/m-p/840297#M41648</guid>
      <dc:creator>Diels_O</dc:creator>
      <dc:date>2022-10-24T14:54:39Z</dc:date>
    </item>
  </channel>
</rss>

