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 coe¢ cients are the same, while they may be different across different groups. The econometrician is not presumed to know the group structure. Instead, a multinomial logistic regression is used to infer which individuals belong to which groups.
The model is estimated via maximum likelihood. We prove the consistency and asymptotic normality of a global MLE under the mild assumption that the time dimension is larger than the number of regressors in the linear regression. We propose a likelihood ratio test to test the null of one group against the alternative of multiple groups. Simulation studies show that the MLE performs quite well and the likelihood ratio test has good size and power properties in finite samples.