Illumina interview question

When is a random effect model appropriate? What is the difference between state-space model and hierarchical model?