对数似然值 matlab,matlab aic准则 怎么计算对数似然值

对数似然值 matlab,matlab aic准则 怎么计算对数似然值匿名用户1级2016-11-22回答BIC需要三个inputs(LLF,numParams,numObs)*******************%AICBICAkaikeandBayesianinformationcriteriaformodelorderselection.%modelsoftheconditionalmeanandvariance…

大家好,又见面了,我是你们的朋友全栈君。

匿名用户

1级

2016-11-22 回答

BIC需要三个 inputs (LLF , numParams , numObs)

*******************

%AICBIC Akaike and Bayesian information criteria for model order selection.

% models of the conditional mean and variance to a univariate return series,

% information criteria penalize models with additional parameters, AIC and

% either AIC or BIC, models that minimize the criteria are preferred.

% [AIC , BIC] = aicbic(LLF , NumParams , NumObs)

% Optional Inputs: NumObs

% Inputs:

% values associated with parameter estimates of various models. The LLF

% or the inference function GARCHINFER. Type “help garchfit” or “help

% garchinfer” for details.

% NumParams – Number of estimated parameters associated with each value

% vector the same length as LLF. All elements of NumParams must be

% GARCHCOUNT. Type “help garchcount” for details.

% Optional Input:

% value of LLF. NumObs is required for computing BIC, but is not needed

% vector the same length as LLF. All elements NumObs must be positive

%

% AIC – Vector of AIC statistics associated with each LLF objective

%

%

% function value. The BIC statistic is defined as:

% BIC = -2*LLF + NumParams*Log(NumObs)

%example

load garchdata

[m,n]=size(dem2gbp); %[1974,1]

spec11 = garchset(‘P’,1,’Q’,1,’Display’,’off’);

garchdisp(coeff11,errors11)

format long

[AIC,BIC]

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。

发布者:全栈程序员-站长,转载请注明出处:https://javaforall.net/142488.html原文链接:https://javaforall.net

赞 (0)
全栈程序员-站长的头像全栈程序员-站长


相关推荐

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注

关注全栈程序员社区公众号