Stata Tutorial: Correcting Autocorrelated Errors in OLS

Поділитися
Вставка
  • Опубліковано 11 гру 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

  • @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?

  • @aditya-dixit
    @aditya-dixit 4 роки тому +3

    As always amazing video, thank you!

  • @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.

  • @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

  • @vitaly_p
    @vitaly_p 2 роки тому

    Very helpful! Thank you!

  • @ladydija3228
    @ladydija3228 2 роки тому

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

  • @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?

  • @tsegayemulisa4143
    @tsegayemulisa4143 2 роки тому

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

  • @frostivied9239
    @frostivied9239 5 років тому

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

  • @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?

  • @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?

  • @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?

  • @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

  • @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.

  • @patronusstag
    @patronusstag 5 років тому +2

    So so helpful, thank you so much!

  • @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

  • @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!

  • @sujaanaryal6355
    @sujaanaryal6355 3 роки тому

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

  • @Dr_Shiny
    @Dr_Shiny 5 років тому

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

  • @zoozolplexOne
    @zoozolplexOne 3 роки тому

    Cool !!!

  • @JayB948
    @JayB948 5 років тому +1

    wonderful

  • @jovial129
    @jovial129 4 роки тому

    15:57