For most scenarios, the user does not need to call this function directly. Instead call bstr_corr() which calls this function internally.

corr_vec(X, Y)

Arguments

X

matrix of dimensions (\(N x T\)), where \(N\) = number of subjects and \(T\) = number of vertices/voxels.

Y

vector of length \(N\).