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
xtreg adjusted for heteroskedasticiy and firm-level clusteringHello, I have unbalanced panel data (74 companies with a total of 800 observations over 18 years). …
graph editingI created the attached data file from data on the web. I typed:: hbar pctdiff,l(name) using Nick C…
problem with reshape: no xij variables foundHi, I am trying to reshape the below dataset but I got an error: no xij variables found. Thanks for …
using asdoc command when we have loop commandhello, I use this code in terms of the effect the tariff on output , trade balance, exchange rate. I…
Propensity Score Matching Panel DataHello, I am looking to analyse the change (if any) in the political opinion of an individual after t…
Subscribe to:
Post Comments (Atom)
0 Response to help with lags and autocorrelation
Post a Comment