<?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: GLiMMix: clustered for 2 times &amp; 2 locations in each subject in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88591#M25290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When to use KR adjustment:&amp;nbsp; For all repeated measures designs that have a covariance structure other than compound symmetry with equal observations per subject, and for all repeated measures designs that have unequal observations per subject.&amp;nbsp; Check the reference in the documentation:&lt;/P&gt;&lt;P&gt;Kenward and Roger, 2009,&lt;/P&gt;&lt;P&gt;“An Improved Approximation to the Precision of Fixed Effects from Restricted Maximum Likelihood,” &lt;SPAN class="emphasis"&gt;&lt;EM&gt;Computational Statistics and Data Analysis&lt;/EM&gt;&lt;/SPAN&gt;, 53, 2583–2595"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The empirical option is available for all methods, and generates what are called sandwich estimators.&amp;nbsp; They "are useful for obtaining inferences that are not sensitive to the choice of the covariance model." (from the documentation).&amp;nbsp; Overcoming variance heterogeneity is one major use.&amp;nbsp; Note that some of the methods are residual based and so are not available with LAPLACE or QUAD methods.&amp;nbsp; Read the Empical Covariance ("Sandwich") Estimators section under Details for the GLIMMIX Procedure for an extensive discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Jun 2013 13:54:39 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2013-06-03T13:54:39Z</dc:date>
    <item>
      <title>GLiMMix: clustered for 2 times &amp; 2 locations in each subject</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88586#M25285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see that some help has been given to those with g- and r-side specifications, so perhaps someone could help me.&amp;nbsp; I'm not having many problems with convergence, just in specifying a model that makes the most sense for this pilot study.&amp;nbsp; There are:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;9 animals (&lt;SPAN style="font-family: courier new,courier;"&gt;animalID&lt;/SPAN&gt;);&lt;/LI&gt;&lt;LI&gt;2 treatments (&lt;SPAN style="font-family: courier new,courier;"&gt;treatment&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; 5 animals get placebo and 4 study drug;&lt;/LI&gt;&lt;LI&gt;2 tissue types (&lt;SPAN style="font-family: courier new,courier;"&gt;tissueType&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Vaginal and Cervical;&lt;/LI&gt;&lt;LI&gt;2 times points (&lt;SPAN style="font-family: courier new,courier;"&gt;time&lt;/SPAN&gt;&lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; Before and after treatment, before = day 0, after = day 14.&lt;/LI&gt;&lt;LI&gt;Each animal has a tissue sample biopsied from both types of tissue both before and after: 9 * 2 * 2 = 36 clusters (20 placebo, 16 study drug).&lt;/LI&gt;&lt;LI&gt;Each biopsy is separated into 3 to 6 equal sized sub-biopsies, infected with a microbe, washed, cultured, and analyzed for the presence and amount of the viral protein.&lt;/LI&gt;&lt;LI&gt;I have no data on which sub-biopsies were contiguous to which in the original biopsy.&lt;/LI&gt;&lt;LI&gt;It is not the case that the same sub-biopsy is tested before and after treatment in a paired fashion; the two biopsies (and their sub-biopsies) are different tissue, and there can be a different number of sub-biopsies per cluster even from the same animal and tissue type (e.g. animal X, vaginal tissue, before cluster has 6 sub-biopsies, after cluster has 4).&lt;/LI&gt;&lt;LI&gt;There is no missing data.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;E.g.&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" style="border: 1px solid #000000; width: 100%;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;treatment&lt;BR /&gt;&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;animalID&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;tissueType&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;time&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;replicate&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;Infected&lt;/STRONG&gt;&lt;/TH&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;AUC&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Placebo&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;vagina&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;before&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2681.342&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1695.816&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;after&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;P&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;14965.546&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;4&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;987.683&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;cervix&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;before&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;0&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;etc.&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;etc.&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;after&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;3&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;P2&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;vagina&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;before&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;6&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;after&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;1&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;...&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;5&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;TD style="padding: 2px;"&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;cervix&lt;/TD&gt;&lt;TD&gt;before&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;4&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;after&lt;/TD&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;...&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;6&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;TD&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;etc.&lt;/TD&gt;&lt;TD&gt;etc.&lt;/TD&gt;&lt;TD&gt;etc.&lt;/TD&gt;&lt;TD&gt;etc.&lt;/TD&gt;&lt;TD&gt;etc.&lt;/TD&gt;&lt;TD&gt;etc.&lt;/TD&gt;&lt;TD&gt;etc.&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus, we have two time points for each tissue type, but each time point is a cluster of values, not just one measurement.&amp;nbsp; We want to analyze the data both as binomial (presence or absence of protein) and log-normal (amount of protein).&amp;nbsp; The goal is to see if the treatment decreases the rate of infection (&amp;gt; 0 protein) and the level of protein and if the different tissues are affected different.&amp;nbsp; One immediate problem is that the log-normal part is actually zero-inflated.&amp;nbsp; I'll get to that later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To model the binary portion, I am struggling to figure out the appropriate RANDOM statements.&amp;nbsp; Because I have a different number of sub-biopsies per cluster, I don't think this can be modeled R-side at all.&amp;nbsp; If I only had one measurement per time point and only one tissue type, I'm pretty sure the model would be R-side:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;proc gLiMMix data = c order = internal plots = all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class animalID treatment time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model infected&lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;(event = '1')&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt; = treatment|time / dist = binary link = logit solution cl oddsRatio;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random time / subject = animalID(treatment) type = cs residual;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;If I add back in the fact that I have clusters of measurements instead of just one, I think it gets forced into the G-side and becomes:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random intercept / subject = time*animalID(treatment) type = cs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This seems to take care of the clustering by time and animal, but maybe ignores that the two times within the same animal are correlated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I add back in the tissue type, do I just further interact my subject=?&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;proc gLiMMix data = c order = internal plots = all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class animalID treatment tissueType time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model infected(event = '1') = treatment|tissueType|time / dist = &lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt; font-family: courier new,courier;"&gt;binary &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;link = logit solution cl oddsRatio;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random intercept / subject = time*tissueType*animalID(treatment) solution cl v type = cs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Does this ignore that the two tissue types within the same animal should be correlated?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now, the second question concerns the log-normal portion.&amp;nbsp; The researchers want to know whether the study drug reduces the amount of viral protein.&amp;nbsp; If the 0s are ignored, the data is log-normal.&amp;nbsp; Would it be appropriate to analyze only those samples with &amp;gt; 0 protein to see if the study drug lowers the amount of protein only for those who got infected at all?&amp;nbsp; Clearly this answers a slightly different question: if infected, are viral protein levels lower, as opposed to, are viral protein levels lower.&amp;nbsp; If I can just model the &amp;gt; 0 portion, then I imagine I would set up my random statement the same was as for the binary portion, just switching over to lognormal.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;proc gLiMMix data = c order = internal plots = all;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; class animalID treatment tissueType time;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; model AUC = treatment|tissueType|time / dist = lognormal solution cl;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; random intercept / subject = time*tissueType*animalID(treatment) solution cl v type = cs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier; font-size: 8pt;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 May 2013 04:50:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88586#M25285</guid>
      <dc:creator>Kastchei</dc:creator>
      <dc:date>2013-05-29T04:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: GLiMMix: clustered for 2 times &amp; 2 locations in each subject</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88587#M25286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your final code for the binary variable is just what you need--giving conditional estimates, and accommodating all of the correlations.&amp;nbsp; I would check some additional structures, as the compound symmetry assumption is pretty strong.&amp;nbsp; There is no real good block diagonal structure available in GLIMMIX, and an unstructured/Cholesky covariance probably has too many parameters to fit with this small dataset. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As far as the latter analysis, what about setting the zeroes to some small value?&amp;nbsp; Judging by the size of the non-zero values, setting the AUC to 1 would probably give you the analysis that you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 17:15:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88587#M25286</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-05-30T17:15:16Z</dc:date>
    </item>
    <item>
      <title>Re: GLiMMix: clustered for 2 times &amp; 2 locations in each subject</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88588#M25287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&amp;nbsp; I've really valued your contributions to a lot of these threads.&amp;nbsp; A couple followup questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I actually had two analyses, one which had two time points (before and after), and another that only had 1 time point, which was a bit simpler.&amp;nbsp; For the one with only one time point, I modeled initially as we discussed above but with unstructured, which results in a block diagonal variance structure with the block being a particular subject-tissue combination.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;random intercept / subject = tissueType*animalID(treatment) type = un solution cl g v;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Estimated V Matrix for anima*tissue(treatm) X cervical Study Drug&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1" style="text-align: right;"&gt;Row&lt;/TD&gt;&lt;TD colspan="1" style="text-align: right;"&gt;Col1&lt;/TD&gt;&lt;TD colspan="1" style="text-align: right;"&gt;Col2&lt;/TD&gt;&lt;TD colspan="1" style="text-align: right;"&gt;Col3&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.3871&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.3454&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.3454&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.3454&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.3871&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.3454&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 3&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.3454&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.3454&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.3871&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;The problem I had with this was that there were no correlations within the same animal but across tissue type.&amp;nbsp; I would assume that there would still be some correlation between vaginal and cervical tissue within the same animal, even if maybe less than within the same tissue type.&amp;nbsp; So I remodeled as this, which gave me a different variance per subject-tissue, a different covariance within the same subject-tissue between the two tissues, and a covariance between tissue types.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;random &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;tissueType &lt;/SPAN&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;/ subject = animalID(treatment) type = un solution cl g v;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Estimated V Matrix for animalID(treatment) X Study Drug&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD colspan="1"&gt;Row&lt;/TD&gt;&lt;TD colspan="1"&gt;Col1&lt;/TD&gt;&lt;TD colspan="1"&gt;Col2&lt;/TD&gt;&lt;TD colspan="1"&gt;Col3&lt;/TD&gt;&lt;TD colspan="1"&gt;Col4&lt;/TD&gt;&lt;TD colspan="1"&gt;Col5&lt;/TD&gt;&lt;TD colspan="1"&gt;Col6&lt;/TD&gt;&lt;TD colspan="1"&gt;Col7&lt;/TD&gt;&lt;TD colspan="1"&gt;Col8&lt;/TD&gt;&lt;TD colspan="1"&gt;Col9&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 1&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.2503&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 2&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.2503&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 3&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.2503&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 4&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.2503&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 5&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.2503&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 6&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.2501&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.2503&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 7&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.6233&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.5727&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.5727&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 8&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.5727&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.6233&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.5727&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;&amp;nbsp;&amp;nbsp; 9&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;0.8225&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.5727&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;2.5727&amp;nbsp; &lt;/TD&gt;&lt;TD&gt;6.6233&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First, what do you think of this structure instead?&amp;nbsp; Does this make sense to do so?&amp;nbsp; Or does your warning about too many parameters for the small sample size come into play here?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Second, I had also modelled as this:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;random animalID(treatment) /&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type = vc solution cl g v;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;random tissueType&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; / subject = animalID(treatment) type = un solution cl g v;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;which as it turns out, gives me an identical V matrix, just that the former estimates only 3 covariance parameters (vaginal variance, cervical variance, and vaginal-cervical covariance), whereas the latter breaks out an animal part from those 3 parameters.&amp;nbsp; This makes sense intuitively.&amp;nbsp; However, the degrees of freedom is only half.&amp;nbsp; I am getting the same V matrix, the same parameter estimates (random parameter estimates are the animal + the animal-tissue), and the same standard errors.&amp;nbsp; However, when written on one line, I use 14 DF for all my tests (t and denom F), but when broken out into two lines, I'm now only getting 7 DF.&amp;nbsp; I assume this is because I am now forcing the model to estimate an intercept for each animal (breaking the previous estimates into two parts).&amp;nbsp; Is that essentially correct?&amp;nbsp; If so, then there's really no reason to do this latter method unless I was actually interested in what the parameter estimates for each animal was.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 May 2013 20:21:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88588#M25287</guid>
      <dc:creator>Kastchei</dc:creator>
      <dc:date>2013-05-30T20:21:35Z</dc:date>
    </item>
    <item>
      <title>Re: GLiMMix: clustered for 2 times &amp; 2 locations in each subject</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88589#M25288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Those are the block diagonal covariance matrices I was looking for.&amp;nbsp; Any notes in the log or output about the Hessian, or such?&amp;nbsp; If not, then I think you have what you need, with maybe one or two tweaks.&amp;nbsp; If you stay with the default pseudo-likelihood fit, consider using the Kenward-Rogers adjustment for the degrees of freedom (in STAT12.1 GLIMMIX, use ddfm=kr2).&amp;nbsp; This really applies for repeated measure and small datasets, such as this one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If you move to marginal likelihood methods, which are possible as you are modeling everything G side, the Kenward-Rogers adjustment is not available.&lt;BR /&gt;You might want to consider using the EMPIRICAL option to get sandwich estimators and standard errors.&amp;nbsp; The whole point here is that with small samples and a binary response, and in my &lt;SPAN style="text-decoration: underline;"&gt;opinion&lt;/SPAN&gt; (note underlining), these provide at least some bias control.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:42:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88589#M25288</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-05-31T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: GLiMMix: clustered for 2 times &amp; 2 locations in each subject</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88590#M25289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks again, Steve!&amp;nbsp; When I use the Kenward-Rogers adjustment, the DF for both the one line or two line specifications are equal.&amp;nbsp; These options you have suggested are unfamiliar to me.&amp;nbsp; Could you give an explanation, even if brief, as to when the KR option would be used?&amp;nbsp; And also when would I want to switch from a PL to a ML method?&amp;nbsp; Is the empirical option only for ML or both methods, and what are sandwich estimators &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://communities.sas.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 17:44:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88590#M25289</guid>
      <dc:creator>Kastchei</dc:creator>
      <dc:date>2013-05-31T17:44:28Z</dc:date>
    </item>
    <item>
      <title>Re: GLiMMix: clustered for 2 times &amp; 2 locations in each subject</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88591#M25290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When to use KR adjustment:&amp;nbsp; For all repeated measures designs that have a covariance structure other than compound symmetry with equal observations per subject, and for all repeated measures designs that have unequal observations per subject.&amp;nbsp; Check the reference in the documentation:&lt;/P&gt;&lt;P&gt;Kenward and Roger, 2009,&lt;/P&gt;&lt;P&gt;“An Improved Approximation to the Precision of Fixed Effects from Restricted Maximum Likelihood,” &lt;SPAN class="emphasis"&gt;&lt;EM&gt;Computational Statistics and Data Analysis&lt;/EM&gt;&lt;/SPAN&gt;, 53, 2583–2595"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The empirical option is available for all methods, and generates what are called sandwich estimators.&amp;nbsp; They "are useful for obtaining inferences that are not sensitive to the choice of the covariance model." (from the documentation).&amp;nbsp; Overcoming variance heterogeneity is one major use.&amp;nbsp; Note that some of the methods are residual based and so are not available with LAPLACE or QUAD methods.&amp;nbsp; Read the Empical Covariance ("Sandwich") Estimators section under Details for the GLIMMIX Procedure for an extensive discussion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Steve Denham&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Jun 2013 13:54:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/GLiMMix-clustered-for-2-times-2-locations-in-each-subject/m-p/88591#M25290</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2013-06-03T13:54:39Z</dc:date>
    </item>
  </channel>
</rss>

