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
Bug in Mata's st_view() function with time-series operators?I experienced an unexpected behavior of Mata's st_view() function. In the following, I want to obtai…
Split a numeric variableHi, I have a variable called "bslstart" in which the format is: 01 Jan 16 01 Dec 15 01 Sep 14 I w…
Is multiple imputation possible with gllamm?Hi, I am using the gllamm command, a user generated command for multilevel models. I am wondering i…
Generating a dummy variable if a household has a migrant or not.I have household survey on data including variables 'HouseholdID' containing an ID number unique to…
Do logs modify the correlation between two variables?Dear Statalists, I am applying logs to two variables: Code: gen In_Arg_X_Bra=ln(Arg_X_Bra+1) gen…
Subscribe to:
Post Comments (Atom)
0 Response to Autocorrelation
Post a Comment