It is suggested to use the second-generation test for a Balanced dataset to overcomes the shortcoming of cross-sectional dependence. Now, what if the dataset is unbalanced along with the mentioned shortcoming?
The second generation of panel unit root tests aims to overcome the shortcoming of cross-sectional dependence in the first-generation tests. With regards to this, all the tests except for the Bai and Ng (2005) and Harris et al. (2005) assume that there is a unit root in the data.