The equivalent "vech" function in Gauss or elsewhere in the econometrics textbook, especially in Lutkepohl (2005) as well as Kilian & Lutkepohl (2017) SVAR.
It merely returns the elements on and below the diagonal, then stacks column-by-column. There is another function "vechmd" in the community dealing with 3 or 4-dimensional matrix, but I think it should be the original one for ease to code VAR/SVAR estimation.
引用
BINH PHAM (2024). vech function (https://www.mathworks.com/matlabcentral/fileexchange/66077-vech-function), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R14
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
Help Center および MATLAB Answers で Statistics and Machine Learning Toolbox についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |