variance-covariance matrix EWMA

2 ビュー (過去 30 日間)
Michela
Michela 2016 年 4 月 15 日
編集済み: charles alexander 2020 年 11 月 21 日
Hi, I have used the code tsmovavg to calculate the exponentially weighted moving average, but now I need to calculate its variance covariance matrix. Is there somone that can explain me how I can do it? By considering, also, that my variable is a 143*14 matrix, then I need that the variance covariance matrix will be a 14*14*143. Thank you for your help.

回答 (1 件)

charles alexander
charles alexander 2020 年 11 月 21 日
編集済み: charles alexander 2020 年 11 月 21 日
it is simple, the matrix is distributive.
a(bk)=ab(K). the variable k is 14.
i suggest this matrix;
{a1n a2n a10} by {a6 a10} by {1 1}
{a1 a2 a5} {1 1} {1 sigma 50}.
these reduces the matrix to an equivalent cofactors to determine the
associated elements.

カテゴリ

Help Center および File ExchangeCreating and Concatenating Matrices についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by