Stata Tutorial: Correcting Autocorrelated Errors in OLS

Поделиться
HTML-код
  • Опубликовано: 24 ноя 2024

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

  • @humanparaquat69
    @humanparaquat69 3 года назад +6

    I use this channel all the time when doing my econometrics assignments at the university of amsterdam. Thanks a lot!

  • @siyavashmonajem8719
    @siyavashmonajem8719 4 года назад +1

    I had a project for estimating the function of money demand in Iran, because my data were time series so I had Auto - correlation problem and I wasn't able to fix it, but when I saw this video I fixed my project. I just wanted to say thank you so much Mike! keep going :)

  • @venuskaraitiana
    @venuskaraitiana 5 лет назад +1

    This is literally getting me through my last minute study session. Thank you for your step-by-step easy to follow videos!

  • @chetnabhagat5472
    @chetnabhagat5472 4 года назад

    This is extremely helpful sir, thanks a lot! The intuitive explanations that you give side by side help in making concepts clear and easily comprehensible

  • @aditya-dixit
    @aditya-dixit 4 года назад +3

    As always amazing video, thank you!

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

    Very helpful! Thank you!

  • @MdSalaUddin-ud7yf
    @MdSalaUddin-ud7yf 5 лет назад +2

    Hi, I Have tried to follow you but I can not go father because,
    1) reg e2hat 1.e2hat
    e2hat: factor variables may not contain noninteger values
    r(452);
    And in second way,
    2)Durbin-Watson statistic (original) 0.585531
    Durbin-Watson statistic (transformed) 2.992524
    convergence not achieved
    r(430);
    Could you please explain me, why I am facing these problem. Thanks!

  • @ywang1801
    @ywang1801 4 года назад +4

    Hi Mike, thanks for the video! May I ask how can we determine the number of lags when using the newey-west test?

  • @patronusstag
    @patronusstag 5 лет назад +2

    So so helpful, thank you so much!

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

    Thanks a lot.
    But how do you check for autocorrelation for logistic regression and how do you solve for the autocorrelation if it exists in logistic regression

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

    Please how can we run the prais winsten regression for correcting autocorrelated errors and heteroscedasticity in the same time ?

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

    thanks! but what about longitudinal panel data to fix such problem??

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

    Thanks for the video. But how to interpret the coeficients in first-difference and generalized difference? I noted that these coeficients are different from the coeficient derived from OLS and newey-west.

  • @frostivied9239
    @frostivied9239 5 лет назад

    Hello, thanks for the tutorial. I wonder if this is applicable to panel data?

  • @JayB948
    @JayB948 5 лет назад +1

    wonderful

  • @sujaanaryal6355
    @sujaanaryal6355 3 года назад

    Generalized Least Squares was a bit unclear (especially with the formula), rest looks awesome as always. :))

  • @liangchengwengchen111
    @liangchengwengchen111 4 года назад

    Hey, Mike. Thanks for the video! but what happens when rho is negative e.g."-0.2"? However, it helped me to fix the negative autocorrelation from 2.3 to 1.985

  • @mathiasgrunenberg443
    @mathiasgrunenberg443 4 года назад

    Helllo Sir :) I wanted to ask you how I check the autocorrelation once I used the HAC standard errors... when I write the command estat dwatson right after the newey regression... its doesnt give me any number?

  • @zoozolplexOne
    @zoozolplexOne 3 года назад

    Cool !!!

  • @qualitya407
    @qualitya407 5 лет назад

    HI dear Jones. the question is: which one of these methods is better for all kind of autocorrelation model such ARMA and ARIMA......???
    and can you proposed me a reference to study the robust st..... model?

  • @fatihaarar5770
    @fatihaarar5770 3 года назад

    Good evening sir, I want to ask you, I have estimated the panel models and I did the Breusch-Pagan LM and F test I found that the PRM aggregate regression model is suitable and when I checked the autocorrelation I found that there is autocorrelation between the errors How do I correct this autocorrelation

  • @saber5543
    @saber5543 5 лет назад

    Hi,
    Thanks for the video. I came up with some questions. I am working with a time series dataset, and I have nonstationary variables, all I(1). there are also heteroskedasticity and autocorrelation issues as well as non-normal distribution in the error term. I know all of these are weird, but would you give me some hint about how I can deal with these issues?
    (1) how can I double-check whether my data's Autocorrelation issue is solved after using newey command?
    (2) What is the test and correction for autocorrelation for I(1) variables?
    (3) what are the steps in my case? I mean, do I need to correct the nonnormality then check the stationary?
    Thank you very much.

  • @rabihel-habta313
    @rabihel-habta313 5 лет назад

    Amazing! Have onenuqestion though since we're working in a time series context why you didn't test for stationarity before regressing variables?

  • @FrentescuMario
    @FrentescuMario 4 года назад

    What if after applying the First Difference Correction the r squared value is way lower, to 19% from 52%? Is the model stil Valid?

  • @mariaelisadallaverita5434
    @mariaelisadallaverita5434 4 года назад

    Thank you for the videos! They are helping me writing my final master dissertation. Although, I have a question, how can I choose the optimal lags when using Newey and West? Thank you!

    • @mikejonaseconometrics1886
      @mikejonaseconometrics1886  4 года назад

      You will need to establish the order of the autoregressive process for the residuals, which technically requires the Box-Jenkins specification process and the autocorrelation and partial autocorrelation functions. An approximation can be achieved by running a regression of the residual on the first two lags, and if both lags are significant, it's likely an AR(2), and a second lag should be used in the newey-west calculation.

    • @mariaelisadallaverita5434
      @mariaelisadallaverita5434 4 года назад +1

      @@mikejonaseconometrics1886 Many thanks for the help!

  • @Dr_Shiny
    @Dr_Shiny 5 лет назад

    But the R^2 for all these solutions are very low. How to justify this Sir?

  • @jovial129
    @jovial129 4 года назад

    15:57