Skip to content

Conversation

@sergiocorreia
Copy link

Hi Michael,
I realized a simple way to make hdfe+biscatter fully compatible so I decided to push it.

Changes:

  • ABSorb(varlist) instead of Absorb(varname)
  • Will use hdfe.ado instead of areg.ado if there are 2+ absorbing variables
  • Added variable to regressions when -reportreg- is on

Complete changelist:
- Allow `hdfe` option
- Absorb can be abbreviated as a(), like in areg
- Multiple absvars allowed (anything that goes in hdfe goes in here)
- Replaced local names in reportreg with more meaningful names

Pending issues:
- hdfe.ado has no -addmean- option; I need to add it so it works with
addmean here. For now, you NEED to set noaddmean if you set hdfe

Example Usage:
binscatter price weight length, absorb(foreign) controls(gear head) hdfe
noaddmean reportreg line(qfit)
1) HDFE Now works with addmean (the default option)
2) Changed Absorb to ABSorb to avoid conflict with noAddmean
3) hdfe not installed by default
uses hdfe.ado when there is more than one absvar
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant