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, statalist.org is already up and running.


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

RE: st: question about hierarchical model


From   "Visintainer, Paul" <Paul.Visintainer@baystatehealth.org>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
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: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Joerg Luedicke
Sent: Thursday, April 21, 2011 5:27 PM
To: statalist@hsphsun2.harvard.edu
Subject: Re: st: question about hierarchical model

On Thu, Apr 21, 2011 at 4:59 PM, Visintainer, Paul
<Paul.Visintainer@baystatehealth.org> 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/


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