How to assign weights to returns when using the WHS method in matlab?

3 次查看(过去 30 天)
Can someone please explain to me how I can assign weights to returns in Matlab? I'm using the η τ ={ηt-1 (1- η)/1- ηm} formula with η=0.99 and N=250. The sum of the weights has to be 1 and the most recent returns have a higher weight than the returns that are more in the past. Please can someone help me because I have no clue what to do and it is for my end project of my study..
Thanks in advance,
Michiel

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Language Fundamentals 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by