Skip to content

Feature parity with Wooldridge and other packages #6

@azev77

Description

@azev77

Wooldridge tweeted that every econometrics package should come with the following options for standard errors for virtually every command:

  • Robust to allow complete model misspecification of the modeled parts.
  • HAC to allow for unmodeled time series correlation.
  • Cluster to allow serial correlation in panels and cluster sampling/clustered assignment generally.
  • Driscoll-Kraay to allow unmodeled serial correlation in large-T panels as well as cross-sectional correlation.
    @PaulSoderlind has https://github.com/PaulSoderlind/PaulSoderlindCode/tree/master/DriscollKraay
  • Spatial HAC to allow unmodeled spatial correlation in the cross-sectional dimension (requires a cross-sectional ordering of the data).
  • Spatial HAC with clustering to allow for any kind of serial correlation and cross-sectional spatial correlation (small T).

"In Stata, I'd like to type things like"
glm y x1 ... xK, fam(logit) vce(hac nw 4)
xtpoisson y x1 ... xK, fe vce(shac lat(Lx) long(Ly) dist(50))
qreg y x1 ... xK, q(.25) vce(dk 4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions