<?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: Likelihood Ratio Test in Mixed Model - Proc Mixed in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/452288#M23618</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just posted questions on externally conditional studentized residual from proc mixed. I would appreciate your guide and assistance on this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Sun, 08 Apr 2018 04:40:05 GMT</pubDate>
    <dc:creator>mbakare</dc:creator>
    <dc:date>2018-04-08T04:40:05Z</dc:date>
    <item>
      <title>Likelihood Ratio Test in Mixed Model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450121#M23548</link>
      <description>&lt;DIV class="nova-o-stack__item"&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;The likelihood ratio test of comparing reduced model with full model differs by fixed factor result to chi-square distribution of zero degree of freedom.&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;/* reduced model */&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;proc mixed method = ml;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;class block gen;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;model rtwt = /ddfm = kr;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;random block gen;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;run;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;/* full model*/&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;proc mixed method = ml;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;class block gen;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;model rtwt = prop_hav/ddfm = kr;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;random block gen;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;run;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class="nova-e-text nova-e-text--size-m nova-e-text--family-sans-serif nova-e-text--spacing-s nova-e-text--color-inherit redraft-text"&gt;There are 3 degree of freedom from reduced model - block variance, genotype variance, and residual variance. The same degree of freedom for full model despite inclusion of&amp;nbsp; prop_hav as covariate. The difference in their -2 loglikelihood has zero degree of freedom under chi-distribution. Please could anyone guide me on how to compare these model to ascertain if the full model is significantly different from reduced model.&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 31 Mar 2018 11:27:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450121#M23548</guid>
      <dc:creator>mbakare</dc:creator>
      <dc:date>2018-03-31T11:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Likelihood Ratio Test in Mixed Model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450379#M23553</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Compute&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;the difference between the "-2 Log Like"&amp;nbsp;of the full model and the reduced model. Then compare this statistic to the&amp;nbsp;&lt;/SPAN&gt;&lt;IMG class="math gen" src="https://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/images/statug_mixed0636.png" border="0" alt="" /&gt;&lt;SPAN&gt;&amp;nbsp;distribution with degrees of freedom equal to the difference in the number of parameters for the two models. The difference in number of estimated parameters for your example should be 1.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 15:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450379#M23553</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-04-02T15:37:00Z</dc:date>
    </item>
    <item>
      <title>Re: Likelihood Ratio Test in Mixed Model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450392#M23554</link>
      <description>&lt;P&gt;Thanks for the reply. Please have a look at the SAS script I posted. Both reduced and full model have the same number of covariance parameters which is 3.&lt;/P&gt;&lt;P&gt;/* reduced model*/;&lt;/P&gt;&lt;P&gt;proc mixed method=ml;&lt;/P&gt;&lt;P&gt;class rep gen;&lt;/P&gt;&lt;P&gt;model rtwt=/ddfm=kr;&lt;/P&gt;&lt;P&gt;random rep gen;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;/* Full model */;&lt;/P&gt;&lt;P&gt;proc mixed method=ml;&lt;/P&gt;&lt;P&gt;class rep gen;&lt;/P&gt;&lt;P&gt;model rtwt= prop_hav /ddfm=kr;&lt;/P&gt;&lt;P&gt;random rep gen;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;quit;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, the full model has prop_hav as a covariate. The only difference between the model is the fixed factor which is covariate. The number of parameters in each case is 3: rep variance, gen variance, and residual variance. This means the difference of -2 log likelihood with have chi-square distribution with zero degree of freedom (3-3) and NOT 1 degree of freedom.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 16:05:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450392#M23554</guid>
      <dc:creator>mbakare</dc:creator>
      <dc:date>2018-04-02T16:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Likelihood Ratio Test in Mixed Model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450441#M23557</link>
      <description>&lt;P&gt;You misunderstand the method. Yes, the two models have the same number of parameters associated with random effects (variances or covariances), but they have different numbers of parameters associated with fixed effects.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You seek to assess the significance of a continuous-scale fixed effects factor (prop_hav) using a likelihood ratio test. The full model has 5 parameters: intercept, &lt;EM&gt;slope for prop_hav,&lt;/EM&gt; and 3 variances (rep, gen, residual). The reduced model has 4 parameters: intercept, and 3 variances (rep, gen, residual). The difference in the number of parameters between the two models is 5 - 4 = 1.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2018 19:36:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/450441#M23557</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-04-02T19:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Likelihood Ratio Test in Mixed Model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/452107#M23613</link>
      <description>Thanks a lot for your informative response. Your response helps a lot to figure out the solution.</description>
      <pubDate>Fri, 06 Apr 2018 20:56:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/452107#M23613</guid>
      <dc:creator>mbakare</dc:creator>
      <dc:date>2018-04-06T20:56:58Z</dc:date>
    </item>
    <item>
      <title>Re: Likelihood Ratio Test in Mixed Model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/452128#M23614</link>
      <description>&lt;P&gt;I'm pleased you found it helpful.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 22:32:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/452128#M23614</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2018-04-06T22:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: Likelihood Ratio Test in Mixed Model - Proc Mixed</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/452288#M23618</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Just posted questions on externally conditional studentized residual from proc mixed. I would appreciate your guide and assistance on this.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 08 Apr 2018 04:40:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Likelihood-Ratio-Test-in-Mixed-Model-Proc-Mixed/m-p/452288#M23618</guid>
      <dc:creator>mbakare</dc:creator>
      <dc:date>2018-04-08T04:40:05Z</dc:date>
    </item>
  </channel>
</rss>

