Eva Huang

Nested or crossed random effect

I had this question when I was taking the Designing, Running, and Analyzing Experiments Coursera Course. So what is the difference between nested and crossed random effect and why do we care?

Refresher: What is random effect v.s. fixed effect?

In biostatistics, which is my academic background, the fixed effect is simply the population average, while random effect is the subject specific effects. According to Wiki,

A mixed-effects model (class III) contains experimental factors of both fixed and random-effects types, with appropriately different interpretations and analysis for the two types. The analysis of the data is different, depending on whether the factor is treated as fixed or as random. Consequently, inferences may be incorrect if the factor is classified inappropriately. Mistakes in classification are most likely to occur when there is more than one factor in the study.

For example, if we would like model the valuation of CLIP (credit line increase program) under different credit lines using mixed-effect model. The customer’s segment, credit score etc. will be the random effect, while the credit line increase amount would be the fixed effect we cared about.

Then: What is crossed and nested random effect?

Some answer can be found here

Finally: Why do we care?

If two factors are crossed, you can calculate an interaction. If they are nested, you cannot because you do not have every combination of one factor along with every combination of the other, which is important to consider when testing for the significance of online experiments.


Share this: