I have a question about how to use proc varcomp when there are effects that reflect two levels of nesting.
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 Rater(Faculty(Department)) in the Model statement . So, I am wondering if I specified the two levels of nesting correctly in the first place.
procvarcomp data = OneDrive.long_&Year._wide_c
method = reml;
class Department Faculty Rater item ;
model Dependent = item Department Faculty(Department) Rater(Faculty(Department)) Department*item / FIXED=1;
Can someone please explain to me how to correct my code?
Could I correct it by replacing the term Rater(Faculty(Department)) with the two terms of Rater(Faculty) and Faculty(Department) instead?
Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.
If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website.