Dear all,
I want to estimate an AR. I do so via the following commands:
ac pricedifference, lags(6) generate (ac)/*autocorrelation function*/
foreach n of numlist 1/6{
disp ac[`n']
How can I know how many lags to include? Is it just looking at the grey area from the ac graph, and only include the lags for which the points do not lie in the grey area?
Array
Related Posts with Autocorrelation
Stepped wedge cluster randomised trial analysisI was wondering if anyone could help and/or direct on how to approach the data from a stepped-wedge …
Reshape Wide to Long Data with Linked VariablesHello, I hope everyone had a nice Christmas and a good start to the New Year. I apologize in advan…
String and dummy variableI am trying to create a dummy variable that indicates whether each discharge involves readmission. I…
Duplicate cases –assign single random id to all duplicate casesI have a question about how to assign a random id to duplicate cases. I am cleaning survey data and …
rolling regression (from the very beginning) with predicted y and residuals?Dear All, I have this data set, Code: clear input int year double(inf gdp) float(inf1 gdp1) 1990 5…
Subscribe to:
Post Comments (Atom)
0 Response to Autocorrelation
Post a Comment