Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: st: question about hierarchical model
From
"Visintainer, Paul" <[email protected]>
To
"'[email protected]'" <[email protected]>
Subject
RE: st: question about hierarchical model
Date
Thu, 21 Apr 2011 17:39:41 -0400
Thanks, Joerg. That's what I suspected. Every standard model I have seen uses a Yij as the dependent variable and eij as the error term. This wouldn't be the case with a level-2 outcome. If I want to keep the teachers as the dependent variable, I'll have to collapse the student evals (mean or median)
-p
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Joerg Luedicke
Sent: Thursday, April 21, 2011 5:27 PM
To: [email protected]
Subject: Re: st: question about hierarchical model
On Thu, Apr 21, 2011 at 4:59 PM, Visintainer, Paul
<[email protected]> 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.
J.
*
* 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/
----------------------------------------------------------------------
Please view our annual report at http://baystatehealth.org/annualreport
CONFIDENTIALITY NOTICE: This e-mail communication and any attachments may contain confidential and privileged information for the use of the designated recipients named above. If you are not the intended recipient, you are hereby notified that you have received this communication in error and that any review, disclosure, dissemination, distribution or copying of it or its contents is prohibited. If you have received this communication in error, please reply to the sender immediately or by telephone at 413-794-0000 and destroy all copies of this communication and any attachments. For further information regarding Baystate Health's privacy policy, please visit our Internet site at http://baystatehealth.org.
*
* 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/