Hello!!! So i am trying to choose how many lags to do, and someone helped me with some code but i don't know how to interpret it..
I have daily data for stock returns for two cities
they've looked at the PACF and ACF (code is: "ac" and "pac") as well as done:
"dfuller returns, lags(12) regress"
they also put all 12 lags in the regression, like this:
"regress returns cloud temp sunhour l(1/12).returns i.month"
How do I choose the number of lags using all this? is it with whichever has a significant p>z value ?
or do i count on the pacf or acf graph and if so do i use pacf or acf?
they also did
lmalb returns, lags(5)
please help, im stuck on this!!
Related Posts with help with lags and autocorrelation
Heckman MLE and convergence issueHello Everyone, I am currently trying to estimate a gravity model for migrations and face a problem…
Computing predictive margins (mimrgns) for gsem with random effectsDear Statalisters, I would much appreciate your help with the following problem: I am not able to …
Multiple Imputation on Panel Data - Error regarding variance-covariance matrix (EM did not converge)Dear All, I am tackling my thesis and i have panel data on around 150 companies between the years 2…
code for testing of multiple unknown structural breaksI´m using stata 16 with windows 10 OS. I want to identify multiple structural break of unknown date…
Bootstrapping or robust standard errors?Hi, I am new to stata and self-thought, so please have overlook if I have missunderstood anything. I…
Subscribe to:
Post Comments (Atom)
0 Response to help with lags and autocorrelation
Post a Comment