Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: question about hierarchical model

From   Joerg Luedicke <>
Subject   Re: st: question about hierarchical model
Date   Thu, 21 Apr 2011 17:27:00 -0400

On Thu, Apr 21, 2011 at 4:59 PM, Visintainer, Paul
<> wrote:
> 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?

You are right regarding your concerns about your outcome measure. You
cannot have a level2 outcome in a 2level model since you would
basically predict a constant within each group (teachers in your
case). Regarding your research question:

"what is the association between performance ratings and student evaluations?"

I would start with simply taking the average of student ratings for
each teacher and then correlate the 2 measures or run a regression
with those 30 teachers. That could answer your question already.

But others may have better ideas.


*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index