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!