<?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 for categorical interaction in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/440768#M23224</link>
    <description>&lt;P&gt;Use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="token statement"&gt;class&lt;/SPAN&gt; predict_1 &lt;SPAN class="token function"&gt;time&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;no asterisk.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 04:40:24 GMT</pubDate>
    <dc:creator>PGStats</dc:creator>
    <dc:date>2018-02-28T04:40:24Z</dc:date>
    <item>
      <title>Proc MIANALYZE for categorical interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/440628#M23223</link>
      <description>&lt;P&gt;I am having trouble generating pooled effect estimates for an interaction between two categorical variables, using multiple linear regression with robust variance estimation and stabilized inverse probability of treatment weights - essentially a 'multiple informant' model.&amp;nbsp; The code I'm working with is:&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"&gt;Proc genmod data=data plots=(dfbetacs);  
	class studyid predict_1 (ref='0');
	model z_bw=predict_1*time race*time bmi*time age*time educat*time smoke*time/noint dist=normal link=identity id=studyid;
                repeated subject=studyid/type=ind ecovb;
		weight &amp;amp;weight;
		by _imputation_;
	ods output GEEEmpPEst=emp_est GEERCov=emp_covb 
        parmInfo=pinfo;
run;

Proc mianalyze  parms(classvar=level)=emp_est  covb = emp_covb parminfo=gmpinfo mult;
	class predict_1*time;
	modeleffects  predict_1*time;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Predict_1 is a 3 level categorical variables (i.e., 1st, 2nd, 3rd tertile), time is a 2 level categorical variable. My model works fine but I'm unable to generate the pooled estimate for predict_1*time at each of the 6 potential levels.&amp;nbsp; However, I am receiving an error message that I've been unable to correct in that SAS doesn't appear to be recognizing the "predict_1*time" as an effect/Parm name:&lt;/P&gt;
&lt;P&gt;"ERROR 22-322: Syntax error, expecting one of the following: a name, ;, -."&lt;BR /&gt;"ERROR 200-322: The symbol is not recognized and will be ignored."&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any ideas? Please!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 18:46:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/440628#M23223</guid>
      <dc:creator>ProfB</dc:creator>
      <dc:date>2018-02-27T18:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MIANALYZE for categorical interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/440768#M23224</link>
      <description>&lt;P&gt;Use&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;&lt;SPAN class="token statement"&gt;class&lt;/SPAN&gt; predict_1 &lt;SPAN class="token function"&gt;time&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="token punctuation"&gt;no asterisk.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 04:40:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/440768#M23224</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2018-02-28T04:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MIANALYZE for categorical interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/440953#M23229</link>
      <description>&lt;P&gt;Thanks, but no luck, "The model effect predict_1 is not in the PARMS= data set." I don't have the individual effect of predict_1 in the model.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 17:02:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/440953#M23229</guid>
      <dc:creator>ProfB</dc:creator>
      <dc:date>2018-02-28T17:02:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MIANALYZE for categorical interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/441215#M23241</link>
      <description>&lt;P&gt;Try this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE class=" language-sas"&gt;&lt;CODE class="  language-sas"&gt;&lt;SPAN class="token procnames"&gt;Proc&lt;/SPAN&gt; &lt;SPAN class="token procnames"&gt;mianalyze&lt;/SPAN&gt;  parms&lt;SPAN class="token punctuation"&gt;(&lt;/SPAN&gt;classvar&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;level&lt;SPAN class="token punctuation"&gt;)&lt;/SPAN&gt;&lt;SPAN class="token operator"&gt;=&lt;/SPAN&gt;emp_est;
	&lt;SPAN class="token statement"&gt;class&lt;/SPAN&gt; predict_1&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
	modeleffects  predict_1&lt;SPAN class="token operator"&gt;*&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;time&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="token procnames"&gt;run&lt;/SPAN&gt;&lt;SPAN class="token punctuation"&gt;;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You won't be able to use the MULT option since you have a CLASS variable.&amp;nbsp; This also means you do not&amp;nbsp; need the COVB= option either.&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 15:08:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/441215#M23241</guid>
      <dc:creator>SAS_Rob</dc:creator>
      <dc:date>2018-03-01T15:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Proc MIANALYZE for categorical interaction</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/441274#M23242</link>
      <description>&lt;P&gt;Success!!! Thank you so much!&lt;/P&gt;</description>
      <pubDate>Thu, 01 Mar 2018 16:39:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-MIANALYZE-for-categorical-interaction/m-p/441274#M23242</guid>
      <dc:creator>ProfB</dc:creator>
      <dc:date>2018-03-01T16:39:13Z</dc:date>
    </item>
  </channel>
</rss>

