My study is to compare panel data estimators in the case of common and heterogeneous structural breaks. At the last stage, I wrote a code snippet to measure the power of the FE estimator, but I am unsure if the code is correct. In terms of the accuracy of my code, I need to connect with someone who has experience in panel data simulation. I would be happy if anyone would like to collaborate.