Testing for Grouped Patterns in Panel Data Models

Antonio Raiola, Nazarii Salish · 2025

Read Testing for Grouped Patterns in Panel Data Models by Antonio Raiola, Nazarii Salish (2025) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2510-22841.txt.

Introduction

Tests for common slopes may miss differences in a few units. Antonio Raiola and Nazarii Salish study that blind spot in 2025. Their setting is panel data across many units. Heterogeneity hides in a small group only. A non rejection may mean low power, not sameness.

They analyze doubly local alternatives. Few units depart, and departures shrink with sample size. Detectability depends on panel size. It also depends on group size and shrink rate. Their results tell researchers when tests inform. They also tell when tests will miss small groups. A Monte Carlo study confirms the theory. Simulations match the derived boundaries well.

Catalog record

CREATORAntonio Raiola, Nazarii Salish
YEAR2025
COLLECTIONPAPERS
FORMATTXT
FILE SIZE44 KB
VERSION1.0
LICENSEhttp://creativecommons.org/licenses/by/4.0/
RIGHTSCC BY
SOURCEarXiv

Source: https://arxiv.org/abs/2510-22841

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Testing for Grouped Patterns in Panel Data Models The authors would like to thank Miguel Delgado and Robin Lumsdaine for the helpful discussion and comments. The second author also gratefully acknowledges the financial support from Juan de la Cierva Incorporación, IJC2019-041742-I and Ramon y Cajal, RYC2023-044391-I. Antonio Raiola, Nazarii Salish Abstract While the literature on grouped patterns in panel data analysis has received significant attention, little to no results are available on testing for their presence. We propose using existing tools for testing slope homogeneity in panels for this purpose. We highlight the key advantages and limitations of the available testing frameworks under a sequence of doubly local alternatives, where slopes are divided into dominant and remainder groups, with the size of the remainder groups and the slopes differences shrinking at a certain rate as the sample size increases. A Monte Carlo study corroborate our theoretical findings. JEL classification : C13, C23, C33 Keywords : Panel Data; Grouped Patterns; Slope Heterogeneity. 1 Introduction Driven by empirical demand, the econometric literature on grouped structure in panel data has received significant attention in both econometrics and economics. Most contributions to date focus on identification, estimation, and inference for individual group membership and group-specific parameters; see, e.g., Bonhomme and Manresa 2015 , Bester and Hansen 2016 , Su et al. 2016 , Lu and Su 2017 , and Dzemski and Okui 2024 . Before estimating such structures, an applied researcher typically faces a more basic diagnostic question: is there evidence of any grouped structure in the first place? This paper propose a simple and readily implementable solution. We repurpose well-known test for slope homogeneity as diagnostics for the presence of a grouped structure, without estimating group membership or the number of groups. We show that these tests provide exactly the needed diagnostic when evaluated under appropriately designed sequences of local alternatives that encode grouped patterns, and we develop theory that clarifies when and why these tests have nontrivial power. Our approach is guided by practicality: we rely on well-known tools that are readily available in standard software. The literature on testing slope homogeneity is long-standing. A seminal starting point is Swamy 1970 ’s a test statistic, based on deviations of individual slope estimates from the pooled estimator; refinements such as Pesaran and Yamagata 2008 remain among the most widely used tools for panel data models. In parallel, several LM tests have been developed for random-coefficient models, where the null of slope homogeneity is equivalent to the variance of the random coefficients being zero. Building on Breusch and Pagan 1979 (see also Hsiao 2003 , Sec. 6.2.2.4), Juhl and Lugovskyy 2014 propose LM statistics for zero variance, and Breitung et al. 2016 further extend the methodology to empirically relevant settings. Other LM tests assess whether the regressors have predictive power for the restricted residuals under the null of slope homogeneity– Su and Chen 2013 in models with interactive fixed effects and Lu and Su 2017 , originally developed to determine the number of groups. We analyze the power of established test statistics— Pesaran and Yamagata 2008 , Su and Chen 2013 , and the LM-type test of Breitung et al. 2016 —under a sequence of doubly local alternatives designed to capture grouped patterns. These alternatives are doubly local in the sense that (i) the population is split into a dominant group and a remainder set of units (possibly partitioned into several groups), and (ii) the slope differences across groups shrink at a controlled rate. This design allows us to characterize how power depends jointly on the convergence rate of group-specific differences and the relative size of the remainder group(s). We consider this setup across several scenarios: two groups; multiple groups, where the number of groups is either fixed or increases with the cross-sectional dimension N ; and both large- N , large- T panels and large- N , fixed- T panels, where T denotes the time dimension. Our analysis yields several findings. We derive the boundaries that characterize when grouped patterns are detectable by linking the rate at which slope differences vanish, \gamma , to the size of the remainder group(s), M . In large- N , large- T panels, the boundary is governed by \gamma\asymp M^{1/2}T^{1/2}/N^{1/4} . This result nests the classical N^{1/4}\sqrt{T} rate—when M/N\to c>0 —reported in Pesaran and Yamagata 2008 , Su and Chen 2013 , and Breitung et al. 2016 , derived under analogous Pitman-drift sequences. Importantly, the tests remain informative even if M/N\to 0 , provided MT\to\infty and the boundary condition above is satisfied, making sparse grouped alternatives detectable as well. When T is fixed, detectability requires M to be on the order of \sqrt{N} or larger; below this threshold, grouped heterogeneity is undetectable. Finally, if the number of groups increases with N , detectability depends on the total number of units in the remainder groups, rather than on the sheer count of groups. A detailed analysis of each scenario is presented in Section 4 . Monte Carlo evidence in Section 5 confirm our theoretical findings. The rest of the paper is structured as follows. Section 2 introduces the model and notation. Section 3 presents the test statistics. Section 4 develops the local-power analysis under doubly local alternatives for the large- T and fixed- T cases, including multiple-group settings. Proofs are relegated to the appendix. 2 Preliminaries Consider the linear panel data model \displaystyle y_{i}=x_{i}^{\prime}\beta_{g(i)}+\epsilon_{i},\quad i=1,\ldots,N, (1) where y_{i}=(y_{i1},\ldots,y_{iT})^{\prime} is the T -dimensional vector of dependent variables for unit i ; x_{i}=(x_{i1},\ldots,x_{iT})^{\prime} is the T\times K design matrix of regressors for unit i ; and \epsilon_{i}=(\epsilon_{i1},\ldots,\epsilon_{iT})^{\prime} is the corresponding vector of idiosyncratic errors. The slope parameter, \beta_{g(i)} , is group-specific, with unknown group membership determined by the mapping g:\mathcal{N}\to\{G_{1},\ldots,G_{P}\} , where \mathcal{N}=\{1,\ldots,N\} . The function g assigns unit i to one of the P groups partitioning the sample; that is, G_{p}\cap G_{q}=\emptyset for all p\neq q , and \bigcup_{p=1}^{P}G_{p}=\mathcal{N} . We are interested in testing for the presence of a grouped structure in the slopes by means of existing slope homogeneity tests. Specifically, we study the local power of such tests against alternatives in which the slope coefficients differ across groups of individuals. The null hypothesis of identical slopes is formulated as, \displaystyle H_{0}:\beta_{g(i)}=\beta,\text{ for all }i\in\mathcal{N}, versus the alternative that there exists a group of individuals with different slopes, H_{1}:\exists\ G\subset\{1,...,N\}:\;G\neq\emptyset\;\text{and}\;\beta_{g(i)}\neq\beta_{g(j)}\;\text{for}\;i\in G\;\text{and}\;j\in\mathcal{N}\backslash G. As discussed in the introduction, a variety of well-established tests for slope homogeneity are available in the literature. To analyze their asymptotic behavior within a unified framework, we adopt a common set of assumptions sufficiently broad to capture their essential features. Throughout, C denotes a generic constant that may vary across expressions, and \#G denotes the cardinality of a generic set G\subseteq\mathcal{N} . Assumption 1 (Errors) (a) \epsilon_{it}|x_{i}\sim IID(0,\sigma^{2}_{i}) , where \max_{i}\sigma^{2}_{i}<C<\infty , \min_{i}\sigma^{2}_{i}>0 , with \epsilon_{it} and \epsilon_{js} indipendently distributed for i\neq j and t\neq s ; (b) \mathbb{E}\left[\epsilon_{it}^{6}|x_{i}\right]<C<\infty . Assumption 2 (Regressors) For all i\in\mathcal{N} : (a) \mathbb{E}|x_{it,k}|^{6}<C<\infty , for all t=1,...,T and k=1,...,K ; (b) the probability limit S_{i}=\mathop{\rm plim}_{T\to\infty}T^{-1}x_{i}^{\prime}x_{i} , is a positive definite, non-stochastic and finite matrix; (c) for any subset G\subseteq\mathcal{N} such that \#G\to\infty , the probability limit S^{(G)}=\mathop{\rm plim}_{N,T\to\infty}(\#G)^{-1}\sum_{i\in G}S_{i} is a positive definite, non-stochastic and finite matrix.

Read the complete text