<?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 errors in running proc mixed covtest in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/errors-in-running-proc-mixed-covtest/m-p/610319#M76762</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run a&amp;nbsp;proc mixed covtest, and keep recieving errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I tried running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed covtest data=rsa1;
where ans_ctas=1;
class couple_id women session;
model UFBs_total= 

male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc
female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc

/s    ddfm=satterth noint;
random  	
/*male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc*/
/*female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc*/

male male*x male*y  male*lUFBs_totalmc
female female*x female*y female*lUFBs_totalmc

	/subject = couple_id type=vc gcorr ;
repeated women session/subject = couple_id type = un@ar(1);

estimate 'male a1' male*x 1 male*y 1; 
estimate 'male a2' male*x_x 1 male*x_y 1 male*y_y 1; 
estimate 'male a3' male*x 1 male*y -1; 
estimate 'male a4' male*x_x 1 male*x_y -1 male*y_y 1; 

estimate 'female a1' female*x 1 female*y 1; 
estimate 'female a2' female*x_x 1 female*x_y 1 female*y_y 1; 
estimate 'female a3' female*x 1 female*y -1; 
estimate 'female a4' female*x_x 1 female*x_y -1 female*y_y 1; 

estimate 'male vs. female a1' male*x 1 male*y 1 female*x -1 female*y -1; 
estimate 'male vs. female a2' male*x_x 1 male*x_y 1 male*y_y 1 female*x_x 1 female*x_y 1 female*y_y -1; ; 
estimate 'male vs. female a3' male*x 1 male*y -1 female*x 1 female*y 1; 
estimate 'male vs. female a4' male*x_x 1 male*x_y -1 male*y_y 1 female*x_x -1 female*x_y 1 female*y_y -1; ; 

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I recieved -&amp;nbsp;WARNING: Stopped because of too many likelihood evaluations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;than I added to the first line:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix covtest data=rsa1 maxiter=1000 maxfunc=5000;

where ans_ctas=1;
class couple_id women session;
model UFBs_total= 

male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc
female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc

/s    ddfm=satterth noint;
random  	
/*male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc*/
/*female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc*/

male male*x male*y  male*lUFBs_totalmc
female female*x female*y female*lUFBs_totalmc

	/subject = couple_id type=vc gcorr ;
repeated women session/subject = couple_id type = un@ar(1);

estimate 'male a1' male*x 1 male*y 1; 
estimate 'male a2' male*x_x 1 male*x_y 1 male*y_y 1; 
estimate 'male a3' male*x 1 male*y -1; 
estimate 'male a4' male*x_x 1 male*x_y -1 male*y_y 1; 

estimate 'female a1' female*x 1 female*y 1; 
estimate 'female a2' female*x_x 1 female*x_y 1 female*y_y 1; 
estimate 'female a3' female*x 1 female*y -1; 
estimate 'female a4' female*x_x 1 female*x_y -1 female*y_y 1; 

estimate 'male vs. female a1' male*x 1 male*y 1 female*x -1 female*y -1; 
estimate 'male vs. female a2' male*x_x 1 male*x_y 1 male*y_y 1 female*x_x 1 female*x_y 1 female*y_y -1; ; 
estimate 'male vs. female a3' male*x 1 male*y -1 female*x 1 female*y 1; 
estimate 'male vs. female a4' male*x_x 1 male*x_y -1 male*y_y 1 female*x_x -1 female*x_y 1 female*y_y -1; ; 

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;similar to this question -&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/mixed-model-warning-message/td-p/99242" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/mixed-model-warning-message/td-p/99242&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and now the error I get (whether I choose mixed or glimmix) is -&amp;nbsp;WARNING: Did not converge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Dec 2019 19:11:57 GMT</pubDate>
    <dc:creator>Idow</dc:creator>
    <dc:date>2019-12-08T19:11:57Z</dc:date>
    <item>
      <title>errors in running proc mixed covtest</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/errors-in-running-proc-mixed-covtest/m-p/610319#M76762</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to run a&amp;nbsp;proc mixed covtest, and keep recieving errors.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First, I tried running:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc mixed covtest data=rsa1;
where ans_ctas=1;
class couple_id women session;
model UFBs_total= 

male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc
female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc

/s    ddfm=satterth noint;
random  	
/*male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc*/
/*female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc*/

male male*x male*y  male*lUFBs_totalmc
female female*x female*y female*lUFBs_totalmc

	/subject = couple_id type=vc gcorr ;
repeated women session/subject = couple_id type = un@ar(1);

estimate 'male a1' male*x 1 male*y 1; 
estimate 'male a2' male*x_x 1 male*x_y 1 male*y_y 1; 
estimate 'male a3' male*x 1 male*y -1; 
estimate 'male a4' male*x_x 1 male*x_y -1 male*y_y 1; 

estimate 'female a1' female*x 1 female*y 1; 
estimate 'female a2' female*x_x 1 female*x_y 1 female*y_y 1; 
estimate 'female a3' female*x 1 female*y -1; 
estimate 'female a4' female*x_x 1 female*x_y -1 female*y_y 1; 

estimate 'male vs. female a1' male*x 1 male*y 1 female*x -1 female*y -1; 
estimate 'male vs. female a2' male*x_x 1 male*x_y 1 male*y_y 1 female*x_x 1 female*x_y 1 female*y_y -1; ; 
estimate 'male vs. female a3' male*x 1 male*y -1 female*x 1 female*y 1; 
estimate 'male vs. female a4' male*x_x 1 male*x_y -1 male*y_y 1 female*x_x -1 female*x_y 1 female*y_y -1; ; 

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and I recieved -&amp;nbsp;WARNING: Stopped because of too many likelihood evaluations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;than I added to the first line:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix covtest data=rsa1 maxiter=1000 maxfunc=5000;

where ans_ctas=1;
class couple_id women session;
model UFBs_total= 

male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc
female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc

/s    ddfm=satterth noint;
random  	
/*male male*x male*y male*x_x male*x_y male*y_y  male*lUFBs_totalmc*/
/*female female*x female*y female*x_x female*x_y female*y_y  female*lUFBs_totalmc*/

male male*x male*y  male*lUFBs_totalmc
female female*x female*y female*lUFBs_totalmc

	/subject = couple_id type=vc gcorr ;
repeated women session/subject = couple_id type = un@ar(1);

estimate 'male a1' male*x 1 male*y 1; 
estimate 'male a2' male*x_x 1 male*x_y 1 male*y_y 1; 
estimate 'male a3' male*x 1 male*y -1; 
estimate 'male a4' male*x_x 1 male*x_y -1 male*y_y 1; 

estimate 'female a1' female*x 1 female*y 1; 
estimate 'female a2' female*x_x 1 female*x_y 1 female*y_y 1; 
estimate 'female a3' female*x 1 female*y -1; 
estimate 'female a4' female*x_x 1 female*x_y -1 female*y_y 1; 

estimate 'male vs. female a1' male*x 1 male*y 1 female*x -1 female*y -1; 
estimate 'male vs. female a2' male*x_x 1 male*x_y 1 male*y_y 1 female*x_x 1 female*x_y 1 female*y_y -1; ; 
estimate 'male vs. female a3' male*x 1 male*y -1 female*x 1 female*y 1; 
estimate 'male vs. female a4' male*x_x 1 male*x_y -1 male*y_y 1 female*x_x -1 female*x_y 1 female*y_y -1; ; 

run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;similar to this question -&amp;nbsp;&lt;A href="https://communities.sas.com/t5/SAS-Procedures/mixed-model-warning-message/td-p/99242" target="_blank"&gt;https://communities.sas.com/t5/SAS-Procedures/mixed-model-warning-message/td-p/99242&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and now the error I get (whether I choose mixed or glimmix) is -&amp;nbsp;WARNING: Did not converge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2019 19:11:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/errors-in-running-proc-mixed-covtest/m-p/610319#M76762</guid>
      <dc:creator>Idow</dc:creator>
      <dc:date>2019-12-08T19:11:57Z</dc:date>
    </item>
    <item>
      <title>Re: errors in running proc mixed covtest</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/errors-in-running-proc-mixed-covtest/m-p/610405#M76766</link>
      <description>&lt;P&gt;By the way, when I ran the script with a different data, it worked&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 08:24:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/errors-in-running-proc-mixed-covtest/m-p/610405#M76766</guid>
      <dc:creator>Idow</dc:creator>
      <dc:date>2019-12-09T08:24:45Z</dc:date>
    </item>
  </channel>
</rss>

