<?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 Glimmix Covariance Parameter Estimates in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745219#M36293</link>
    <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excuse my ignorance.&amp;nbsp; But exactly, what parameter values do I take from the results of the Laplace model for my PARMS statement in the RSPL model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Jun 2021 15:30:52 GMT</pubDate>
    <dc:creator>edhuang</dc:creator>
    <dc:date>2021-06-02T15:30:52Z</dc:date>
    <item>
      <title>Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/744722#M36248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm wondering if someone can help me understand how to interpret the covariance parameter with my following code.&amp;nbsp; What does estimate for variance and AR(1) mean and how are they related?&amp;nbsp; My response (adeno_yes) is binary, so I'm having a harder time grasping this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc glimmix data=newadr_ge200_avg_2012_v2 noclprint method=laplace;
class nMD procyear nMDsex nMDloc age_newcat2 nsex nrace1_newcat2 charlson_newcat2 bmi_newcat2 nsmoke3
	  nprepquality2 endocuff_newcat mean_vol_cat expyear_cat/ref=first;
model adeno_yes(event=last)=procyear 
							age_newcat2 nsex nrace1_newcat2 charlson_newcat2 bmi_newcat2 nsmoke3    /*patient related characteristics*/
							nMDsex nMDloc nprepquality2 endocuff_newcat mean_vol_cat expyear_cat/cl dist=binary link=logit solution oddsratio;
random procyear/sub=nMD type=ar(1) s CL;
covtest/wald;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;
&lt;P&gt;My covariance parameter output is below.&lt;/P&gt;
&lt;TABLE style="border-collapse: collapse; width: 288pt;" border="0" width="384" cellspacing="0" cellpadding="0"&gt;
&lt;TBODY&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD colspan="6" width="384" height="21" class="xl73" style="height: 15.75pt; width: 288pt;"&gt;Covariance Parameter Estimates&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 27.0pt;"&gt;
&lt;TD rowspan="2" width="64" height="57" class="xl75" style="border-bottom: 1.0pt solid #4F493B; height: 42.75pt; border-top: none; width: 48pt;"&gt;Cov Parm&lt;/TD&gt;
&lt;TD rowspan="2" width="64" class="xl75" style="border-bottom: 1.0pt solid #4F493B; border-top: none; width: 48pt;"&gt;Subject&lt;/TD&gt;
&lt;TD rowspan="2" width="64" class="xl77" style="border-bottom: 1.0pt solid #4F493B; border-top: none; width: 48pt;"&gt;Estimate&lt;/TD&gt;
&lt;TD width="64" class="xl64" style="width: 48pt;"&gt;Standard&lt;/TD&gt;
&lt;TD rowspan="2" width="64" class="xl77" style="border-bottom: 1.0pt solid #4F493B; border-top: none; width: 48pt;"&gt;Z Value&lt;/TD&gt;
&lt;TD rowspan="2" width="64" class="xl79" style="border-bottom: 1.0pt solid #4F493B; border-top: none; width: 48pt;"&gt;Pr Z&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD width="64" height="21" class="xl65" style="height: 15.75pt; width: 48pt;"&gt;Error&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD height="21" class="xl68" style="height: 15.75pt;"&gt;Variance&lt;/TD&gt;
&lt;TD class="xl66"&gt;nMD&lt;/TD&gt;
&lt;TD class="xl67"&gt;0.2813&lt;/TD&gt;
&lt;TD class="xl67"&gt;0.04826&lt;/TD&gt;
&lt;TD class="xl67"&gt;5.83&lt;/TD&gt;
&lt;TD class="xl69"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR style="height: 15.75pt;"&gt;
&lt;TD height="21" class="xl70" style="height: 15.75pt;"&gt;AR(1)&lt;/TD&gt;
&lt;TD class="xl71"&gt;nMD&lt;/TD&gt;
&lt;TD class="xl72"&gt;0.6921&lt;/TD&gt;
&lt;TD class="xl72"&gt;0.05996&lt;/TD&gt;
&lt;TD class="xl72"&gt;11.54&lt;/TD&gt;
&lt;TD class="xl63"&gt;&amp;lt;.0001&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Mon, 31 May 2021 04:39:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/744722#M36248</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2021-05-31T04:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/744915#M36249</link>
      <description>&lt;P&gt;In the documentation for the type= option for the RANDOM statement, you'll find the parameterization.&amp;nbsp; Two factors are included: sigma and rho.&amp;nbsp; Sigma squared is the variance at each time point (labeled Variance in the table) and rho is the correlation between the variance at any two adjacent time points, and is labeled AR(1) in the table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenh&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 12:42:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/744915#M36249</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-06-01T12:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/744976#M36253</link>
      <description>&lt;P&gt;AR(1) is the correlation and variance is the variance estimate. They are in the Logit scale. Like&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15363"&gt;@SteveDenham&lt;/a&gt;&amp;nbsp;mentioned, the documentation has the parameterizations for different covariance structures and you can find the meanings for the parameters there.&lt;/P&gt;
&lt;P&gt;However, your model is unusual to me. You are assuming the G-side random effect itself has the AR(1) structure, which is not common. I suspect that you want to model the R-side random effect as the AR(1) structure? Then you need to add the Residual option in the RANDOM statement and take out the METHOD=LAPLACE option in the PROC GLIMMX statement.&lt;/P&gt;</description>
      <pubDate>Tue, 01 Jun 2021 15:42:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/744976#M36253</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-06-01T15:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745082#M36260</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;Thanks.  That's helpful.&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Jun 2021 05:43:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745082#M36260</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2021-06-02T05:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745085#M36261</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A class="trigger-hovercard" href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873" target="_blank"&gt;jiltao&lt;/A&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Your comment is interesting to me.&lt;/P&gt;
&lt;P&gt;So I would like to model the clustering effect of physicians (labeled as nMD) on patient outcome (adeno_yes), but also account for the correlation they have over time (procyear).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you suggesting my RANDOM statements should be as follows instead?&lt;/P&gt;
&lt;P&gt;One random statement for the random effects (random int/sub=nMD) and another for the repeated measure (random procyear/sub=nMD type=ar(1) residual)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;proc glimmix data=newadr_ge200_avg_2012_v2;
class nMD procyear nMDsex nMDloc_new age_newcat2 nsex nrace1_newcat2 charlson_newcat2 bmi_newcat2 nsmoke3
	  nprepquality2 endocuff_newcat mean_vol_cat expyear_cat/ref=first;
model adeno_yes(event=last)=procyear age_newcat2 nsex nrace1_newcat2 charlson_newcat2 bmi_newcat2 nsmoke3    
                            nMDsex nMDloc_new nprepquality2 endocuff_newcat mean_vol_cat expyear_cat/cl dist=binary link=logit solution;
random int/sub=nMD;
random procyear/sub=nMD type=ar(1) residual;
run;&lt;/PRE&gt;</description>
      <pubDate>Wed, 02 Jun 2021 06:18:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745085#M36261</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2021-06-02T06:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745141#M36268</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/326752"&gt;@edhuang&lt;/a&gt;&amp;nbsp;, that is what&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp;was suggesting.&amp;nbsp; It is in line with a paper by Stroup and Claassen that talks about the linearized method (RSPL) with an R side variance for repeated measures as being usually less biased than the integral methods (Laplace and adaptive quadrature), where the RESIDUAL option is not supported.&amp;nbsp; What you fit in the original code would be the equivalent of the glme or glmmTMB package in R.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 11:36:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745141#M36268</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-06-02T11:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745165#M36277</link>
      <description>&lt;P&gt;Yes your PROC GLIMMIX code looks reasonable to me.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 12:45:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745165#M36277</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-06-02T12:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745201#M36287</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp; So I tried using your method=rspl (linearization method) as oppose to integral method.&amp;nbsp; &amp;nbsp;At first, I thought it may be that my model was too complex, so I took out all of my covariates, but the same thing occurred.&amp;nbsp; Any pointers on how to troubleshoot this?&amp;nbsp; I will add&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp;as well for suggestions.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;NOTE: The GLIMMIX procedure is modeling the probability that adeno_yes='1'.&lt;BR /&gt;WARNING: Obtaining minimum variance quadratic unbiased estimates as starting values for the covariance parameters failed.&lt;BR /&gt;NOTE: PROCEDURE GLIMMIX used (Total process time):&lt;BR /&gt;real time 9.62 seconds&lt;BR /&gt;cpu time 9.51 seconds&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 14:36:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745201#M36287</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2021-06-02T14:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745205#M36288</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/326752"&gt;@edhuang&lt;/a&gt;&amp;nbsp; - This error is, for me, the most frustrating of the "can't get started" errors.&amp;nbsp; It is saying that the default starting values for all of the &lt;U&gt;covariance&amp;nbsp;&lt;/U&gt; parameters don't allow for a MIVQUE estimate to get started.&amp;nbsp; This means using the PARMS statement to feed in better values.&amp;nbsp; The question then arises, "Where do I get better values, and how close do they have to be to get things started?"&amp;nbsp; I think you are lucky in that your integral method converged and gave you values (which might be biased like most MLE variance estimates).&amp;nbsp; You could plug those in as starting values.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And if that doesn't help, you can grid search for starting values.&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/60873"&gt;@jiltao&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/330163"&gt;@STAT_Kathleen&lt;/a&gt;&amp;nbsp;&amp;nbsp;might have better ideas.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 14:57:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745205#M36288</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-06-02T14:57:48Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745219#M36293</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Excuse my ignorance.&amp;nbsp; But exactly, what parameter values do I take from the results of the Laplace model for my PARMS statement in the RSPL model?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 15:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745219#M36293</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2021-06-02T15:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745220#M36294</link>
      <description>&lt;P&gt;The covariance parameters.&amp;nbsp; Be sure they are in the correct order.&amp;nbsp; Take a look at the examples for the PARMS statement in the GLIMMIX documentation.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on what you started this with, I would try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;PARMS (0.2813) (0.6921);&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 16:52:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745220#M36294</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-06-02T16:52:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745269#M36306</link>
      <description>&lt;P&gt;This type of convergence issue is often model/data dependent. You can use the PARMS statement to provide your own starting values. Trial and error might not be a bad idea. Sometimes if your model is not appropriate for your data, convergence can be an issue. If you can send in your data set I will take a look to see if I can provide any suggestions.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Jun 2021 18:24:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745269#M36306</guid>
      <dc:creator>jiltao</dc:creator>
      <dc:date>2021-06-02T18:24:53Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Glimmix Covariance Parameter Estimates</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745366#M36310</link>
      <description>&lt;P&gt;Hi Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just changed my correlation matrix type to VC and it appears to converge.&amp;nbsp; Ar(1) may be too complex.&lt;/P&gt;
&lt;P&gt;I tried your method, but it appears that I need three parameters and not just 2.&amp;nbsp; In my original case, I estimated only the G-side. It may be that I need more when I am estimating both the g-side and also r-side using my newer model.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Jun 2021 00:19:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Proc-Glimmix-Covariance-Parameter-Estimates/m-p/745366#M36310</guid>
      <dc:creator>edhuang</dc:creator>
      <dc:date>2021-06-03T00:19:04Z</dc:date>
    </item>
  </channel>
</rss>

