resid_covariance: Residuals Covariance Matrix

View source: R/resid_covariance.R

resid_covarianceR Documentation

Residuals Covariance Matrix

Description

Given an array of matrices, it calculates the residual covariance matrix between column i=1,...,K of the first matrix of the array against column(s) $i=1,...,K of 2,..,k>=2$ matrices of the same array.

Usage

resid_covariance(data_array, k)

Arguments

data_array

the array containing the different matrices

k

the last column considered for calculating residuals

Value

the residual covariance matrix


Marga8/HDGCvar documentation built on May 25, 2024, 11:12 a.m.