Skip to content
Prev 76875 / 398502 Next

Doubt about nested aov output

On 9/8/05, Ken Knoblauch <knoblauch at lyon.inserm.fr> wrote:
I prefer to have a grouping factor constructed with unique levels for
each distinct unit.  The only reason I mention constructions like
Treatment:Rat in the original part of this thread is that data are
often provided in that form.

Reusing "subject" labels within another group is awkward and can be
error prone.  One of the data sets I examine in the MlmSoftRev
vignette of the mlmRev package is called Exam and has student
identifiers within schools.  The student identifiers are not unique
but the school:student combination should be.  It isn't.  These data
have been analyzed in scores of books and articles and apparently none
of the other authors bothered to check this.  There are some
interesting ramifications such as some of the schools that are
classified as mixed-sex schools are likely single-sex schools because
the only student of one of the sexes in that school is apparently
mislabelled.

BTW, in your example you have only one observation per level of 'obs'
so you can't use obs as a grouping factor as this variance component
would be completely confounded with the per-observation noise.