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 1,758

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-2024.png

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.

 

Register now!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags