For real random vectors and with finite second moments, their cross-covariance matrix collects the covariances between the two sets of coordinates:
It has size , and exchanging the two vectors transposes it: . Unlike a covariance matrix of a vector with itself, a cross-covariance matrix need not be square or symmetric.
For an original construction, let centered independent random variables have variances1and4, and put
Linearity of covariance gives
The second entry contains a negative contribution from , although the total is positive. Also and
This joint covariance matrix is positive semidefinite. That restriction couples its diagonal and off-diagonal blocks; an arbitrary rectangular matrix cannot be combined with arbitrary within-vector covariances to produce a valid joint model.
For fixed real matrices and constant vectors , direct substitution into the definition gives
This identity propagates shared input fluctuations through two different linear readouts, for example when assessing shared calibration error.
From independent identically distributed paired observations, the usual unbiased estimate is
The pairing must be preserved: independently shuffling the second set changes the estimated association. NIST's multivariate tutorial gives the coordinate sample-covariance formula and its assembly into a covariance matrix; the rectangular formula above is the block joining the two chosen coordinate groups.[ref]

Articles by others on the same topic (1)

The cross-covariance matrix is a statistical tool that captures the covariance between two different random vectors (or random variables). Specifically, it quantifies how much two random variables change together. Unlike the covariance matrix, which involves the variances of a single random vector, the cross-covariance matrix deals with the relationships between different vectors.