<?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 - How to get overall p-value for categorical variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/438208#M109225</link>
    <description>Well, I think I've figured out how to get the XPXI data set, but now I'm getting an error message that says, "Within-imputation XPXI missing for _Imputation_= 1 in the input XPXI= data set." Does anyone know what this means / why I am getting this error?</description>
    <pubDate>Sat, 17 Feb 2018 22:20:21 GMT</pubDate>
    <dc:creator>derekg</dc:creator>
    <dc:date>2018-02-17T22:20:21Z</dc:date>
    <item>
      <title>PROC MIANALYZE - How to get overall p-value for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/438050#M109182</link>
      <description>&lt;P&gt;I'm working on something involving multiple imputation, and am trying to figure out how I can get an overall p-value associated with a categorical variable in my model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So first I use PROC MI to generate 10 imputed datasets. Then I'm using PROC SURVEYREG to fit a model for each of the 10 imputed datasets, and then using PROC MIANALYZE to combine the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The model I'm fitting in PROC SURVEYREG is roughly of the form Y = A + B + C + X, where Y is a continuous outcome; A, B, and C are covariates being controlled for; and X is a categorical variable with four levels (X1, X2, X3, X4). PROC MIANALYZE will give me results (parameter estimates, p-values, etc.) for three levels of X individually (using the other level as a reference), but what I want is the overall p-value for this variable (i.e., if X1 is the reference level, then the p-value for the test of X2=X3=X4=0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think this can be accomplished using a test statement in PROC MIANALYZE, but when I try to do this, I get the warning: "The TEST statement cannot be used when the input PARMS= data set is specified without COVB= or XPXI= data set."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any suggestions of how to proceed? I've seen that a similar question has already been discussed &lt;A href="https://communities.sas.com/t5/SAS-Procedures/Proc-Mianalyze-obtaining-combined-results-for-categorical/td-p/118162" target="_self"&gt;here&lt;/A&gt;, but I'm still trying to figure it out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Feb 2018 19:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/438050#M109182</guid>
      <dc:creator>derekg</dc:creator>
      <dc:date>2018-02-16T19:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIANALYZE - How to get overall p-value for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/438208#M109225</link>
      <description>Well, I think I've figured out how to get the XPXI data set, but now I'm getting an error message that says, "Within-imputation XPXI missing for _Imputation_= 1 in the input XPXI= data set." Does anyone know what this means / why I am getting this error?</description>
      <pubDate>Sat, 17 Feb 2018 22:20:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/438208#M109225</guid>
      <dc:creator>derekg</dc:creator>
      <dc:date>2018-02-17T22:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIANALYZE - How to get overall p-value for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/438294#M109259</link>
      <description>Looks like I've gotten it to work now by using COVB instead of XPXI</description>
      <pubDate>Sun, 18 Feb 2018 20:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/438294#M109259</guid>
      <dc:creator>derekg</dc:creator>
      <dc:date>2018-02-18T20:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: PROC MIANALYZE - How to get overall p-value for categorical variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/563390#M157938</link>
      <description>&lt;P&gt;Hi,&amp;nbsp; I am having the same issue as you describe.&amp;nbsp; How did you finally solve the problem?&amp;nbsp; thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jun 2019 21:11:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/PROC-MIANALYZE-How-to-get-overall-p-value-for-categorical/m-p/563390#M157938</guid>
      <dc:creator>jcn</dc:creator>
      <dc:date>2019-06-03T21:11:50Z</dc:date>
    </item>
  </channel>
</rss>

