Sorry for the noise. I placed the comment at the wrong line. 

I think it would better to let lags be an AbstractVector{Int}. Then you are free to select a few lags. This comment applies to all functions.