没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
多元 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. %
%
% USAGE:
% [parameters, loglikelihood, Ht, likelihoods, stdresid, stderrors, A, B, scores]
= full_bekk_mvgarch(data,p,q,options);
%
%
% INPUTS:
% data - A t by k matrix of zero mean residuals
% p - The lag length of the innovation process
% q - The lag length of the AR process
% options - (optional) Options for the optimization(fminunc)
%
% OUTPUTS:
% parameters - A (k*(k+1))/2+p*k^2+q*k^2 vector of estimated
parameteters. F
% 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)
% loglikelihood - The loglikelihood of the function at the optimum
% Ht - A k x k x t 3 dimension matrix of conditional covariances
% likelihoods - A t by 1 vector of individual likelihoods
% stdresid - A t by k matrix of multivariate standardized residuals
% stderrors - A numParams^2 square matrix of robust Standad
Errors(A^(-1)*B*A^(-1)*t^(-1))
% A - The estimated inverse of the non-robust Standard errors
% B - The estimated covariance of teh scores
% scores - A t by numParams matrix of individual scores
资源评论
阿里matlab建模师
- 粉丝: 3308
- 资源: 2784
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功