[Paper Review] ppmlhdfe: Fast Poisson Estimation with High-Dimensional Fixed Effects
ppmlhdfe provides a fast Stata implementation for Poisson regression with multiple high-dimensional fixed effects, using an optimized IRLS algorithm and robust MLE existence checks. It builds on reghdfe for efficient high-dimensional estimation.
In this paper we present ppmlhdfe, a new Stata command for estimation of (pseudo) Poisson regression models with multiple high-dimensional fixed effects (HDFE). Estimation is implemented using a modified version of the iteratively reweighted least-squares (IRLS) algorithm that allows for fast estimation in the presence of HDFE. Because the code is built around the reghdfe package, it has similar syntax, supports many of the same functionalities, and benefits from reghdfe's fast convergence properties for computing high-dimensional least squares problems. Performance is further enhanced by some new techniques we introduce for accelerating HDFE-IRLS estimation specifically. ppmlhdfe also implements a novel and more robust approach to check for the existence of (pseudo) maximum likelihood estimates.
Motivation & Objective
- Motivate Poisson pseudo-maximum likelihood (PPML) as a robust alternative for nonnegative dependent data with many zeros.
- Extend PPML to settings with high-dimensional fixed effects (HDFE).
- Leverage and adapt the reghdfe framework to enable fast nonlinear Poisson estimation with HDFE.
- Introduce robust procedures to verify existence of maximum likelihood estimates in PPML with HDFE.
Proposed method
- Use a modified iteratively reweighted least-squares (IRLS) algorithm for PPML estimation.
- Apply within-transformation (FWL) to absorb high-dimensional fixed effects and reduce dimensionality of the estimation problem.
- Embed Mata routines of reghdfe to accelerate HDFE computations and reduce number of calls to the underlying HDFE solver.
- Introduce progressive within-transformation and adaptive inner-loop convergence criteria to speed up computation.
- Incorporate methods to detect and handle separated observations to guarantee existence of MLE estimates.
Experimental results
Research questions
- RQ1How can PPML be efficiently estimated when multiple high-dimensional fixed effects are present?
- RQ2Can IRLS with within-transformation be accelerated to handle HDFE nonlinear models effectively?
- RQ3How can the existence of PPML MLE be robustly verified in high-dimensional fixed-effect contexts?
- RQ4What are the practical performance gains relative to existing nonlinear HDFE approaches?
- RQ5How does ppmlhdfe compare to other PPML/GLM tools in terms of convergence and robustness?
Key findings
- ppmlhdfe achieves substantial speed-ups by progressively within-transforming X and z and by reusing transformations across IRLS iterations.
- The method requires fewer calls to the HDFE solver, often reducing calls by 50% or more, leading to faster convergence.
- ppmlhdfe robustly detects separated observations and drops problematic observations to ensure valid MLE existence.
- The approach yields results consistent with PPML in fixed-effect settings and reproduces standard PPML outputs with absorbed fixed effects.
- Examples demonstrate robustness to separation and the ability to absorb multiple fixed effects including interactions and heterogeneous slopes.
- The command is compatible with factorial fixed effects and supports multi-way clustering and various VCE options.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.