Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Output the Newey-West Adjusted t-values while Using the Command 'Reghdfe'

    I am currently conducting two-way fixed effects regressions using the 'Reghdfe' command and I am particularly interested in obtaining the Newey-West adjusted t-values for these analyses. However, I have encountered an issue with the implementation of the Newey-West adjust option.

    The help documentation suggests using 'vce(,bw(13))', but when I attempt to apply this option, I receive the following error message: "VCE options not supported: bw(13)". I am seeking guidance on how to correctly implement the Newey-West adjustment with a bandwidth of 13 lags.

    Could you please advise on the appropriate syntax or alternative methods to achieve the desired Newey-West adjusted t-values?

    Here is an example of the code I am using:

    reghdfe y x1 x2, absorb(i t) vce(cluster clustvar)

    I would greatly appreciate any assistance you can provide. Thank you in advance for your time and expertise.
    Last edited by Victor Jiang; 28 Jun 2024, 04:02.

  • #2
    Try ivreghdfe from https://github.com/sergiocorreia/ivreghdfe instead.

    Comment

    Working...
    X