<?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: Pooled estimate using Poisson Regression on multiply imputed data. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Pooled-estimate-using-Poisson-Regression-on-multiply-imputed/m-p/573904#M28222</link>
    <description>&lt;P&gt;"Giving me trouble" is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the forum's icon&amp;nbsp;{i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&lt;/A&gt;... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
    <pubDate>Tue, 16 Jul 2019 15:47:00 GMT</pubDate>
    <dc:creator>ballardw</dc:creator>
    <dc:date>2019-07-16T15:47:00Z</dc:date>
    <item>
      <title>Pooled estimate using Poisson Regression on multiply imputed data.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pooled-estimate-using-Poisson-Regression-on-multiply-imputed/m-p/573751#M28221</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am doing a Poisson regression using multiply imputed data to try to get a pooled estimate across my imputed datasets. I was told that the easiest way is to probably use PROC PLM coding. I need to combine doing PROC PLM with then doing mianalyze to account for the 5 imputed datasets.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have seen this thread: &lt;A href="https://communities.sas.com/t5/Statistical-Procedures/How-to-get-pooled-results-for-PROC-PLM-on-imputed-data/td-p/413755" target="_blank"&gt;https://communities.sas.com/t5/Statistical-Procedures/How-to-get-pooled-results-for-PROC-PLM-on-imputed-data/td-p/413755&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it seems close to what I want to do, but I cannot get the code to run corrects.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc genmod data = cancer.cancer_mi;&lt;BR /&gt;class&amp;nbsp; cryo_reason_num / descending;&lt;BR /&gt;model oocytes_retrieved = cryo_reason_num / dist = poisson link = log;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;where CycleCancelled = "N";&lt;BR /&gt;ods output ParameterEstimates = est;&lt;BR /&gt;store stored_model;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc plm source = stored_model;&lt;BR /&gt;show parameters;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc plm source = stored_model;&lt;BR /&gt;lsmeans cryo_reason_num / ilink cl;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The above code gives me 5 separate datasets (one for each imputation) that all look like exactly what I want to get one estimate for.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Below is the part giving me trouble from the link posted above:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc plm restore = stored_model;&lt;BR /&gt;class cryo_reason_num;&lt;BR /&gt;estimate 'Cancer' cryo_reason_num 1 / category=separate;&lt;BR /&gt;estimate 'Other Infertile' cryo_reason_num 2/ category=separate;&lt;BR /&gt;estimate 'Other Medicale' cryo_reason_num 3 / category=separate;&lt;BR /&gt;ods output Estimates=est_ds;&lt;BR /&gt;run;&lt;BR /&gt;proc sort data=est_ds;&lt;BR /&gt;by cryo_reason_num;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc mianalyze data=est_ds;&lt;BR /&gt;by cryo_reason_num;&lt;BR /&gt;modeleffects estimate;&lt;BR /&gt;stderr stderr;&lt;BR /&gt;run;&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;I would appreciate any help!&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 05:33:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pooled-estimate-using-Poisson-Regression-on-multiply-imputed/m-p/573751#M28221</guid>
      <dc:creator>lshandl</dc:creator>
      <dc:date>2019-07-16T05:33:10Z</dc:date>
    </item>
    <item>
      <title>Re: Pooled estimate using Poisson Regression on multiply imputed data.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Pooled-estimate-using-Poisson-Regression-on-multiply-imputed/m-p/573904#M28222</link>
      <description>&lt;P&gt;"Giving me trouble" is awful vague.&lt;BR /&gt;&lt;BR /&gt;Are there errors in the log?: Post the code and log in a code box opened with the forum's icon&amp;nbsp;{i} to maintain formatting of error messages.&lt;BR /&gt;&lt;BR /&gt;No output? Post any log in a code box.&lt;BR /&gt;&lt;BR /&gt;Unexpected output? Provide input data in the form of data step code pasted into a code box, the actual results and the expected results. Instructions here: &lt;A href="https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat" target="_blank"&gt;https://communities.sas.com/t5/SAS-Communities-Library/How-to-create-a-data-step-version-of-your-dat&lt;/A&gt;... will show how to turn an existing SAS data set into data step code that can be pasted into a forum code box using the {i} icon or attached as text to show exactly what you have and that we can test code against.&lt;/P&gt;</description>
      <pubDate>Tue, 16 Jul 2019 15:47:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Pooled-estimate-using-Poisson-Regression-on-multiply-imputed/m-p/573904#M28222</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-07-16T15:47:00Z</dc:date>
    </item>
  </channel>
</rss>

