Page 1 of 1
Cross-correlation matrix
Posted: Thu Jun 05, 2014 7:16 am
by Gilbril
Dear Tom, I do want to plot a cross-correlation matrix with size n x n. I know there is the command vcv, which only computes covariances. Is there command simular to vcv which computes a cross-correlation matrix ?
thanks in advance
Re: Cross-correlation matrix
Posted: Thu Jun 05, 2014 7:21 am
by TomDoan
Gilbril wrote:Dear Tom, I do want to plot a cross-correlation matrix with size n x n. I know there is the command vcv, which only computes covariances. Is there command simular to vcv which computes a cross-correlation matrix ?
thanks in advance
Use
vcv
# list of series
compute r=%cvtocorr(%sigma)
to get the correlation matrix corresponding to VCV.