Stata Tutorial: Correcting Autocorrelated Errors in OLS

  Рет қаралды 26,047

Mike Jonas Econometrics

Mike Jonas Econometrics

Күн бұрын

Пікірлер: 31
@humanparaquat69
@humanparaquat69 3 жыл бұрын
I use this channel all the time when doing my econometrics assignments at the university of amsterdam. Thanks a lot!
@siyavashmonajem8719
@siyavashmonajem8719 4 жыл бұрын
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 жыл бұрын
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
@ladydija3228
@ladydija3228 2 жыл бұрын
Please how can we run the prais winsten regression for correcting autocorrelated errors and heteroscedasticity in the same time ?
@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
@MdSalaUddin-ud7yf
@MdSalaUddin-ud7yf 5 жыл бұрын
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!
@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.
@aditya-dixit
@aditya-dixit 4 жыл бұрын
As always amazing video, thank you!
@mikejonaseconometrics1886
@mikejonaseconometrics1886 4 жыл бұрын
Thank you, Aditya - Hope you are doing well!
@ywang1801
@ywang1801 4 жыл бұрын
Hi Mike, thanks for the video! May I ask how can we determine the number of lags when using the newey-west test?
@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?
@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
@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?
@patronusstag
@patronusstag 5 жыл бұрын
So so helpful, thank you so much!
@frostivied9239
@frostivied9239 5 жыл бұрын
Hello, thanks for the tutorial. I wonder if this is applicable to panel data?
@qualitya407
@qualitya407 6 жыл бұрын
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?
@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.
@vitaly_p
@vitaly_p 3 жыл бұрын
Very helpful! Thank you!
@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
@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 жыл бұрын
@@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?
@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?
@sujaanaryal6355
@sujaanaryal6355 3 жыл бұрын
Generalized Least Squares was a bit unclear (especially with the formula), rest looks awesome as always. :))
@zoozolplexOne
@zoozolplexOne 3 жыл бұрын
Cool !!!
@JayB948
@JayB948 5 жыл бұрын
wonderful
@mikejonaseconometrics1886
@mikejonaseconometrics1886 5 жыл бұрын
Thanks!
@jovial129
@jovial129 4 жыл бұрын
15:57
Stata Tutorial: Testing for Autocorrelation Pt. 1
14:30
Mike Jonas Econometrics
Рет қаралды 45 М.
Stata Tutorial: Fixing Heteroskedasticity in OLS
25:16
Mike Jonas Econometrics
Рет қаралды 27 М.
СИНИЙ ИНЕЙ УЖЕ ВЫШЕЛ!❄️
01:01
DO$HIK
Рет қаралды 3,3 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 15 МЛН
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
Econometrics Lecture: Autocorrelation Part 1
27:31
Mike Jonas Econometrics
Рет қаралды 4,2 М.
Stata Tutorial: Intro Data Cleaning with Panel Data
22:07
Mike Jonas Econometrics
Рет қаралды 42 М.
OLS Multicollinearity Issues in Stata
16:30
Mike Jonas Econometrics
Рет қаралды 21 М.
Stata Tutorial: Nonlinear Transformations
23:18
Mike Jonas Econometrics
Рет қаралды 15 М.
Stata Tutorial: Hausman-Taylor Panel Regression
14:25
Mike Jonas Econometrics
Рет қаралды 14 М.
Covariance, Clearly Explained!!!
22:23
StatQuest with Josh Starmer
Рет қаралды 579 М.
Post estimation tests of Panel data using Stata: VIF: Serial Correlation: heteroskedasticity
14:20
Dr. Rahman's Academic Research Methods
Рет қаралды 11 М.
Stata Tutorial: Basic Panel Regression
19:10
Mike Jonas Econometrics
Рет қаралды 21 М.