<?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 Can you get model chi-square statistics in imputation models using PROC MI? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Can-you-get-model-chi-square-statistics-in-imputation-models/m-p/437800#M109093</link>
    <description>&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*FULL MODEL KP cases and KP controls*/&lt;/P&gt;&lt;P&gt;proc logistic data=paul.mi_20_paul; where table3b ne .;&lt;BR /&gt;class cc16_ngperml90 (ref='0') Ab_titre_mcg_ml2(ref='0') CRP_ng_ml90(ref='0')cc16_ngperml90(ref='0')&lt;BR /&gt;sST2R_ngperml90(ref='0')FEV_FVC_80 (ref='0') KL6_Conc_U_ml90(ref='0') Highmold (ref='0')/param=ref;&lt;BR /&gt;model cases (event='1')=AvgNo4No7 alvno FEV_FVC_80 Ab_titre_mcg_ml2 Highmold KL6_Conc_U_ml90 CRP_ng_ml90&lt;BR /&gt;cc16_ngperml90 sST2R_ngperml90 / covb expb;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;ods output parameterestimates = model_1imp covb = covmat1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;*combine results into a data set of parameter estimates, standard errors and so on;&lt;BR /&gt;proc mianalyze parms(classvar=classval) = model_1imp ;&lt;BR /&gt;class ;&lt;BR /&gt;modeleffects AvgNo4No7 alvno FEV_FVC_80 Ab_titre_mcg_ml2 Highmold KL6_Conc_U_ml90 CRP_ng_ml90&lt;BR /&gt;cc16_ngperml90 sST2R_ngperml90;&lt;BR /&gt;ods output parameterestimates = comb_final ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data logout_a;&lt;BR /&gt;set comb_final;&lt;BR /&gt;if parm ^="intercept";&lt;BR /&gt;odds_ratio = exp(estimate);&lt;BR /&gt;odds_LCLMean = exp(lclmean);&lt;BR /&gt;odds_UCLMean = exp(uclmean);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data = logout_a noobs;&lt;BR /&gt;var parm odds:;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 15 Feb 2018 22:09:13 GMT</pubDate>
    <dc:creator>Nadra999</dc:creator>
    <dc:date>2018-02-15T22:09:13Z</dc:date>
    <item>
      <title>Can you get model chi-square statistics in imputation models using PROC MI?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-get-model-chi-square-statistics-in-imputation-models/m-p/437800#M109093</link>
      <description>&lt;P&gt;My code:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/*FULL MODEL KP cases and KP controls*/&lt;/P&gt;&lt;P&gt;proc logistic data=paul.mi_20_paul; where table3b ne .;&lt;BR /&gt;class cc16_ngperml90 (ref='0') Ab_titre_mcg_ml2(ref='0') CRP_ng_ml90(ref='0')cc16_ngperml90(ref='0')&lt;BR /&gt;sST2R_ngperml90(ref='0')FEV_FVC_80 (ref='0') KL6_Conc_U_ml90(ref='0') Highmold (ref='0')/param=ref;&lt;BR /&gt;model cases (event='1')=AvgNo4No7 alvno FEV_FVC_80 Ab_titre_mcg_ml2 Highmold KL6_Conc_U_ml90 CRP_ng_ml90&lt;BR /&gt;cc16_ngperml90 sST2R_ngperml90 / covb expb;&lt;BR /&gt;by _imputation_;&lt;BR /&gt;ods output parameterestimates = model_1imp covb = covmat1;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;*combine results into a data set of parameter estimates, standard errors and so on;&lt;BR /&gt;proc mianalyze parms(classvar=classval) = model_1imp ;&lt;BR /&gt;class ;&lt;BR /&gt;modeleffects AvgNo4No7 alvno FEV_FVC_80 Ab_titre_mcg_ml2 Highmold KL6_Conc_U_ml90 CRP_ng_ml90&lt;BR /&gt;cc16_ngperml90 sST2R_ngperml90;&lt;BR /&gt;ods output parameterestimates = comb_final ;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;data logout_a;&lt;BR /&gt;set comb_final;&lt;BR /&gt;if parm ^="intercept";&lt;BR /&gt;odds_ratio = exp(estimate);&lt;BR /&gt;odds_LCLMean = exp(lclmean);&lt;BR /&gt;odds_UCLMean = exp(uclmean);&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc print data = logout_a noobs;&lt;BR /&gt;var parm odds:;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 15 Feb 2018 22:09:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-get-model-chi-square-statistics-in-imputation-models/m-p/437800#M109093</guid>
      <dc:creator>Nadra999</dc:creator>
      <dc:date>2018-02-15T22:09:13Z</dc:date>
    </item>
    <item>
      <title>Re: Can you get model chi-square statistics in imputation models using PROC MI?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Can-you-get-model-chi-square-statistics-in-imputation-models/m-p/438681#M109390</link>
      <description>&lt;P&gt;&lt;A href="https://communities.sas.com/t5/SAS-Statistical-Procedures/PROC-MI-for-Chi-Square/td-p/418515" target="_self"&gt;This thread&lt;/A&gt; seems similar to what you're working on. Would it work for you as well, to use PROC FREQ by _IMPUTATION_ and letting that chi-square propagate through the PROC MI and PROC MIANALYZE you already have working?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 15:52:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Can-you-get-model-chi-square-statistics-in-imputation-models/m-p/438681#M109390</guid>
      <dc:creator>GinaRepole</dc:creator>
      <dc:date>2018-02-20T15:52:00Z</dc:date>
    </item>
  </channel>
</rss>

