=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

Re: Problem with Linear Mixed in Nested QED

Bill,

The two RANDOM statement are redundant in model 1. The first statement is estimating student random effects, and the second statement is also specifying student random effects. (I assume student ID is not nested in school ID. In other words, there are unique values for student ID across school IDs.)

Model 2 is correctly specifying student and school random effects. You might be able to reduce the computational burden necessary to fit model 2 by having student IDs nested within school IDs. In other words, the student IDs should be integers starting at 1 through n number of students in school 1, the student IDs should be integers starting at 1 through n number of students in school 2, and so on.

If you have to choose one random effect term to account for, it’s generally preferable to account for the lower level random effect term (student) rather than the upper level (school).

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
SIGNOFF SPSSX-L
For a list of commands to manage subscriptions, send the command
INFO REFCARD