<?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 PROC LOGISTIC: Need to reproduce results with clustered or robust standard devs in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-LOGISTIC-Need-to-reproduce-results-with-clustered-or-robust/m-p/126534#M34736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to reproduce the identical parameter estimates with a clustered or robust standard errors.&amp;nbsp; I have not been able to reproduce the results.&amp;nbsp; The first model is the model I am trying to reproduce by utilizing other PROCS in order to calculate the clustered variance.&amp;nbsp; Any recommendations out there?!?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Model need to reproduce with clustered or robust standard errors&lt;BR /&gt;proc logistic data = regdatas;&lt;BR /&gt;&amp;nbsp; title 'Measure 5';&lt;BR /&gt;&amp;nbsp; class quarter /param = ref ref = first;&lt;BR /&gt;&amp;nbsp; model meas_5_num (event = '1')=&amp;nbsp; treated female nonwhite age_at_discharge quarter score_community;&lt;BR /&gt;&amp;nbsp; strata prov_name;&lt;BR /&gt;&amp;nbsp; where (prov_ace_crd = 1 or prov_tru_crd = 1) &amp;amp; quarter ne '' &amp;amp; prov_name ne '' &amp;amp; meas_5_denom = 1 &amp;amp;&lt;BR /&gt;&amp;nbsp; Procedure_group in ('CARDIAC DEFIBRILLATOR IMPLANT','CARDIAC PACEMAKER IMPLANT OR REVISION','CARDIAC VALVE AND OTHER MAJOR CARDIOTHORACIC',&lt;BR /&gt;&amp;nbsp; 'CORONARY ARTERY BYPASS GRAFT','PERCUTANEOUS CORONARY INTERVENTION');&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;I have tried -&lt;/P&gt;&lt;P&gt;proc mixed data = regdatas method=REML empirical;&lt;BR /&gt;&amp;nbsp; title 'Measure 5';&lt;BR /&gt;&amp;nbsp; class quarter prov_name;&lt;BR /&gt;&amp;nbsp; model meas_5_num =&amp;nbsp; treated female nonwhite age_at_discharge quarter score_community / solution influence;&lt;BR /&gt;&amp;nbsp; random int / sub=prov_name g gcorr;&lt;BR /&gt;&amp;nbsp; where (prov_ace_crd = 1 or prov_tru_crd = 1) &amp;amp; quarter ne '' &amp;amp; prov_name ne '' &amp;amp; meas_5_denom = 1 &amp;amp;&lt;BR /&gt;&amp;nbsp; Procedure_group in ('CARDIAC DEFIBRILLATOR IMPLANT','CARDIAC PACEMAKER IMPLANT OR REVISION','CARDIAC VALVE AND OTHER MAJOR CARDIOTHORACIC',&lt;BR /&gt;&amp;nbsp; 'CORONARY ARTERY BYPASS GRAFT','PERCUTANEOUS CORONARY INTERVENTION');&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc genmod data = x descending;&lt;BR /&gt;&amp;nbsp; class quarter (param=ref ref=first) prov_name;&lt;BR /&gt;&amp;nbsp; model meas_5_num = treated female nonwhite age_at_discharge quarter score_community / dist=binomial link=logit noint;&lt;BR /&gt;&amp;nbsp; repeated subject=prov_name / type=cs corrw;&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;proc glimmix data = x empirical=classical;&lt;BR /&gt;&amp;nbsp; class quarter prov_name;&lt;BR /&gt;&amp;nbsp; model meas_5_num = treated female nonwhite age_at_discharge quarter score_community / dist=binomial solution;&lt;BR /&gt;&amp;nbsp; random intercept / subject=prov_name;&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;proc surveylogistic data = x;&lt;BR /&gt;&amp;nbsp; title 'Measure 5';&lt;BR /&gt;&amp;nbsp; class quarter / param=ref ref=first;&lt;BR /&gt;&amp;nbsp; model meas_5_num (event='1') = treated female nonwhite age_at_discharge quarter score_community / noint;&lt;BR /&gt;&amp;nbsp; strata prov_name;&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;&amp;nbsp; cluster prov_name;&lt;BR /&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Mar 2013 12:15:35 GMT</pubDate>
    <dc:creator>jdserbon</dc:creator>
    <dc:date>2013-03-04T12:15:35Z</dc:date>
    <item>
      <title>PROC LOGISTIC: Need to reproduce results with clustered or robust standard devs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-LOGISTIC-Need-to-reproduce-results-with-clustered-or-robust/m-p/126534#M34736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to reproduce the identical parameter estimates with a clustered or robust standard errors.&amp;nbsp; I have not been able to reproduce the results.&amp;nbsp; The first model is the model I am trying to reproduce by utilizing other PROCS in order to calculate the clustered variance.&amp;nbsp; Any recommendations out there?!?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Model need to reproduce with clustered or robust standard errors&lt;BR /&gt;proc logistic data = regdatas;&lt;BR /&gt;&amp;nbsp; title 'Measure 5';&lt;BR /&gt;&amp;nbsp; class quarter /param = ref ref = first;&lt;BR /&gt;&amp;nbsp; model meas_5_num (event = '1')=&amp;nbsp; treated female nonwhite age_at_discharge quarter score_community;&lt;BR /&gt;&amp;nbsp; strata prov_name;&lt;BR /&gt;&amp;nbsp; where (prov_ace_crd = 1 or prov_tru_crd = 1) &amp;amp; quarter ne '' &amp;amp; prov_name ne '' &amp;amp; meas_5_denom = 1 &amp;amp;&lt;BR /&gt;&amp;nbsp; Procedure_group in ('CARDIAC DEFIBRILLATOR IMPLANT','CARDIAC PACEMAKER IMPLANT OR REVISION','CARDIAC VALVE AND OTHER MAJOR CARDIOTHORACIC',&lt;BR /&gt;&amp;nbsp; 'CORONARY ARTERY BYPASS GRAFT','PERCUTANEOUS CORONARY INTERVENTION');&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;I have tried -&lt;/P&gt;&lt;P&gt;proc mixed data = regdatas method=REML empirical;&lt;BR /&gt;&amp;nbsp; title 'Measure 5';&lt;BR /&gt;&amp;nbsp; class quarter prov_name;&lt;BR /&gt;&amp;nbsp; model meas_5_num =&amp;nbsp; treated female nonwhite age_at_discharge quarter score_community / solution influence;&lt;BR /&gt;&amp;nbsp; random int / sub=prov_name g gcorr;&lt;BR /&gt;&amp;nbsp; where (prov_ace_crd = 1 or prov_tru_crd = 1) &amp;amp; quarter ne '' &amp;amp; prov_name ne '' &amp;amp; meas_5_denom = 1 &amp;amp;&lt;BR /&gt;&amp;nbsp; Procedure_group in ('CARDIAC DEFIBRILLATOR IMPLANT','CARDIAC PACEMAKER IMPLANT OR REVISION','CARDIAC VALVE AND OTHER MAJOR CARDIOTHORACIC',&lt;BR /&gt;&amp;nbsp; 'CORONARY ARTERY BYPASS GRAFT','PERCUTANEOUS CORONARY INTERVENTION');&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;proc genmod data = x descending;&lt;BR /&gt;&amp;nbsp; class quarter (param=ref ref=first) prov_name;&lt;BR /&gt;&amp;nbsp; model meas_5_num = treated female nonwhite age_at_discharge quarter score_community / dist=binomial link=logit noint;&lt;BR /&gt;&amp;nbsp; repeated subject=prov_name / type=cs corrw;&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;proc glimmix data = x empirical=classical;&lt;BR /&gt;&amp;nbsp; class quarter prov_name;&lt;BR /&gt;&amp;nbsp; model meas_5_num = treated female nonwhite age_at_discharge quarter score_community / dist=binomial solution;&lt;BR /&gt;&amp;nbsp; random intercept / subject=prov_name;&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;run; &lt;/P&gt;&lt;P&gt;proc surveylogistic data = x;&lt;BR /&gt;&amp;nbsp; title 'Measure 5';&lt;BR /&gt;&amp;nbsp; class quarter / param=ref ref=first;&lt;BR /&gt;&amp;nbsp; model meas_5_num (event='1') = treated female nonwhite age_at_discharge quarter score_community / noint;&lt;BR /&gt;&amp;nbsp; strata prov_name;&lt;BR /&gt;&amp;nbsp; by procedure_group;&lt;BR /&gt;&amp;nbsp; cluster prov_name;&lt;BR /&gt;run; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 12:15:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-LOGISTIC-Need-to-reproduce-results-with-clustered-or-robust/m-p/126534#M34736</guid>
      <dc:creator>jdserbon</dc:creator>
      <dc:date>2013-03-04T12:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: PROC LOGISTIC: Need to reproduce results with clustered or robust standard devs</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-LOGISTIC-Need-to-reproduce-results-with-clustered-or-robust/m-p/126535#M34737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll be curious about the answers you receive here.&amp;nbsp; My inclination is that the latter two procs will be the most likely to yield what you are looking for.&amp;nbsp; However, be aware that the estimates for glimmix are conditional, rather than marginal, so they may not match.&amp;nbsp; A good read on this would be Stroup (2013) &lt;EM&gt;Generalized Linear Mixed Models&lt;/EM&gt;, Ch. 3.5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Mar 2013 12:47:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-LOGISTIC-Need-to-reproduce-results-with-clustered-or-robust/m-p/126535#M34737</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-03-04T12:47:17Z</dc:date>
    </item>
  </channel>
</rss>

