using"filter" - error message for inputs 'Y0'
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
I am using the function filter to estimate portfolio returns. I get the following message when the code has to execute the function filter:
" 'Y0' is not a recognized parameter. For a list of valid name-value pair arguments, see the documentation for this function."
the code is the following:
portfolioReturns = filter(fit, bootstrappedResiduals,'V0', preSigma, 'Y0', preReturn, 'Z0', preResidual);
I have estimated a garch model with "estimate" at the beginning of the code.
Why do I get this type of error if in the documentation the input 'Y0' is reported. If I remove that input, all else equal, I get no error.
Any help?
Thanks
댓글 수: 5
답변 (2개)
Hang Qian
2016년 8월 19일
The filter method of GARCH does have a name-value pair Y0. The demo runs smoothly on my computer. If it generates that error, I guess that the FILTER function might be altered, say someone wants to customize the codes and overloads the internal function.
- Hang Qian
댓글 수: 0
Walter Roberson
2016년 8월 19일
The filter method of GARCH does not have a name-value pair for Y0. The filter method of arima does have a name-value pair for Y0
댓글 수: 1
Hang Qian
2016년 8월 19일
Oh yes, you are right. The model constructed in the demo is an ARIMA model with an EGARCH variance. So it has the name-value pair Y0. It should work in all versions of MATLAB as long as ARIMA functionalities were born.
참고 항목
카테고리
Help Center 및 File Exchange에서 Conditional Variance Models에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!