<?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 Glimmix covtest  warning in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-covtest-warning/m-p/236233#M12507</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to compare covariance parameters using covtest with the general specification in Proc Glimmix. Without using covtest everything seems to work. With the covtest statement I get the warning ‘The initial estimates did not yield a valid objective function’ and I get no p value for the comparison of the covariance parameters. Does anyone have any idea why this is happening? My code essentially looks at the covariance between two traits (age at maturity and size) with family as the subject. All the covariance parameters are positive except the two for the covariance between the two traits (one for each of the two treatments), i.e the families which matured later were smaller in both treatments. &amp;nbsp;I would like to know if the treatment changes the covariance between the traits with family as the subject. My code is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; &lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;=mydata;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;class&lt;/SPAN&gt; family trait ID&amp;nbsp;treatment;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;model&lt;/SPAN&gt; response=trait treatment;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;random&lt;/SPAN&gt; trait&amp;nbsp; / &lt;SPAN&gt;subject&lt;/SPAN&gt; = family &amp;nbsp; group= treatment&amp;nbsp;&lt;SPAN&gt;type&lt;/SPAN&gt;=un;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;random&lt;/SPAN&gt; _residual_/&lt;SPAN&gt;subject&lt;/SPAN&gt;=family(ID) &amp;nbsp;group=treatment&amp;nbsp;&lt;SPAN&gt;type&lt;/SPAN&gt;=un;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;covtest&lt;/SPAN&gt; &lt;SPAN&gt;general&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt; -&lt;SPAN&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; /estimates;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your time&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 24 Nov 2015 17:50:52 GMT</pubDate>
    <dc:creator>DIHS</dc:creator>
    <dc:date>2015-11-24T17:50:52Z</dc:date>
    <item>
      <title>Proc Glimmix covtest  warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-covtest-warning/m-p/236233#M12507</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to compare covariance parameters using covtest with the general specification in Proc Glimmix. Without using covtest everything seems to work. With the covtest statement I get the warning ‘The initial estimates did not yield a valid objective function’ and I get no p value for the comparison of the covariance parameters. Does anyone have any idea why this is happening? My code essentially looks at the covariance between two traits (age at maturity and size) with family as the subject. All the covariance parameters are positive except the two for the covariance between the two traits (one for each of the two treatments), i.e the families which matured later were smaller in both treatments. &amp;nbsp;I would like to know if the treatment changes the covariance between the traits with family as the subject. My code is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;glimmix&lt;/STRONG&gt; &lt;SPAN&gt;data&lt;/SPAN&gt;&lt;SPAN&gt;=mydata;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;class&lt;/SPAN&gt; family trait ID&amp;nbsp;treatment;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;model&lt;/SPAN&gt; response=trait treatment;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;random&lt;/SPAN&gt; trait&amp;nbsp; / &lt;SPAN&gt;subject&lt;/SPAN&gt; = family &amp;nbsp; group= treatment&amp;nbsp;&lt;SPAN&gt;type&lt;/SPAN&gt;=un;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;random&lt;/SPAN&gt; _residual_/&lt;SPAN&gt;subject&lt;/SPAN&gt;=family(ID) &amp;nbsp;group=treatment&amp;nbsp;&lt;SPAN&gt;type&lt;/SPAN&gt;=un;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;covtest&lt;/SPAN&gt; &lt;SPAN&gt;general&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;.&lt;/STRONG&gt;&lt;/SPAN&gt; -&lt;SPAN&gt;&lt;STRONG&gt;1&lt;/STRONG&gt;&lt;/SPAN&gt; /estimates;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks for your time&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 17:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-covtest-warning/m-p/236233#M12507</guid>
      <dc:creator>DIHS</dc:creator>
      <dc:date>2015-11-24T17:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix covtest  warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-covtest-warning/m-p/236278#M12511</link>
      <description>&lt;P&gt;In &lt;A href="http://support.sas.com/resources/papers/proceedings12/332-2012.pdf" target="_self"&gt;this paper &lt;/A&gt;by Kiernan, Tao and Gibbs (all with SAS), there is a section about this error.&amp;nbsp;&amp;nbsp; I tried to cut and paste that section, but the formatting got all messed up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2015 21:32:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-covtest-warning/m-p/236278#M12511</guid>
      <dc:creator>plf515</dc:creator>
      <dc:date>2015-11-24T21:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix covtest  warning</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-covtest-warning/m-p/241232#M12745</link>
      <description>&lt;P&gt;This may be something as simple as replacing the '.'s in the GENERAL option with zeroes:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;covtest general 0 1 0 0 -1;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Wed, 30 Dec 2015 16:31:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-covtest-warning/m-p/241232#M12745</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2015-12-30T16:31:55Z</dc:date>
    </item>
  </channel>
</rss>

