楼主: 角系数
1364 0

[实际应用] 关于Copula-garch模型,matlab中变量代入问题 [推广有奖]

  • 0关注
  • 0粉丝

本科生

7%

还不是VIP/贵宾

-

威望
0
论坛币
3096 个
通用积分
27.0000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
3749 点
帖子
4
精华
0
在线时间
147 小时
注册时间
2015-7-27
最后登录
2024-9-21

楼主
角系数 发表于 2016-5-12 00:35:22 |AI写论文
20论坛币
function [LogL, LL, varargout] = CopulaGARCHLogL(theta,data,spec,solver)

if nargin == 3
    solver = 'fmincon';
end
if strcmp(solver,'fminunc')==1
    % the input vector theta should be unconstrained
    % but the log likelihood accepts only constrained parameters
    %theta = RescaleParameters(theta, 1, spec);
    % thus the initial theta is transformed to the corresponding
    % constrained theta
end
T = size(data,1);
n = spec.size;
m = spec.vecsize;
mtheta = theta(1:n*m); mtheta = reshape(mtheta,[m,n]);
ctheta = theta(n*m+1:end);
mLogL = zeros(1,n); mLL = zeros(T,n); ht = mLL; stdRes = mLL; udata = mLL;

不知道要代入那些数据。。matlab新手

关键词:GARCH模型 ARCH模型 Copula MATLAB opula matlab 模型

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-21 09:17