BookmarkSubscribeRSS Feed

A SAS Macro for Estimation of Unbalanced Panel Data Models with Two Fixed Effects

Started ‎08-25-2014 by
Modified ‎04-04-2022 by
Views 3,113

This work aimed at presenting a faster general algorithm for estimation
of panel data models with two fixed effects, when it is compared with PROC
PANEL, working with balanced or unbalanced data. The results by simulation
showed that until with a large data base (50,000 observations) only a few
seconds were necessary for estimation, while in the PROC PANEL, the estimation
wasn’t possible due to out of memory. You can find more details on paper SGF 354-2011

http://support.sas.com/resources/papers/proceedings11/354-2011.pdf

Comments

It's great that you have adressed this problem with unbalanced data set. But this macro only estimate a Two-way fixed effects. If I want to perform a one-way random effects estimation with an unbalanced panel I still run into the problem of trying to estimate a too large set of individual dummiy variables.

Do you or anyone else know how to perform a one-way random effects with N>50000 and T between 2 and 7 (i.e. a large unbalanced panel)?

Kind regards

Joakim

Version history
Last update:
‎04-04-2022 03:16 PM
Updated by:

sas-innovate-white.png

Special offer for SAS Communities members

Save $250 on SAS Innovate and get a free advance copy of the new SAS For Dummies book! Use the code "SASforDummies" to register. Don't miss out, May 6-9, in Orlando, Florida.

 

View the full agenda.

Register now!

SAS AI and Machine Learning Courses

The rapid growth of AI technologies is driving an AI skills gap and demand for AI talent. Ready to grow your AI literacy? SAS offers free ways to get started for beginners, business leaders, and analytics professionals of all skill levels. Your future self will thank you.

Get started

Article Tags