BookmarkSubscribeRSS Feed
niam
Quartz | Level 8

Hello;

I have an unbalanced panel dataset which consists of 434 observations of about 300 companies over 6 years. Among these companies, 197 of them only appear once in my dataset. The remaining companies appear at least twice in different time periods.

I know that PROC PANEL requires each cross sectional observation to appear at least in two different time periods and thus the 197 companies in my dataset which only appear once, can not be used in PROC PANEL. One of m colleagues suggested that instead of dropping those 197 observation, I run a random effects model with PROC MIXED. I am not sure if PROC MIXED has the same requirement for panel data regressions. Would you please let me know if I can retain those 197 companies and use PROC MIXED to run a random effects model with it? If yes, what is the rationale behind it? Why it is possible to use those observations in PROC MIXED and not PROC PANEL?

1 REPLY 1
ZL888
Calcite | Level 5
Hi Niam, I am interested in learning more about the differences in random effect modeling under these two procedures as well. Did you find out the answer to your initial question? Thanks!

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

What is Bayesian Analysis?

Learn the difference between classical and Bayesian statistical approaches and see a few PROC examples to perform Bayesian analysis in this video.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

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