A function used to obtain partial cross-correlation function for a give lag order
corr.lag.partial(matH, k)
Partial corss-correlation at k lags and the correlation statistics at k lags.
A matrix with multiple columns (more than 3 columns)
The lag order (integer)
Heejoon Han, Oliver Linton, Tatsushi Oka and Yoon-Jae Whang
This function obtains the partial corss-correlation and the simple correlation. To obtain the partial cross-correlation, this function uses the first column of the input matrix and k-lagged values of the rest of the matrix.