All Projects → sergiocorreia → ppmlhdfe

sergiocorreia / ppmlhdfe

Licence: MIT license
Poisson pseudo-likelihood regression with multiple levels of fixed effects

Programming Languages

HTML
75241 projects
Stata
111 projects
TeX
3793 projects

Projects that are alternatives of or similar to ppmlhdfe

loon
A Toolkit for Interactive Statistical Data Visualization
Stars: ✭ 45 (-2.17%)
Mutual labels:  high-dimensional-data
hdnom
Benchmarking and Visualization Toolkit for Penalized Cox Models
Stars: ✭ 36 (-21.74%)
Mutual labels:  high-dimensional-data
NBSS
The official repo of "Multi-channel Narrow-band Deep Speech Separation with Full-band Permutation Invariant Training", "Multichannel Speech Separation with Narrow-band Conformer" and "NBC2: Multichannel Speech Separation with Revised Narrow-band Conformer".
Stars: ✭ 77 (+67.39%)
Mutual labels:  separation
DiVE
An interactive 3D web viewer of up to million points on one screen that represent data. Provides interaction for viewing high-dimensional data that has been previously embedded in 3D or 2D. Based on graphosaurus.js and three.js. For a Linux release of a complete embedding+visualization pipeline please visit https://github.com/sonjageorgievska/Em…
Stars: ✭ 26 (-43.48%)
Mutual labels:  high-dimensional-data
bess
Best Subset Selection algorithm for Regression, Classification, Count, Survival analysis
Stars: ✭ 14 (-69.57%)
Mutual labels:  poisson-regression
scikit-hubness
A Python package for hubness analysis and high-dimensional data mining
Stars: ✭ 41 (-10.87%)
Mutual labels:  high-dimensional-data
Hypertools
A Python toolbox for gaining geometric insights into high-dimensional data
Stars: ✭ 1,678 (+3547.83%)
Mutual labels:  high-dimensional-data
highdim
Statistics for high-dimensional data (homogeneity, sphericity, independence, spherical uniformity)
Stars: ✭ 16 (-65.22%)
Mutual labels:  high-dimensional-data
abess
Fast Best-Subset Selection Library
Stars: ✭ 266 (+478.26%)
Mutual labels:  high-dimensional-data
CorBinian
CorBinian: A toolbox for modelling and simulating high-dimensional binary and count-data with correlations
Stars: ✭ 15 (-67.39%)
Mutual labels:  high-dimensional-data
hub-toolbox-python3
Hubness analysis and removal functions
Stars: ✭ 17 (-63.04%)
Mutual labels:  high-dimensional-data
ultimatevocalremovergui
GUI for a Vocal Remover that uses Deep Neural Networks.
Stars: ✭ 370 (+704.35%)
Mutual labels:  separation
TASNET
Time-domain Audio Separation Network (IN PYTORCH)
Stars: ✭ 18 (-60.87%)
Mutual labels:  separation
mezzala
Models for estimating football (soccer) team-strength
Stars: ✭ 23 (-50%)
Mutual labels:  poisson-regression

ppmlhdfe: Poisson pseudo-likelihood regression with multiple levels of fixed effects

GitHub release (latest by date) GitHub Release Date GitHub commits since latest release (by date) StataMin DOI

ppmlhdfe is a Stata package that implements Poisson pseudo-maximum likelihood regressions (PPML) with multi-way fixed effects, as described in Correia, Guimarães, Zylkin (2019a). The estimator employed is robust to statistical separation and convergence issues, due to the procedures developed in Correia, Guimarães, Zylkin (2019b).

Recent updates

  • Version 2.3 27jun2021: minor changes due to reghdfe's v6 update. Currently, ppmlhdfe is still using the code from reghdfe v5, which the new version ships with. A port is planned at some point in the future, but because some Mata functions changed their behavior, this needs to be done carefully.
  • Version 2.2 02aug2019: major speedups due to improved IRLS acceleration (see page 7 of the paper) and due to faster separation checks.
  • Version 2.1 04apr2019: added experimental step-halving. Not as useful for Poisson models as with other GLMs, so it's turned off by default. You can enable it by including the option use_step_halving(1). Other options you can set are step_halving_memory(0.9) and max_step_halving(2) (default values in parenthesis).

Citation

(Download BibTex file here)

As text

  • Sergio Correia, Paulo Guimarães, Thomas Zylkin: “Verifying the existence of maximum likelihood estimates for generalized linear models”, 2019; arXiv:1903.01633.
  • Sergio Correia, Paulo Guimarães, Thomas Zylkin. Fast Poisson estimation with high-dimensional fixed effects. The Stata Journal. 2020;20(1):95-115. doi:10.1177/1536867X20909691

As BibTex

@Misc{ExistenceGLM,
  Author = {Correia, Sergio and Guimar{\~a}es, Paulo and Zylkin, Thomas},
  Title = {Verifying the existence of maximum likelihood estimates for generalized linear models},
  Year = {2019},
  Eprint = {arXiv:1903.01633},
}

@article{ppmlhdfe,
  Author = {Correia, Sergio and Guimar{\~a}es, Paulo and Zylkin, Thomas},
  Title ={{Fast Poisson estimation with high-dimensional fixed effects}},
  Journal = {The Stata Journal},
  Volume = {20},
  Number = {1},
  Pages = {95-115},
  Year = {2020},
  DOI = {10.1177/1536867X20909691},
  URL = {https://doi.org/10.1177/1536867X20909691},
  eprint = {https://doi.org/10.1177/1536867X20909691}
}

References

Quick information on the command can be glanced from the help file.

For detailed information:

  • The ppmlhdfe paper explains the command in depth, provides examples, etc.
  • The paper on statistical separation discusses the crucial step of solving the separation issue, that can otherwise lead to incorrect convergence (or no convergence) in Poisson and other GLM models.

For introductory guides on separation, and on how ppmlhdfe internally address it, see the following documents:

  • Separation primer: a quick practical introduction to separation in Poisson models.
  • Separation benchmarks: shows how separation affects all common statistical packages.
  • Undocumented options: this pages briefly lists otherwise undocumented options of ppmlhdfe, which might be useful for advanced users.

Installation

ppmlhdfe requires the latest versions of ftools and reghdfe.

To install stable versions from SSC:

cap ado uninstall ftools
cap ado uninstall reghdfe
cap ado uninstall ppmlhdfe

ssc install ftools
ssc install reghdfe
ssc install ppmlhdfe

clear all
ftools, compile
reghdfe, compile

* Test program
sysuse auto, clear
reghdfe price weight, a(turn)
ppmlhdfe price weight, a(turn)

To install the latest versions from Github:

* Install ftools
cap ado uninstall ftools
net install ftools, from("https://raw.githubusercontent.com/sergiocorreia/ftools/master/src/")

* Install reghdfe
cap ado uninstall reghdfe
net install reghdfe, from("https://raw.githubusercontent.com/sergiocorreia/reghdfe/master/src/")

* Install ppmlhdfe
cap ado uninstall ppmlhdfe
net install ppmlhdfe, from("https://raw.githubusercontent.com/sergiocorreia/ppmlhdfe/master/src/")

* Create compiled files
ftools, compile
reghdfe, compile

* Check versions
ppmlhdfe, version

* Clear programs already in memory
program drop _all

* Test program
sysuse auto, clear
reghdfe price weight, a(turn)
ppmlhdfe price weight, a(turn)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].