Skip to content
Prev 10467 / 63424 Next

pacf lags

Looking even more carefully, it seems both sampleT and the lag.max 
correction for nser need to be fixed:

    sampleT <- if (is.matrix(x)) nrow(x) else length(x)
    if (is.null(lag.max)) lag.max <- floor(10 * 
             (log10(sampleT) - if (is.matrix(x)) log10(ncol(x)) else 0))


Paul Gilbert
Paul Gilbert wrote: