HAC standard errors explained: Newey-West procedure (Excel)

Поделиться
HTML-код
  • Опубликовано: 30 июл 2024
  • Heteroskedasticity and autocorrelation consistent standard errors (HAC) have become a staple in time series econometrics since their development by Newey and West (1987). Today we are investigating the implementation of the HAC covariance matrix, the mathematics behind it, and its optimal specification in Excel based on a simple example.
    Don't forget to subscribe to NEDL and give this video a thumbs up for more videos in Econometrics!
    Please consider supporting NEDL on Patreon: / nedleducation

Комментарии • 18

  • @NEDLeducation
    @NEDLeducation  2 года назад +2

    You can find the spreadsheets for this video and some additional materials here: drive.google.com/drive/folders/1sP40IW0p0w5IETCgo464uhDFfdyR6rh7
    Please consider supporting NEDL on Patreon: www.patreon.com/NEDLeducation

  • @miguel3h
    @miguel3h Год назад +2

    THANK YOU, this is the clearest explanation I have seen so far!!!!

  • @Juan-Hdez
    @Juan-Hdez 4 месяца назад

    Very useful. Thank you!

  • @MrMahankumar
    @MrMahankumar 2 года назад

    Hey man great!!!! This is a great topic in econometrics but i could not find any great excel resources on it. This is a great addition to my learning!!

  • @shanew8966
    @shanew8966 5 месяцев назад +1

    Hi NEDL, briliant content - just have a question, if i were to model a GARCH (1,1) model of the residual of a regression and assess HAC for the params, does the alpha and beta term from the GARCH model fall under the design matrix and can i use the same process as in the video to evaluation GARCH params? Thanks

  • @sherenahendricks9820
    @sherenahendricks9820 11 месяцев назад +1

    Very helpful, thank you.

  • @arthurrambo4219
    @arthurrambo4219 2 года назад +1

    you saved my life

  • @nguyenthang4022
    @nguyenthang4022 Год назад +1

    Great video!! But I have a little confusion. In the W formula, there is a term [T/(T-k)] multiplied to the error matrix and max function, but I did not see you multiply that [T/(T-k)] term. Thank you for this video btw

    • @tomasnobrega8087
      @tomasnobrega8087 11 месяцев назад

      He talks about it @14:38. He did not put it to make the result more intuitive, guess wouldnt change much

  • @tomasnobrega8087
    @tomasnobrega8087 11 месяцев назад +1

    You are amazing thank you very much

  • @glennadina8471
    @glennadina8471 Год назад

    Is there a way to find out corrected f-statistic through this. As t sq follows f distribution, we can calculate f-statistic through the t-statistic in simple regression model. Is there a way to do so in multiple regression as well?

  • @igorcarvalho8253
    @igorcarvalho8253 2 года назад +1

    I ussually deal with Regression analysis tools and this is a bit confusing, can you show me how to use regression to correct the serial correlation in my data? I have DW less than 2 meaning that the present of serial correlation exists!

  • @user-co7kf7cu7r
    @user-co7kf7cu7r Год назад +1

    Hello! Thank you for the amazing video! Can you tell me a paper or similar source that explains the exact formula you use for "w" in your video?

    • @NEDLeducation
      @NEDLeducation  Год назад +1

      Hi, and glad you enjoyed the video! The "W" is a weight matrix which is quite universal across all robust standard error estimators. This particular one comes from Newey and West (1987), and here is the non-paywalled working paper PDF: www.nber.org/system/files/working_papers/t0055/t0055.pdf

  • @mtiepen09
    @mtiepen09 Год назад +1

    Hi I really liked your video. I have to write about this topic for the university. Therefore, could you name me the source of the algorithm to calculate the weights? With the max() expression.

    • @NEDLeducation
      @NEDLeducation  Год назад

      Hi, and thanks for the question! The source for this approach is Newey and West (1987) - one of the most heavily cited papers in econometrics.

  • @ghulamnabi6331
    @ghulamnabi6331 2 года назад +1

    hi. plz, make a video on volatility and higher-order moments timing using mutual fund example.

    • @NEDLeducation
      @NEDLeducation  2 года назад

      Hi Ghulam, and thanks for the suggestion! I have got several video on higher-order moments and their application to investment management, for example here I discuss MVaR for performance evaluation (ruclips.net/video/qvQ4gUiC1yU/видео.html), and here I show the impact of skewness and kurtosis on investor utility (ruclips.net/video/skmYLg7vk3g/видео.html).