Rolling sample for a matrix
3 次查看(过去 30 天)
显示 更早的评论
Hi, I have a set of data with 2058 rows (daily observations over 5 year period) and 14 columns (14 countries). I am trying to find Diebold and Yilmaz spillover index. Now instead of using the entire matrix at once I want to check for spillover index in rolling samples. Meaning, first I want the sample to be 1 to 100 rows and 14 columns, than again the analysis will run again on 2 to 101 rows and 14 columns...and so it will go on for 2058 rows....Each time the spillover coefficients I get I will plot them......Please advise me the codes.....The data are all stock return data....
0 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Matrix Decomposition 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!