BookmarkSubscribeRSS Feed
TWebb22
Fluorite | Level 6

Hello, I've been attempting to put a simple panel model together with an unbalanced data set and when I request the BP option for the Breusch-Pagan one-way test for random effects I receive the following warning:

 

WARNING: The Breusch-Pagan test is not supported for unbalanced panel data and will not be performed.

 

Is there any way around this warning?  It seems that an unbalanced panel would be pretty common and the BP test is more or less a requirement for Panel Data models

 

Thanks for the help!

1 REPLY 1
pink_poodle
Barite | Level 11

It is possible to perform a BP test on unbalanced data using STATA:

If you have unbalanced panel data you can perform the Breusch-Pagan LM test with the xttest1 command [1].

  

However, it seems to be impossible in PROC PANEL using SAS:

 In the case of unbalanced panels, neither the BP nor BP2 statistics are valid [2].

 

References 

 

[1] Breuch-Pagan test in STATA for unbalanced data

[2] PROC PANEL: Specifications Tests

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 1 reply
  • 3015 views
  • 0 likes
  • 2 in conversation