<?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 Multilevel Logistic Regression in GLIMMIX - Subject effect and number of levels in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Logistic-Regression-in-GLIMMIX-Subject-effect-and/m-p/753130#M36616</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS On Demand for Academics and new to multilevel modeling as well. I have a dataset with 8300 children who are nested in Mothers nested in household nested in clusters. But I have predictor variables only for child level, mother level and household level. I used PROC GLIMMIX to fit the empty model of the multilevel logistic regression model first with the following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=FINAL.DATABASE NOCLPRINT;&lt;BR /&gt;class&lt;BR /&gt;Cluster_number Household_number Mother_Number;&lt;BR /&gt;model Living_Status=/dist=binomial link=logit;&lt;BR /&gt;random int/subject=Mother_Number*Household_number*Cluster_number;&lt;BR /&gt;COVTEST/ WALD;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is it ok to use Cluster_number in the Subject=Mother_Number*Household_number*&lt;U&gt;&lt;STRONG&gt;Cluster_number&lt;/STRONG&gt;&lt;/U&gt; even though there are no predictors to be added in the full model for cluster level?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also below code does not give the covariance parameter values of&amp;nbsp;Cluster_number,Household_number*Cluster_number,Mother_Number*Household_number*Cluster_number and residual covariance parameter together. Is there any modification needs to be done to the code to get those values? I need to calculate the ICC for each level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=FINAL.DATABASE NOCLPRINT;&lt;BR /&gt;class&lt;BR /&gt;Cluster_number Household_number Mother_Number;&lt;BR /&gt;model Living_Status=/dist=binomial link=logit;&lt;BR /&gt;random int/subject=Cluster_number;&lt;/P&gt;&lt;P&gt;random int/subject=Household_number*Cluster_number;&lt;/P&gt;&lt;P&gt;random int/subject=Mother_Number*Household_number*Cluster_number;&lt;BR /&gt;COVTEST/ WALD;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
    <pubDate>Fri, 09 Jul 2021 12:56:44 GMT</pubDate>
    <dc:creator>Amanda92</dc:creator>
    <dc:date>2021-07-09T12:56:44Z</dc:date>
    <item>
      <title>Multilevel Logistic Regression in GLIMMIX - Subject effect and number of levels</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Logistic-Regression-in-GLIMMIX-Subject-effect-and/m-p/753130#M36616</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS On Demand for Academics and new to multilevel modeling as well. I have a dataset with 8300 children who are nested in Mothers nested in household nested in clusters. But I have predictor variables only for child level, mother level and household level. I used PROC GLIMMIX to fit the empty model of the multilevel logistic regression model first with the following code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=FINAL.DATABASE NOCLPRINT;&lt;BR /&gt;class&lt;BR /&gt;Cluster_number Household_number Mother_Number;&lt;BR /&gt;model Living_Status=/dist=binomial link=logit;&lt;BR /&gt;random int/subject=Mother_Number*Household_number*Cluster_number;&lt;BR /&gt;COVTEST/ WALD;&lt;BR /&gt;RUN;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So is it ok to use Cluster_number in the Subject=Mother_Number*Household_number*&lt;U&gt;&lt;STRONG&gt;Cluster_number&lt;/STRONG&gt;&lt;/U&gt; even though there are no predictors to be added in the full model for cluster level?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also below code does not give the covariance parameter values of&amp;nbsp;Cluster_number,Household_number*Cluster_number,Mother_Number*Household_number*Cluster_number and residual covariance parameter together. Is there any modification needs to be done to the code to get those values? I need to calculate the ICC for each level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;PROC GLIMMIX data=FINAL.DATABASE NOCLPRINT;&lt;BR /&gt;class&lt;BR /&gt;Cluster_number Household_number Mother_Number;&lt;BR /&gt;model Living_Status=/dist=binomial link=logit;&lt;BR /&gt;random int/subject=Cluster_number;&lt;/P&gt;&lt;P&gt;random int/subject=Household_number*Cluster_number;&lt;/P&gt;&lt;P&gt;random int/subject=Mother_Number*Household_number*Cluster_number;&lt;BR /&gt;COVTEST/ WALD;&lt;BR /&gt;RUN;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jul 2021 12:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Logistic-Regression-in-GLIMMIX-Subject-effect-and/m-p/753130#M36616</guid>
      <dc:creator>Amanda92</dc:creator>
      <dc:date>2021-07-09T12:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Multilevel Logistic Regression in GLIMMIX - Subject effect and number of levels</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Logistic-Regression-in-GLIMMIX-Subject-effect-and/m-p/753490#M36657</link>
      <description>&lt;P&gt;What does your output look like?&amp;nbsp; Are the estimates in the Covariance Parameters table all missing?&amp;nbsp; Are there warnings in the log, or included as part of the output?&amp;nbsp; More info will definitely help address your issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SteveDenham&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jul 2021 12:44:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Multilevel-Logistic-Regression-in-GLIMMIX-Subject-effect-and/m-p/753490#M36657</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2021-07-12T12:44:41Z</dc:date>
    </item>
  </channel>
</rss>

