BookmarkSubscribeRSS Feed
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!

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].




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

[2] PROC PANEL: Specifications Tests

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!
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
  • 2 in conversation