作者qpoiuy (杀很大~~~)
站内Statistics
标题[程式] MATLAB使用mle估计
时间Tue Feb 15 17:32:06 2011
[软体程式类别]:
MATLAB
[程式问题]:
mle估计迭代过程中参数显示
[软体熟悉度]:
中(3个月到1年)
[问题叙述]:
使用mle估计时,目前会显示每次迭代过程的概似函数值
想请问大家,如果希望同时可以显示每次迭代过程的参数值时
该如何调整程式码(是调整options的部分吗?)
[程式范例]:
lb=[-intmax 0 -intmax 0 -intmax 0];
ub=[intmax intmax intmax intmax intmax intmax];
%lb和ub为参数上下限
options = statset ('MaxIter ',1000,'MaxFunEvals',1000000,...
'TolFun',10^(-100),'Display','iter' );
phat=mle(Rt,'logpdf',pdf_jd,'lower',lb,'upper',ub,...
'start',start,'options',option);
%Rt为资料,start为起始值,pdf_jd为概似函数方程式
-----------------------------------------------------------------------------
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.119.143.110
※ qpoiuy:转录至看板 MATLAB 02/15 17:33