<?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: Number of subjects within each level of a specific CLASS variable from a mixed model (PROC MIXED in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412191#M21608</link>
    <description>&lt;P&gt;Agreed. SAS support confirmed there is no option for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since I am only interested in the number of subjects with complete data (sufficient information) to predict Y at a given visit for each treatment group, I am using a simple descriptive frequency (proc sql and/or proc freq) of the count of unique subjects &lt;/SPAN&gt;with non-missing data across all the variables included in the mixed model (excluding the outcome/dependent variable).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to SAS:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"PROC MIXED does require non-missing values for the dependent variable for the model estimation. In other words, if an observation has a missing value for Y, it will not be included in the model estimation. However, you might obtain the predicted value for this observation, as long as all the independent variables in the model are non-missing. So you might want to modify how you count the subjects in your program, if the count is for the model estimation purpose."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Nov 2017 16:54:23 GMT</pubDate>
    <dc:creator>aaumez</dc:creator>
    <dc:date>2017-11-10T16:54:23Z</dc:date>
    <item>
      <title>Number of subjects within each level of a specific CLASS variable from a mixed model (PROC MIXED)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412100#M21600</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know who to get the total number of subjects within each level of a specific CLASS variable&amp;nbsp;from a&amp;nbsp;mixed model (PROC MIXED)?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Note, this is not in reference to ods output=nobs or ods output=dim...but rather a more granular/extended version of ods output=dim that can actually provide how many unique subjects are in each group from a CLASS variable of interest.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 20:14:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412100#M21600</guid>
      <dc:creator>aaumez</dc:creator>
      <dc:date>2017-11-09T20:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Number of subjects within each level of a specific CLASS variable from a mixed model (PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412110#M21603</link>
      <description>&lt;P&gt;Maybe there's a way to do this in PROC MIXED, but the first thing that comes to mind is that&amp;nbsp;PROC FREQ will provide the answer easily.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Nov 2017 20:19:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412110#M21603</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2017-11-09T20:19:04Z</dc:date>
    </item>
    <item>
      <title>Re: Number of subjects within each level of a specific CLASS variable from a mixed model (PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412191#M21608</link>
      <description>&lt;P&gt;Agreed. SAS support confirmed there is no option for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Since I am only interested in the number of subjects with complete data (sufficient information) to predict Y at a given visit for each treatment group, I am using a simple descriptive frequency (proc sql and/or proc freq) of the count of unique subjects &lt;/SPAN&gt;with non-missing data across all the variables included in the mixed model (excluding the outcome/dependent variable).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to SAS:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"PROC MIXED does require non-missing values for the dependent variable for the model estimation. In other words, if an observation has a missing value for Y, it will not be included in the model estimation. However, you might obtain the predicted value for this observation, as long as all the independent variables in the model are non-missing. So you might want to modify how you count the subjects in your program, if the count is for the model estimation purpose."&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 16:54:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412191#M21608</guid>
      <dc:creator>aaumez</dc:creator>
      <dc:date>2017-11-10T16:54:23Z</dc:date>
    </item>
    <item>
      <title>Re: Number of subjects within each level of a specific CLASS variable from a mixed model (PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412219#M21611</link>
      <description>&lt;P&gt;This blog by Rick Wicklin ("Examine patterns of missing data in SAS")&amp;nbsp;might be of interest to you&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A title="Examine patterns of missing data in SAS" href="https://blogs.sas.com/content/iml/2016/04/18/patterns-of-missing-data-in-sas.html" target="_self"&gt;https://blogs.sas.com/content/iml/2016/04/18/patterns-of-missing-data-in-sas.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 05:35:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412219#M21611</guid>
      <dc:creator>sld</dc:creator>
      <dc:date>2017-11-10T05:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: Number of subjects within each level of a specific CLASS variable from a mixed model (PROC MIXED</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412304#M21614</link>
      <description>&lt;P&gt;Thank you for sharing. This will be a useful cross-check against proc sql and/or proc freq when getting the CLASS levels Ns.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Nov 2017 12:59:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/Number-of-subjects-within-each-level-of-a-specific-CLASS/m-p/412304#M21614</guid>
      <dc:creator>aaumez</dc:creator>
      <dc:date>2017-11-10T12:59:55Z</dc:date>
    </item>
  </channel>
</rss>

