(完整 word 版)GARCH 模型在 Matlab 中的实现
function [parameters, loglikelihood, Ht, likelihoods, stdresid, stderrors, A, B,
scores] = full_bekk_mvgarch(data,p,q, BEKKoptions);
% PURPOSE:
To Estimate a full BEKK multivariate GARCH model. %
[parameters, loglikelihood, Ht, likelihoods, stdresid, stderrors, A, B,
scores] = full_bekk_mvgarch(data,p,q,options);
— A t by k matrix of zero mean residuals
— The lag length of the innovation process
- The lag length of the AR process
— (optional) Options for the optimization(fminunc)
— A(k*(k+1))/2+p*k^2+q*k^2 vector of estimated parameteters.
or any k^2 set of Innovation or AR parameters X,
reshape(X,k,k) will give the correct matrix
To recover C, use ivech(parmaeters(1:(k*(k+1))/2)
评论0
最新资源