Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Omitted variables not being marked as such #93

Closed
NilsEnevoldsen opened this issue Apr 16, 2017 · 2 comments
Closed

Omitted variables not being marked as such #93

NilsEnevoldsen opened this issue Apr 16, 2017 · 2 comments

Comments

@NilsEnevoldsen
Copy link

. sysuse auto, clear
(1978 Automobile Data)

. gen lowrep = rep78<4

. eststo areg : qui areg price lowrep, a(rep78)

. matlist e(b)

             |         o.           
             |    lowrep      _cons 
-------------+----------------------
          y1 |         0   6146.043 

. eststo reghdfe : qui reghdfe price lowrep, a(rep78)

. matlist e(b)

             |    lowrep 
-------------+-----------
          y1 |         0 

. esttab areg reghdfe, nocons nobase noomit

--------------------------------------------
                      (1)             (2)   
                    price           price   
--------------------------------------------
lowrep                                  0   
                                      (.)   
--------------------------------------------
N                      69              69   
--------------------------------------------
t statistics in parentheses
* p<0.05, ** p<0.01, *** p<0.001

Note that areg prefixes omitted variables with o., whereas reghdfe does not.

I believe this used to work correctly.

@NilsEnevoldsen
Copy link
Author

For historical interest: #24.

@sergiocorreia
Copy link
Owner

I'm pushing a commit that should address this. Of course, we know from past experience that it's hard to get these things right, so let me know if you find anything else.

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

No branches or pull requests

2 participants