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: crossed 4-level linear analysis

From   Neil Shephard <>
Subject   Re: st: crossed 4-level linear analysis
Date   Tue, 12 Jul 2011 10:34:25 +0100

On Tue, Jul 12, 2011 at 10:24 AM, Hommes Juliette (EDUC)
<> wrote:
> L.S.,
> With great enthusiasm I've worked with STATA but now I've come across a problem that I cannot resolve so far. Therefore I hope you can give me a hand.
> I've collected repeated measurements (2) in two modules. Participants enrolled in the first module and were divided in groups randomly (n=30). After finishing the first module, the participants are again randomly assigned to groups (n=32). As such I've got four levels in my data structure with "crossed"data among the students/group levels: 1) Repeated measures, 2) Modules, 3) Students, 4) Groups.
> I've been using the xtmixed command, but I found that it could only be used for three levelled datasets (and/or crossed data). Do you have an idea to analyse the four levels in one model and account for the crossed nature of the data in STATA?

I'm not certain whether it can handle what you want, but you might
want to see if -gllamm- is of use here (

Within Stata you can get a description using -ssc desc gllamm-


“Truth in science can be defined as the working hypothesis best suited
to open the way to the next better one.” - Konrad Lorenz

Email -
Website -
Photos -

*   For searches and help try:

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