apaPartialAutoCorrel(Returns, Lag, DoNotShowConfidenceBandsOtherwiseShow)
Excel
=apaPartialAutoCorrel(Returns, Lag, DoNotShowConfidenceBandsOtherwiseShow)Result
Returns the partial autocorrelation coefficients up to a certain lag, optionally with approximate 95% confidence bands ±2/√n, where n is the number of observations.
Syntax
Returns: n x 1 time series vector
Lag: maximum lag to shift the data
DoNotShowConfidenceBandsOtherwiseShow: optional; TRUE (default) to return the coefficients only, FALSE to add the lower and upper confidence bands in the last two columns.
Remarks
More than one time series can be processed.
