Matrix constructed from output of the Vech Command. In other words, restore the original symmetric matrix from its half-stacking vector.

Share:

Description

Restores the symmetric matrix from the Vech command

Usage

1
VechM(vec)

Arguments

vec

A vector representing the half-stacking of a symmetric matrix

Details

This command re-construct a symmetric matrix from output of the Vech command

Value

A symmetric matrix

Author(s)

Ruey S. Tsay

References

Tsay (2014, Appendix A)

See Also

Vech

Examples

1
2
3
v1=c(2,1,3)
m1=VechM(v1)
m1

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.