<?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: How to use proc varcomp when there are effects that reflect two levels of nesting. in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-varcomp-when-there-are-effects-that-reflect-two/m-p/896927#M44464</link>
    <description>&lt;P&gt;You almost had the nesting syntax. For that second level of nesting, you need a(b c) instead of a(b(c)).&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Oct 2023 12:39:30 GMT</pubDate>
    <dc:creator>StatsMan</dc:creator>
    <dc:date>2023-10-03T12:39:30Z</dc:date>
    <item>
      <title>How to use proc varcomp when there are effects that reflect two levels of nesting.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-varcomp-when-there-are-effects-that-reflect-two/m-p/896736#M44459</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a question about how to use proc varcomp when there are effects that reflect two levels of nesting.&amp;nbsp;&lt;/P&gt;&lt;P&gt;For my analysis, I have human raters nested in faculty, and faculty nested in departments. You can see my proc varcomp procedure below. SAS reports an error because it doesn't like the term of&amp;nbsp; Rater(Faculty(Department)) in the Model statement .&amp;nbsp; So, I am wondering if I specified the two levels of nesting correctly in the first place.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt; &lt;STRONG&gt;varcomp&lt;/STRONG&gt;&amp;nbsp; data = OneDrive.long_&amp;amp;Year._wide_c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;method = reml;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;class Department Faculty Rater item ;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; model Dependent = item&amp;nbsp; Department Faculty(Department)&amp;nbsp; Rater(Faculty(Department))&amp;nbsp; Department*item / FIXED=&lt;STRONG&gt;1&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;;&lt;/P&gt;&lt;P&gt;title;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone please explain to me how to correct my code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could I correct it by replacing the term Rater(Faculty(Department)) with the two terms of Rater(Faculty) and Faculty(Department) instead?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 17:37:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-varcomp-when-there-are-effects-that-reflect-two/m-p/896736#M44459</guid>
      <dc:creator>Rover17</dc:creator>
      <dc:date>2023-10-02T17:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc varcomp when there are effects that reflect two levels of nesting.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-varcomp-when-there-are-effects-that-reflect-two/m-p/896786#M44463</link>
      <description>&lt;P&gt;6.4 - Fully Nested Random Effects Model: Quality Control Example&lt;BR /&gt;&lt;A href="https://online.stat.psu.edu/stat502_fa21/lesson/6/6.4" target="_blank"&gt;https://online.stat.psu.edu/stat502_fa21/lesson/6/6.4&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can do this with PROC MIXED or PROC VARCOMP or PROC NESTED.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Koen&lt;/P&gt;</description>
      <pubDate>Mon, 02 Oct 2023 19:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-varcomp-when-there-are-effects-that-reflect-two/m-p/896786#M44463</guid>
      <dc:creator>sbxkoenk</dc:creator>
      <dc:date>2023-10-02T19:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to use proc varcomp when there are effects that reflect two levels of nesting.</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-varcomp-when-there-are-effects-that-reflect-two/m-p/896927#M44464</link>
      <description>&lt;P&gt;You almost had the nesting syntax. For that second level of nesting, you need a(b c) instead of a(b(c)).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Oct 2023 12:39:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-proc-varcomp-when-there-are-effects-that-reflect-two/m-p/896927#M44464</guid>
      <dc:creator>StatsMan</dc:creator>
      <dc:date>2023-10-03T12:39:30Z</dc:date>
    </item>
  </channel>
</rss>

