Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Airey, David C" <david.airey@vanderbilt.edu> |
To | "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu> |
Subject | re: st: question about hierarchical model |
Date | Thu, 21 Apr 2011 16:26:29 -0500 |
. Can the student evaluations be the dependent variable? So is the performance measure predictive of student evaluations? > I'm stumped on how to approach this model. > > Suppose I have 30 teachers each of whom have a single performance rating from the principle (or headmaster). Each teacher has 20-30 students (not crossed) who have completed student evaluations. The question is what is the association between performance ratings and student evaluations? > > What I'm confused about is that I have level-2 dependent variable with level-1 and level-2 predictors (e.g. teacher age and teacher gender) > > I thought that the following model might work: > > .xtmixed t_perform s_eval t_age t_sex || s_eval: , mle > > > But I don't think this is correct model, because it regress Yi on Xij and Xi predictors? > > Can this problem be addressed using -xtmixed- or is a different approach required? > > Thanks for the advice. > * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/