Skip to content
Prev 19584 / 20628 Next

Grouping variables technically suitable for modeling

Dear Ben,

Thank you for sharing the references regarding my first question.

Regarding my second question, I simply mean if we have say ID1 and ID2,
then for ID2 to be distinguishably nested in ID1, it needs to have a
different unique categories relative to those of ID1.

For example, if ID1 has 120 unique categories and ID2 has 130
unique categories nested in ID1, then the variance components for ID1 and
ID2 are not distinguishable from each other. As a result, only one of them
can be added as a random effect; either (1 | ID1) or (1 | |ID2), but not (1
| ID1/ID2).

Is this correct and is there a published reference confirming or
disconfirming this?

Thanks,
Tim M
On Mon, Nov 8, 2021 at 7:35 PM Ben Bolker <bbolker at gmail.com> wrote: