This paper proposes and implements a tractable approach to detect group structure in panel data. The mechanism works by means of a panel structure model, which assumes that individuals form a number of homogeneous groups in a heterogeneous population. Within each group, the (linear) regression...