Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Vech

Half-Stacking Vector of a Symmetric Matrix


Description

Obtain the half-stacking vector of a symmetric matrix

Usage

Vech(mtx)

Arguments

mtx

A symmetric matrix

Details

Stacking a matrix into a vector using data on and below the diagonal.

Value

a vector consisting of stacked elements of a symmetric matrix

Author(s)

Ruey S. Tsay

Examples

m1=matrix(c(1:9),3,3)
m2=(m1+t(m1))/2
v1=Vech(m2)

MTS

All-Purpose Toolkit for Analyzing Multivariate Time Series (MTS) and Estimating Multivariate Volatility Models

v1.0
Artistic License 2.0
Authors
Ruey S. Tsay and David Wood
Initial release
2018-10-8

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.