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?
Don't miss out on SAS Innovate - Register now for the FREE Livestream!
Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.
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.