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
njc_stuff package updated on SSCThanks as ever to Kit Baum, this package has been updated on SSC. The following explanation is iden…
PSM (ATET and ATE)Hello all, I will please like an answer to this question. When calculating Average Treatment Effect…
problem with gsemHi all, I am quite new to Stata and I am trying to run a Bernoulli-logit regression with gsem builde…
coefplot : groups() option not producing desired resultsHi Stata users, I am using coefplot in Stata 15 to try and replicate the graph below where there are…
SIR models in StataDear all, I have to estimate the equations of a SIR model to project the spread of an infectious di…
Subscribe to:
Post Comments (Atom)
0 Response to help with lags and autocorrelation
Post a Comment